π Setup & Init
task-master init Initialize new project with Task Mastertask-master parse-prd <file> Parse PRD and generate initial taskstask-master generate Generate task files from tasks.jsonπ View Tasks
task-master list List all tasks with status overviewtask-master list --status=<status> Filter tasks by statustask-master list --with-subtasks Include subtasks in listingtask-master next Show next task to work ontask-master show <id> Show specific task detailstask-master show 1.2 View specific subtaskβοΈ Update Tasks
task-master update --from=<id> --prompt="..." Update from specific tasktask-master update-task --id=<id> --prompt="..." Update single tasktask-master update-subtask --id=<id> --prompt="..." Append to subtaskπ― Task Status
task-master set-status --id=<id> --status=<status> Set single task statustask-master set-status --id=1,2,3 --status=<status> Bulk status updatetask-master set-status --id=1.1,1.2 --status=<status> Update subtask statusπ Expand & Research
task-master expand --id=<id> --num=<n> Expand task with subtaskstask-master expand --all Expand all pending taskstask-master expand --id=<id> --research Research-backed expansiontask-master expand --all --force Force regenerate subtasksπ Analysis
task-master analyze-complexity Analyze all task complexitytask-master complexity-report Display complexity reporttask-master analyze-complexity --research Research-backed analysistask-master analyze-complexity --threshold=6 Custom complexity thresholdπ Dependencies
task-master add-dependency --id=<id> --depends-on=<id> Add task dependencytask-master remove-dependency --id=<id> --depends-on=<id> Remove dependencytask-master validate-dependencies Validate dependenciestask-master fix-dependencies Auto-fix dependenciesπ§Ή Maintenance
task-master clear-subtasks --id=<id> Clear subtasks from tasktask-master clear-subtasks --all Clear all subtaskstask-master add-task --prompt="..." Add new task with AItask-master add-task --prompt="..." --dependencies=1,2 Add task with dependencies㪠MCP Chat Commands
Initialize taskmaster-ai in my project Set up Task MasterParse my PRD at .taskmaster/docs/prd.txt Parse requirementsWhat's the next task I should work on? Get next taskHelp me implement task 3 Get AI assistanceShow me tasks 1, 3, 5 View multiple tasksExpand task 4 Break into subtasksResearch best practices for [topic] Research-backed infoChange main model to claude-code/sonnet Switch AI modelποΈ Research Flag
- Add
--researchto update-task, update-subtask, expand, or analyze-complexity - Uses Perplexity AI for research-backed enhancements
- Requires PERPLEXITY_API_KEY in config
- Example:
task-master expand --id=5 --research
βοΈ Quick Tips
- Task IDs: Use comma-separated:
1,2,3 - Subtasks: Reference as
parentId.subtaskId(e.g.,5.2) - Statuses: pending, in-progress, completed, review, deferred, cancelled
- MCP Mode: Use natural language in editor chat
- Claude Code: No API key needed with local Claude