/taskwarrior:task-workflowfrom taskwarrior
This skill should be used when an AI agent needs to "add a task", "create a task", "update a task", "modify a task", "complete a task", "mark task done", "close a task", "start working on a task", "annotate a task with notes", "add context to a task", "log progress on a task", "check task status", "list tasks", "show overdue tasks", "manage tasks with taskwarrior", or when any agent workflow requires recording work in the task ledger. Defines the default add→start→update→close lifecycle for AI agents executing tasks via the `task` CLI.
Ships in taskwarrior. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Manage the full lifecycle of tasks using Taskwarrior — from capture through completion.
This skill defines the canonical workflow AI agents MUST follow when touching the task
ledger. Taskwarrior stores data in ~/.task/ by default; run all task commands via Bash.
These rules keep the ledger from growing faster than it closes. They override any looser guidance further down.
task description~<keyword> list (and filter by
project) before every task add. If a matching task exists, annotate or modify it
instead of adding a near-duplicate.+inbox and no due:. A due date is
only for a real external deadline, a task the user put on this week's commit list,
or a +owed item.wait:, never with a past due date. task <id> modify due: wait:<date>
hides the task until that date. A stale due date only adds noise to the overdue list.+owed is for promises to people: replies, requests, forms someone else is
waiting on, with a real due:. A decision the user is still weighing is not owed.tw:<uuid8> (first 8 chars of the task UUID, which
task <uuid8> info resolves) or Closes #n in the PR title or body.wait:. Delete
only tasks that are moot or duplicated elsewhere, and say so in the turn.Every unit of work follows this four-stage lifecycle. Never skip stages silently.
Capture tasks immediately when work is identified. A task not in the ledger doesn't exist.
# Search first (rule 1)
task description~keyword list
# Minimal capture — always include project, land in the inbox
task add "Description of work" project:ProjectName +inbox
# Full capture with all known attributes
task add "Description of work" \
project:ProjectName.SubProject \
priority:H \
due:tomorrow \
+tag1 +tag2
# Record the new task ID from output for subsequent commands
Capture rules:
project — unowned tasks decayproject:Parent.Child for sub-projects (e.g., project:Work.API)priority:H/M/L only when it reflects real urgency — do not default to Hdue: only when there is a real deadline (see Ledger Rules 2 and 5); otherwise tag +inbox+ tags for cross-cutting concerns (+blocked, +waiting, +review)due:friday, "end of month" → due:eomBefore executing any work, mark the task active. This creates an audit trail and exposes blockers before time is spent.
# Read full task record — annotations are context pointers
task <id> info
# Open any annotation URLs or file paths before acting:
# obsidian:// links → open the note
# https://github.com/... → read the issue/PR
# ~/path/to/file → read the file
# Mark active
task <id> start
Start rules:
task <id> info before starting — annotations contain the full contexttask +ACTIVE list to check)Log progress incrementally. Do not batch updates at the end — if execution is interrupted, the ledger must reflect current state.
# Annotate progress — one annotation per meaningful event
task <id> annotate "Progress: implemented X, pending Y"
# Annotate a blocker
task <id> annotate "Blocked: waiting for API key from team"
task <id> modify +blocked
# Link a new resource discovered during work
task <id> annotate "https://github.com/user/repo/issues/42"
task <id> annotate "~/code/project/src/module.py"
# Annotate an Obsidian note
task <id> annotate "obsidian://open?vault=<vault>&file=Projects/<slug>/notes.md"
# Update due date if timeline changed
task <id> modify due:eow
# Remove a tag when state resolves
task <id> modify -blocked
Update rules:
+blocked before stoppingreferences/obsidian-vault.md for Obsidian URI formatClose tasks immediately when work is done. Never leave a finished task pending.
# Mark done — mandatory after any completed work
task <id> done
# If a GitHub/GitLab issue was linked, close or comment after marking done
# (retrieve annotation first: task <id> info)
# Partial completion — stop and annotate remaining work
task <id> stop
task <id> annotate "Partial: completed X. Remaining: Y"
Close rules:
task <id> done — this is non-negotiable; the task is not done until the ledger reflects ittask <id> annotate "Done: <PR URL | sent message | test command>"Annotations are the primary mechanism for attaching context — notes, URLs, file paths, Obsidian links, GitHub issues. A task can carry unlimited annotations.
# Plain note
task 42 annotate "Spoke with vendor, waiting for quote"
# Obsidian note (see references/obsidian-vault.md for vault config)
task 42 annotate "obsidian://open?vault=<vault>&file=Projects/<slug>/meeting.md"
# Web URL
task 42 annotate "https://github.com/user/repo/issues/87"
# Local file
task 42 annotate "~/code/src/validator.rs"
# View all annotations
task 42 info
# Remove a specific annotation (matches by substring)
task 42 denotate "validator.rs"
For multiline notes and extended task descriptions, see references/examples.md.
# Daily planning view (urgency-sorted)
task next
# Full pending list
task list
# Task with all annotations and metadata
task <id> info
# Overdue
task +OVERDUE list
# Due today
task +TODAY list
# Active (started) tasks
task +ACTIVE list
# By project
task project:Work list
# Quick summary across all projects
bash ${CLAUDE_PLUGIN_ROOT}/skills/task-workflow/scripts/tw-summary.sh
Every time an AI agent completes, stalls, or is blocked on work, it MUST update Taskwarrior before considering the turn done.
| Situation | Required action |
|---|---|
| Work completed | task <id> done |
| Work partially done | task <id> stop + annotate progress |
| Blocked | task <id> modify +blocked + annotate reason |
| Blocked resolved | task <id> modify -blocked + task <id> start |
| New resource found | task <id> annotate "<url or path>" |
| Timeline slipped | task <id> modify due: wait:<date> (keep due: only for a real external deadline) |
# See what is active
task +ACTIVE list
# Read full record before acting
task <id> info
# Open all annotation pointers — obsidian://, https://, ~/path
# Then continue from where work left off
# Change priority
task <id> modify priority:H
# Change project
task <id> modify project:Work.Q4
# Set due date (real deadlines only)
task <id> modify due:tomorrow
# Defer without a due date (hidden until then)
task <id> modify due: wait:2027-01-11
# Add/remove tags
task <id> modify +important -waiting
# Add dependency (task <id> cannot start until task <dep> is done)
task <id> modify depends:<dep>
# Change description
task <id> modify "Updated description"
To schedule work blocks or check availability before setting due:, use the task-calendar skill.
It bridges tasks with Google Calendar without modifying this workflow.
references/best-practices.md — Taskwarrior best practices: project hierarchy, tagging, urgency, capture habitsreferences/examples.md — Multiline tasks, notes patterns, complex real-world examplesreferences/filters.md — Full filter syntax: operators, date math, virtual tagsreferences/advanced.md — Urgency tuning, UDAs, hook scripts, custom reportsreferences/obsidian-vault.md — Vault name, base path, PARA URI patternsscripts/tw-summary.sh — Quick summary by project, overdue, and active tasksWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kjgarza/marketplace-claude --plugin taskwarrior3 skills in this plugin
/task-calendarUse when the user wants to "schedule a task", "block time for a task", "add task to calendar", "check if I'm free", "find a slot for this", "when can I work on", "create a calendar event for a task", "reschedule this task", or any request that bridges a Taskwarrior task with Google Calendar. Uses gogcli (gog) when available, falls back to Google Calendar MCP tools.
/task-initThis skill should be used when the user asks to "initialize taskwarrior", "set up taskwarrior", "configure taskwarrior for this project", "run /init for taskwarrior", "set up task management", "bootstrap the task plugin", "configure task contexts", or "first-time taskwarrior setup". Guides the complete initial configuration of Taskwarrior so that the task-workflow skill operates correctly.