ClawVault
Commands

task

Manage tasks as markdown files in your vault

The task command lets you create, track, and complete work items stored in your vault's tasks/ folder.

Usage

clawvault task add <title> [options]
clawvault task list [options]
clawvault task update <slug> [options]
clawvault task done <slug> [options]
clawvault task show <slug> [options]

task add options

FlagDescriptionDefault
-v, --vault <path>Vault pathNearest vault
--owner <owner>Task ownernone
--project <project>Project namenone
--priority <priority>Priority (critical, high, medium, low)low
--due <date>Due date (YYYY-MM-DD)none
--tags <tags>Comma-separated tagsnone
--description <text>One-line task summarynone
--estimate <estimate>Time estimate (e.g. 2h, 1d, 1w)none
--parent <slug>Parent task slug (for subtasks)none
--depends-on <slugs>Comma-separated dependency slugsnone

task list options

FlagDescriptionDefault
-v, --vault <path>Vault pathNearest vault
--owner <owner>Filter by ownerall
--project <project>Filter by projectall
--status <status>Filter by status (open, in-progress, blocked, done)all non-done
--priority <priority>Filter by priorityall
--due <date>Filter by due date (YYYY-MM-DD)all
--tag <tag>Filter by tagall
--overdueShow only overdue tasksfalse
--jsonOutput as JSONfalse

task update options

FlagDescriptionDefault
-v, --vault <path>Vault pathNearest vault
--status <status>New status (open, in-progress, blocked, done)unchanged
--owner <owner>New ownerunchanged
--project <project>New projectunchanged
--priority <priority>New priorityunchanged
--blocked-by <text>Blocker reason or dependencyunchanged
--due <date>New due date (YYYY-MM-DD)unchanged
--tags <tags>Comma-separated tagsunchanged
--description <text>One-line task summaryunchanged
--estimate <estimate>Time estimate (e.g. 2h, 1d, 1w)unchanged
--parent <slug>Parent task slugunchanged
--depends-on <slugs>Comma-separated dependency slugsunchanged

task done options

FlagDescriptionDefault
-v, --vault <path>Vault pathNearest vault

task show options

FlagDescriptionDefault
-v, --vault <path>Vault pathNearest vault
--jsonOutput as JSONfalse

Examples

# Add a task
clawvault task add "Ship onboarding flow" --priority high --project growth --owner sam

# Add a task with enriched fields
clawvault task add "Write API docs" --due 2026-02-20 --tags "docs,v2" --estimate 4h --parent ship-onboarding-flow

# Add a task with dependencies
clawvault task add "Deploy staging" --depends-on "write-api-docs,fix-auth-bug" --priority critical

# List active tasks for a project
clawvault task list --project growth

# List tasks with due dates (sorted by due date)
clawvault task list --due

# List overdue tasks
clawvault task list --overdue

# Filter by tag
clawvault task list --tag docs

# Mark a task as blocked with reason
clawvault task update ship-onboarding-flow --status blocked --blocked-by "waiting for legal review"

# Update enriched fields
clawvault task update write-api-docs --estimate 6h --tags "docs,v2,priority"

# Complete a task
clawvault task done ship-onboarding-flow

# Show full task details as JSON
clawvault task show ship-onboarding-flow --json

Enriched Task Fields

v2.4.6

Tasks support additional frontmatter fields for richer project tracking:

FieldDescriptionExample
dueDue date in YYYY-MM-DD format2026-02-20
tagsArray of string tags["docs", "v2"]
descriptionOne-line summary of the task"Update CLI reference for new flags"
estimateTime estimate"2h", "1d", "1w"
parentSlug of a parent task (subtask relationship)"ship-onboarding-flow"
depends_onArray of task slugs this task depends on["write-api-docs", "fix-auth-bug"]

These fields appear in task show output and are used by the kanban command when generating board cards.

Filtering with Enriched Fields

The task list command supports three filters based on enriched fields:

  • --due — Shows only tasks that have a due date set, sorted by due date ascending.
  • --tag <tag> — Filters tasks to those containing the specified tag.
  • --overdue — Shows tasks whose due date has passed and whose status is not done.

Details

Tasks are markdown files in tasks/ with a slug-based filename (<slug>.md). Frontmatter tracks status and workflow metadata, including status, priority, project, owner, blocked_by, due, tags, description, estimate, parent, depends_on, created, updated, and completed.

On this page