| name | taskwarrior |
| description | Comprehensive task management using Taskwarrior CLI - add, modify, filter, complete, and sync tasks with support for projects, tags, priorities, due dates, dependencies, recurrence, and custom attributes (UDAs). Use when managing tasks, todos, or task lists including operations like creating tasks with attributes, filtering/querying tasks by project/tag/status/date, completing/deleting tasks, bulk operations on multiple tasks, task dependencies and blocking, recurring tasks, urgency-based prioritization, and syncing tasks with a task server. |
Taskwarrior
Manage tasks using the Taskwarrior command-line interface. This skill provides comprehensive task management capabilities including adding, modifying, filtering, completing, and syncing tasks with rich attribute support.
Quick Start
Basic Syntax
task <filter> <command> <mods>
- filter: Select which tasks (by ID, project, tag, attribute, etc.)
- command: What to do (add, list, modify, done, delete, sync, etc.)
- mods: Changes to apply (project:X, +tag, due:tomorrow, priority:H, etc.)
Common Examples
task add Fix parser bug due:tomorrow priority:H +bugfix
task project:Home list
task +work status:pending list
task overdue
task 15 done
task 23 modify due:friday priority:M
task +important modify scheduled:tomorrow
task project:HomeGardening done
task sync
Core Operations
Adding Tasks
task add Description text
task add Review code priority:H due:tomorrow +review project:Development
task add Buy groceries +home +shopping due:eow
task add Deploy feature depends:42,43 due:friday
For complex planning workflows, break down the plan into individual tasks and add each with appropriate attributes.
Modifying Tasks
task 15 modify due:tomorrow priority:H
task +important modify scheduled:tomorrow
task project:Work modify priority:M
task 23 modify +urgent -later
task 10-15 modify project:NewProject
Filtering and Listing
Filters select tasks based on attributes. Combine multiple criteria:
task project:Home list
task +work list
task project:Development +bugfix list
task status:pending list
task completed list
task overdue
task due.before:eom list
task scheduled:today list
task '(project:Home or project:Garden)' +important list
task 'priority:H and due.before:eow' list
See filters.md for complete filter syntax and operators.
Completing and Deleting Tasks
task 15 done
task 20-25 done
task project:OldProject done
task 42 delete
task overdue delete
task 15 start
task 15 stop
Syncing Tasks
task sync
Ensure sync is configured (taskrc settings) before first use.
Working with Attributes
Projects
Hierarchical organization using dot notation:
task add Implement feature project:Work.Development.Backend
task add Write tests project:Work.Development.Backend.Tests
task project:Work list
task project:Work.Development list
task project.startswith:Work list
See projects.md for project functionality details.
Tags
Arbitrary words for categorization:
task add Task description +urgent +review +home
task +urgent list
task +work -waiting list
task tags.any: list
Priorities
task add High priority task priority:H
task 15 modify priority:M
task priority: list
Due Dates and Scheduling
task add Task due:tomorrow
task add Task due:2024-12-31
task add Task due:eom
task add Task scheduled:monday
task add Task wait:nextweek
See dates.md for date formats and relative dates.
Dependencies
Tasks can block other tasks:
task 10 modify depends:5,6
task blocking
task blocked
task 10 modify depends:-5
See dependencies.md for dependency management.
Recurring Tasks
task add Pay bills due:eom recur:monthly until:eoy
task add Daily standup due:9am recur:daily
task add Sprint review due:friday recur:2weeks
See recurrence.md for recurrence patterns.
Annotations
Add notes to tasks:
task 15 annotate Met with team, discussed approach
task 15 annotate Updated timeline based on feedback
Advanced Features
User Defined Attributes (UDAs)
Custom attributes beyond built-in ones:
uda.estimate.type=string
uda.estimate.label=Size Estimate
uda.estimate.values=huge,large,medium,small,trivial,
task add Task estimate:large
task estimate:small list
See udas.md for UDA configuration and types.
Urgency-Based Prioritization
Taskwarrior calculates urgency automatically based on multiple factors:
task list
task 15 info
task config urgency.due.coefficient 15.0
task config urgency.user.tag.important.coefficient 10.0
See urgency.md for urgency formula and customization.
Bulk Operations
Work with multiple tasks efficiently:
task project:Old modify project:New
task +later -important modify scheduled:nextmonth
task 'due.before:today and status:pending' modify due:tomorrow
task project:Sprint23 done
task +cleanup status:pending done
task status:deleted and end.before:2023-01-01 purge
Workflow Patterns
Planning Workflow
When asked to create a plan and add tasks:
- Generate the plan (break down into steps)
- Create tasks for each step with appropriate attributes:
- Set
project: for grouping
- Add descriptive tags
- Set priorities if specified
- Establish dependencies where steps must be sequential
Example:
task add Research PWA requirements project:WingTask.PwaInstall +claude priority:H due:monday
task add Create service worker project:WingTask.PwaInstall +claude depends:123
task add Add manifest.json project:WingTask.PwaInstall +claude depends:123
task add Test offline functionality project:WingTask.PwaInstall +claude +testing depends:124,125
Filtering Workflow
When asked to find and operate on tasks:
- Construct appropriate filter
- Preview what will be affected (if modifying/deleting)
- Execute the operation
Example:
task overdue list
task overdue delete
Bulk Modification Workflow
When asked to modify multiple tasks:
- Build filter to select tasks
- Apply modifications with
modify command
- Confirm results
Example:
task +important modify scheduled:tomorrow
References
This skill includes detailed reference documentation for specific topics. Load these as needed:
Key Principles
- Filters are powerful - Master filter syntax for efficient task management
- Combine attributes - Use project + tags + priority + dates for organization
- Preview before bulk operations - Run
list with filter before modify/delete
- Use hierarchical projects - Organize with dot notation (Project.Subproject)
- Leverage urgency - Let Taskwarrior prioritize based on multiple factors
- Dependencies model workflows - Use
depends: for sequential work
- Tags for flexible categorization - Unlike projects, tasks can have many tags