You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guidelines for creating and maintaining Github Copilot instructions to ensure consistency and effectiveness.
**
Required Rule Structure:
---description: Clear, one-line description of what the rule enforcesapplyTo: "\*\*"# or 'path/to/files/\*.ext', 'other/path/\*\*/\*'----**Main Points in Bold**- Sub-points with details
- Examples and explanations
File References:
Use [filename](./relative/path/to/filename) to reference files
Guide for using Taskmaster to manage task-driven development workflows
**
Taskmaster Development Workflow
This guide outlines the standard process for using Taskmaster to manage software development projects. It is written as a set of instructions for you, the AI agent.
Your Default Stance: For most projects, the user can work directly within the master task context. Your initial actions should operate on this default context unless a clear pattern for multi-context work emerges.
Your Goal: Your role is to elevate the user's workflow by intelligently introducing advanced features like Tagged Task Lists when you detect the appropriate context. Do not force tags on the user; suggest them as a helpful solution to a specific need.
The Basic Loop
The fundamental development cycle you will facilitate is:
list: Show the user what needs to be done.
next: Help the user decide what to work on.
show <id>: Provide details for a specific task.
expand <id>: Break down a complex task into smaller, manageable subtasks.
Implement: The user writes the code and tests.
update-subtask: Log progress and findings on behalf of the user.
set-status: Mark tasks and subtasks as done as work is completed.
Repeat.
All your standard command executions should operate on the user's current task context, which defaults to master.
Standard Development Workflow Process
Simple Workflow (Default Starting Point)
For new projects or when users are getting started, operate within the master tag context:
Start new projects by running initialize_project tool / task-master init or parse_prd / task-master parse-prd --input='<prd-file.txt>' (see taskmaster.instructions.md) to generate initial tasks.json with tagged structure
Begin coding sessions with get_tasks / task-master list (see taskmaster.instructions.md) to see current tasks, status, and IDs
Analyze task complexity with analyze_project_complexity / task-master analyze-complexity --research (see taskmaster.instructions.md) before breaking down tasks
Review complexity report using complexity_report / task-master complexity-report (see taskmaster.instructions.md)
Select tasks based on dependencies (all marked 'done'), priority level, and ID order
View specific task details using get_task / task-master show <id> (see taskmaster.instructions.md) to understand implementation requirements
Break down complex tasks using expand_task / task-master expand --id=<id> --force --research (see taskmaster.instructions.md) with appropriate flags like --force (to replace existing subtasks) and --research
Implement code following task details, dependencies, and project standards
Mark completed tasks with set_task_status / task-master set-status --id=<id> --status=done (see taskmaster.instructions.md)
Update dependent tasks when implementation differs from original plan using update / task-master update --from=<id> --prompt="..." or update_task / task-master update-task --id=<id> --prompt="..." (see taskmaster.instructions.md)
Leveling Up: Agent-Led Multi-Context Workflows
While the basic workflow is powerful, your primary opportunity to add value is by identifying when to introduce Tagged Task Lists. These patterns are your tools for creating a more organized and efficient development environment for the user, especially if you detect agentic or parallel development happening across the same session.
Critical Principle: Most users should never see a difference in their experience. Only introduce advanced workflows when you detect clear indicators that the project has evolved beyond simple task management.
When to Introduce Tags: Your Decision Patterns
Here are the patterns to look for. When you detect one, you should propose the corresponding workflow to the user.
Pattern 1: Simple Git Feature Branching
This is the most common and direct use case for tags.
Trigger: The user creates a new git branch (e.g., git checkout -b feature/user-auth).
Your Action: Propose creating a new tag that mirrors the branch name to isolate the feature's tasks from master.
Your Suggested Prompt: "I see you've created a new branch named 'feature/user-auth'. To keep all related tasks neatly organized and separate from your main list, I can create a corresponding task tag for you. This helps prevent merge conflicts in your tasks.json file later. Shall I create the 'feature-user-auth' tag?"
Tool to Use: task-master add-tag --from-branch
Pattern 2: Team Collaboration
Trigger: The user mentions working with teammates (e.g., "My teammate Alice is handling the database schema," or "I need to review Bob's work on the API.").
Your Action: Suggest creating a separate tag for the user's work to prevent conflicts with shared master context.
Your Suggested Prompt: "Since you're working with Alice, I can create a separate task context for your work to avoid conflicts. This way, Alice can continue working with the master list while you have your own isolated context. When you're ready to merge your work, we can coordinate the tasks back to master. Shall I create a tag for your current work?"
Tool to Use: task-master add-tag my-work --copy-from-current --description="My tasks while collaborating with Alice"
Pattern 3: Experiments or Risky Refactors
Trigger: The user wants to try something that might not be kept (e.g., "I want to experiment with switching our state management library," or "Let's refactor the old API module, but I want to keep the current tasks as a reference.").
Your Action: Propose creating a sandboxed tag for the experimental work.
Your Suggested Prompt: "This sounds like a great experiment. To keep these new tasks separate from our main plan, I can create a temporary 'experiment-zustand' tag for this work. If we decide not to proceed, we can simply delete the tag without affecting the main task list. Sound good?"
Tool to Use: task-master add-tag experiment-zustand --description="Exploring Zustand migration"
Pattern 4: Large Feature Initiatives (PRD-Driven)
This is a more structured approach for significant new features or epics.
Trigger: The user describes a large, multi-step feature that would benefit from a formal plan.
Your Action: Propose a comprehensive, PRD-driven workflow.
Your Suggested Prompt: "This sounds like a significant new feature. To manage this effectively, I suggest we create a dedicated task context for it. Here's the plan: I'll create a new tag called 'feature-xyz', then we can draft a Product Requirements Document (PRD) together to scope the work. Once the PRD is ready, I'll automatically generate all the necessary tasks within that new tag. How does that sound?"
Your Implementation Flow:
Create an empty tag: task-master add-tag feature-xyz --description "Tasks for the new XYZ feature". You can also start by creating a git branch if applicable, and then create the tag from that branch.
Collaborate & Create PRD: Work with the user to create a detailed PRD file (e.g., .taskmaster/docs/feature-xyz-prd.txt).
Parse PRD into the new tag: task-master parse-prd .taskmaster/docs/feature-xyz-prd.txt --tag feature-xyz
Prepare the new task list: Follow up by suggesting analyze-complexity and expand-all for the newly created tasks within the feature-xyz tag.
Pattern 5: Version-Based Development
Tailor your approach based on the project maturity indicated by tag names.
Prototype/MVP Tags (prototype, mvp, poc, v0.x):
Your Approach: Focus on speed and functionality over perfection
Task Generation: Create tasks that emphasize "get it working" over "get it perfect"
Complexity Level: Lower complexity, fewer subtasks, more direct implementation paths
Research Prompts: Include context like "This is a prototype - prioritize speed and basic functionality over optimization"
Example Prompt Addition: "Since this is for the MVP, I'll focus on tasks that get core functionality working quickly rather than over-engineering."
Your Approach: Emphasize robustness, testing, and maintainability
Task Generation: Include comprehensive error handling, testing, documentation, and optimization
Complexity Level: Higher complexity, more detailed subtasks, thorough implementation paths
Research Prompts: Include context like "This is for production - prioritize reliability, performance, and maintainability"
Example Prompt Addition: "Since this is for production, I'll ensure tasks include proper error handling, testing, and documentation."
Advanced Workflow (Tag-Based & PRD-Driven)
When to Transition: Recognize when the project has evolved (or has initiated a project which existing code) beyond simple task management. Look for these indicators:
User mentions teammates or collaboration needs
Project has grown to 15+ tasks with mixed priorities
User creates feature branches or mentions major initiatives
User initializes Taskmaster on an existing, complex codebase
User describes large features that would benefit from dedicated planning
Your Role in Transition: Guide the user to a more sophisticated workflow that leverages tags for organization and PRDs for comprehensive planning.
Master List Strategy (High-Value Focus)
Once you transition to tag-based workflows, the master tag should ideally contain only:
High-level deliverables that provide significant business value
Major milestones and epic-level features
Critical infrastructure work that affects the entire project
Release-blocking items
What NOT to put in master:
Detailed implementation subtasks (these go in feature-specific tags' parent tasks)
Refactoring work (create dedicated tags like refactor-auth)
Experimental features (use experiment-* tags)
Team member-specific tasks (use person-specific tags)
PRD-Driven Feature Development
For New Major Features:
Identify the Initiative: When user describes a significant feature
Add Master Reference: Create a high-level task in master that references the feature tag
For Existing Codebase Analysis:
When users initialize Taskmaster on existing projects:
Codebase Discovery: Use your native tools for producing deep context about the code base. You may use research tool with --tree and --files to collect up to date information using the existing architecture as context.
Collaborative Assessment: Work with user to identify improvement areas, technical debt, or new features
Strategic PRD Creation: Co-author PRDs that include:
Current state analysis (based on your codebase research)
Master List Curation: Keep only the most valuable initiatives in master
The parse-prd's --append flag enables the user to parse multple PRDs within tags or across tags. PRDs should be focused and the number of tasks they are parsed into should be strategically chosen relative to the PRD's complexity and level of detail.
Workflow Transition Examples
Example 1: Simple → Team-Based
User: "Alice is going to help with the API work"
Your Response: "Great! To avoid conflicts, I'll create a separate task context for your work. Alice can continue with the master list while you work in your own context. When you're ready to merge, we can coordinate the tasks back together."
Action: add_tag my-api-work --copy-from-current --description="My API tasks while collaborating with Alice"
Example 2: Simple → PRD-Driven
User: "I want to add a complete user dashboard with analytics, user management, and reporting"
Your Response: "This sounds like a major feature that would benefit from detailed planning. Let me create a dedicated context for this work and we can draft a PRD together to ensure we capture all requirements."
Actions:
1. add_tag feature-dashboard --description="User dashboard with analytics and management"
2. Collaborate on PRD creation
3. parse_prd dashboard-prd.txt --tag=feature-dashboard
4. Add high-level "User Dashboard" task to master
Example 3: Existing Project → Strategic Planning
User: "I just initialized Taskmaster on my existing React app. It's getting messy and I want to improve it."
Your Response: "Let me research your codebase to understand the current architecture, then we can create a strategic plan for improvements."
Actions:
1. research "Current React app architecture and improvement opportunities" --tree --files=src/
2. Collaborate on improvement PRD based on findings
3. Create tags for different improvement areas (refactor-components, improve-state-management, etc.)
4. Keep only major improvement initiatives in master
Primary Interaction: MCP Server vs. CLI
Taskmaster offers two primary ways to interact:
MCP Server (Recommended for Integrated Tools):
For AI agents and integrated development environments (like Github Copilot), interacting via the MCP server is the preferred method.
The MCP server exposes Taskmaster functionality through a set of tools (e.g., get_tasks, add_subtask).
This method offers better performance, structured data exchange, and richer error handling compared to CLI parsing.
A comprehensive list and description of MCP tools and their corresponding CLI commands can be found in taskmaster.instructions.md.
Restart the MCP server if core logic in scripts/modules or MCP tool/direct function definitions change.
Note: MCP tools fully support tagged task lists with complete tag management capabilities.
task-master CLI (For Users & Fallback):
The global task-master command provides a user-friendly interface for direct terminal interaction.
It can also serve as a fallback if the MCP server is inaccessible or a specific function isn't exposed via MCP.
Install globally with npm install -g task-master-ai or use locally via npx task-master-ai ....
The CLI commands often mirror the MCP tools (e.g., task-master list corresponds to get_tasks).
Tagged Task Lists: CLI fully supports the new tagged system with seamless migration.
How the Tag System Works (For Your Reference)
Data Structure: Tasks are organized into separate contexts (tags) like "master", "feature-branch", or "v2.0".
Silent Migration: Existing projects automatically migrate to use a "master" tag with zero disruption.
Context Isolation: Tasks in different tags are completely separate. Changes in one tag do not affect any other tag.
Manual Control: The user is always in control. There is no automatic switching. You facilitate switching by using use-tag <name>.
Full CLI & MCP Support: All tag management commands are available through both the CLI and MCP tools for you to use. Refer to taskmaster.instructions.md for a full command list.
Task Complexity Analysis
Run analyze_project_complexity / task-master analyze-complexity --research (see taskmaster.instructions.md) for comprehensive analysis
Review complexity report via complexity_report / task-master complexity-report (see taskmaster.instructions.md) for a formatted, readable version.
Focus on tasks with highest complexity scores (8-10) for detailed breakdown
Use analysis results to determine appropriate subtask allocation
Note that reports are automatically used by the expand_task tool/command
Task Breakdown Process
Use expand_task / task-master expand --id=<id>. It automatically uses the complexity report if found, otherwise generates default number of subtasks.
Use --num=<number> to specify an explicit number of subtasks, overriding defaults or complexity report recommendations.
Add --research flag to leverage Perplexity AI for research-backed expansion.
Add --force flag to clear existing subtasks before generating new ones (default is to append).
Use --prompt="<context>" to provide additional context when needed.
Review and adjust generated subtasks as necessary.
Use expand_all tool or task-master expand --all to expand multiple pending tasks at once, respecting flags like --force and --research.
If subtasks need complete replacement (regardless of the --force flag on expand), clear them first with clear_subtasks / task-master clear-subtasks --id=<id>.
Implementation Drift Handling
When implementation differs significantly from planned approach
When future tasks need modification due to current implementation choices
When new dependencies or requirements emerge
Use update / task-master update --from=<futureTaskId> --prompt='<explanation>\nUpdate context...' --research to update multiple future tasks.
Use update_task / task-master update-task --id=<taskId> --prompt='<explanation>\nUpdate context...' --research to update a single specific task.
Task Status Management
Use 'pending' for tasks ready to be worked on
Use 'done' for completed and verified tasks
Use 'deferred' for postponed tasks
Add custom status values as needed for project-specific workflows
Task Structure Fields
id: Unique identifier for the task (Example: 1, 1.1)
title: Brief, descriptive title (Example: "Initialize Repo")
description: Concise summary of what the task involves (Example: "Create a new repository, set up initial structure.")
status: Current state of the task (Example: "pending", "done", "deferred")
dependencies: IDs of prerequisite tasks (Example: [1, 2.1])
Dependencies are displayed with status indicators (✅ for completed, ⏱️ for pending)
This helps quickly identify which prerequisite tasks are blocking work
testStrategy: Verification approach (Example: "Deploy and call endpoint to confirm 'Hello World' response.")
subtasks: List of smaller, more specific tasks (Example: [{"id": 1, "title": "Configure OAuth", ...}])
Refer to task structure details.
Configuration Management (Updated)
Taskmaster configuration is managed through two main mechanisms:
.taskmaster/config.json File (Primary):
Located in the project root directory.
Stores most configuration settings: AI model selections (main, research, fallback), parameters (max tokens, temperature), logging level, default subtasks/priority, project name, etc.
Tagged System Settings: Includes global.defaultTag (defaults to "master") and tags section for tag management configuration.
Managed via task-master models --setup command. Do not edit manually unless you know what you are doing.
View/Set specific models via task-master models command or models MCP tool.
Created automatically when you run task-master models --setup for the first time or during tagged system migration.
Environment Variables (.env / mcp.json):
Used only for sensitive API keys and specific endpoint URLs.
Place API keys (one per provider) in a .env file in the project root for CLI usage.
For MCP/Github Copilot integration, configure these keys in the env section of .vscode/mcp.json.
Available keys/variables: See assets/env.example or the Configuration section in the command reference (previously linked to taskmaster.instructions.md).
.taskmaster/state.json File (Tagged System State):
Tracks current tag context and migration status.
Automatically created during tagged system migration.
Important: Non-API key settings (like model selections, MAX_TOKENS, TASKMASTER_LOG_LEVEL) are no longer configured via environment variables. Use the task-master models command (or --setup for interactive configuration) or the models MCP tool.
If AI commands FAIL in MCP verify that the API key for the selected provider is present in the env section of .vscode/mcp.json.
If AI commands FAIL in CLI verify that the API key for the selected provider is present in the .env file in the root of the project.
Determining the Next Task
Run next_task / task-master next to show the next task to work on.
The command identifies tasks with all dependencies satisfied
Tasks are prioritized by priority level, dependency count, and ID
The command shows comprehensive task information including:
Basic task details and description
Implementation details
Subtasks (if they exist)
Contextual suggested actions
Recommended before starting any new development work
Respects your project's dependency structure
Ensures tasks are completed in the appropriate sequence
Provides ready-to-use commands for common task actions
Viewing Specific Task Details
Run get_task / task-master show <id> to view a specific task.
Use dot notation for subtasks: task-master show 1.2 (shows subtask 2 of task 1)
Displays comprehensive information similar to the next command, but for a specific task
For parent tasks, shows all subtasks and their current status
For subtasks, shows parent task information and relationship
Provides contextual suggested actions appropriate for the specific task
Useful for examining task details before implementation or checking status
Managing Task Dependencies
Use add_dependency / task-master add-dependency --id=<id> --depends-on=<id> to add a dependency.
Use remove_dependency / task-master remove-dependency --id=<id> --depends-on=<id> to remove a dependency.
The system prevents circular dependencies and duplicate dependency entries
Dependencies are checked for existence before being added or removed
Task files are automatically regenerated after dependency changes
Dependencies are visualized with status indicators in task listings and files
Task Reorganization
Use move_task / task-master move --from=<id> --to=<id> to move tasks or subtasks within the hierarchy
This command supports several use cases:
Moving a standalone task to become a subtask (e.g., --from=5 --to=7)
Moving a subtask to become a standalone task (e.g., --from=5.2 --to=7)
Moving a subtask to a different parent (e.g., --from=5.2 --to=7.3)
Reordering subtasks within the same parent (e.g., --from=5.2 --to=5.4)
Moving a task to a new, non-existent ID position (e.g., --from=5 --to=25)
Moving multiple tasks at once using comma-separated IDs (e.g., --from=10,11,12 --to=16,17,18)
The system includes validation to prevent data loss:
Allows moving to non-existent IDs by creating placeholder tasks
Prevents moving to existing task IDs that have content (to avoid overwriting)
Validates source tasks exist before attempting to move them
The system maintains proper parent-child relationships and dependency integrity
Task files are automatically regenerated after the move operation
This provides greater flexibility in organizing and refining your task structure as project understanding evolves
This is especially useful when dealing with potential merge conflicts arising from teams creating tasks on separate branches. Solve these conflicts very easily by moving your tasks and keeping theirs.
Iterative Subtask Implementation
Once a task has been broken down into subtasks using expand_task or similar methods, follow this iterative process for implementation:
Understand the Goal (Preparation):
Use get_task / task-master show <subtaskId> (see taskmaster.instructions.md) to thoroughly understand the specific goals and requirements of the subtask.
Initial Exploration & Planning (Iteration 1):
This is the first attempt at creating a concrete implementation plan.
Explore the codebase to identify the precise files, functions, and even specific lines of code that will need modification.
Determine the intended code changes (diffs) and their locations.
Gather all relevant details from this exploration phase.
Log the Plan:
Run update_subtask / task-master update-subtask --id=<subtaskId> --prompt='<detailed plan>'.
Provide the complete and detailed findings from the exploration phase in the prompt. Include file paths, line numbers, proposed diffs, reasoning, and any potential challenges identified. Do not omit details. The goal is to create a rich, timestamped log within the subtask's details.
Verify the Plan:
Run get_task / task-master show <subtaskId> again to confirm that the detailed implementation plan has been successfully appended to the subtask's details.
Begin Implementation:
Set the subtask status using set_task_status / task-master set-status --id=<subtaskId> --status=in-progress.
Start coding based on the logged plan.
Refine and Log Progress (Iteration 2+):
As implementation progresses, you will encounter challenges, discover nuances, or confirm successful approaches.
Before appending new information: Briefly review the existing details logged in the subtask (using get_task or recalling from context) to ensure the update adds fresh insights and avoids redundancy.
Regularly use update_subtask / task-master update-subtask --id=<subtaskId> --prompt='<update details>\n- What worked...\n- What didn't work...' to append new findings.
Crucially, log:
What worked ("fundamental truths" discovered).
What didn't work and why (to avoid repeating mistakes).
Specific code snippets or configurations that were successful.
Decisions made, especially if confirmed with user input.
Any deviations from the initial plan and the reasoning.
The objective is to continuously enrich the subtask's details, creating a log of the implementation journey that helps the AI (and human developers) learn, adapt, and avoid repeating errors.
After verifying the implementation and updating any necessary instructions, mark the subtask as completed: set_task_status / task-master set-status --id=<subtaskId> --status=done.
Commit Changes (If using Git):
Stage the relevant code changes and any updated/new instruction files (git add .).
Craft a comprehensive Git commit message summarizing the work done for the subtask, including both code implementation and any instruction adjustments.
Execute the commit command directly in the terminal (e.g., git commit -m 'feat(module): Implement feature X for subtask <subtaskId>\n\n- Details about changes...\n- Updated instruction Y for pattern Z').
Consider if a Changeset is needed according to internal versioning guidelines. If so, run npm run changeset, stage the generated file, and amend the commit or create a new one.
Proceed to Next Subtask:
Identify the next subtask (e.g., using next_task / task-master next).
Code Analysis & Refactoring Techniques
Top-Level Function Search:
Useful for understanding module structure or planning refactors.
Use grep/ripgrep to find exported functions/constants:
rg "export (async function|function|const) \w+" or similar patterns.
Can help compare functions between files during migrations or identify potential naming conflicts.
This workflow provides a general guideline. Adapt it based on your specific project needs and team practices.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Guidelines for continuously improving Github Copilot instructions based on emerging code patterns and best practices.
**
Instructions Improvement Triggers:
New code patterns not covered by existing instructions
Repeated similar implementations across files
Common error patterns that could be prevented
New libraries or tools being used consistently
Emerging best practices in the codebase
Analysis Process:
Compare new code with existing instructions
Identify patterns that should be standardized
Look for references to external documentation
Check for consistent error handling patterns
Monitor test patterns and coverage
Instructions Updates:
Add New Instructions When:
A new technology/pattern is used in 3+ files
Common bugs could be prevented by an instruction
Code reviews repeatedly mention the same feedback
New security or performance patterns emerge
Modify Existing Instructions When:
Better examples exist in the codebase
Additional edge cases are discovered
Related instructions have been updated
Implementation details have changed
Example Pattern Recognition:
// If you see repeated patterns like:constdata=awaitprisma.user.findMany({select: {id: true,email: true},where: {status: "ACTIVE"},});// Consider adding to [prisma.instructions.md](./prisma.instructions.md):// - Standard select fields// - Common where conditions// - Performance optimization patterns
Comprehensive reference for Taskmaster MCP tools and CLI commands.
**
Taskmaster Tool & Command Reference
This document provides a detailed reference for interacting with Taskmaster, covering both the recommended MCP tools, suitable for integrations like Github Copilot, and the corresponding task-master CLI commands, designed for direct user interaction or fallback.
Note: For interacting with Taskmaster programmatically or via integrated tools, using the MCP tools is strongly recommended due to better performance, structured data, and error handling. The CLI commands serve as a user-friendly alternative and fallback.
Important: Several MCP tools involve AI processing... The AI-powered tools include parse_prd, analyze_project_complexity, update_subtask, update_task, update, expand_all, expand_task, and add_task.
🏷️ Tagged Task Lists System: Task Master now supports tagged task lists for multi-context task management. This allows you to maintain separate, isolated lists of tasks for different features, branches, or experiments. Existing projects are seamlessly migrated to use a default "master" tag. Most commands now support a --tag <name> flag to specify which context to operate on. If omitted, commands use the currently active tag.
Initialization & Setup
1. Initialize Project (init)
MCP Tool:initialize_project
CLI Command:task-master init [options]
Description:Set up the basic Taskmaster file structure and configuration in the current directory for a new project.
Key CLI Options:
--name <name>: Set the name for your project in Taskmaster's configuration.
--description <text>: Provide a brief description for your project.
--version <version>: Set the initial version for your project, e.g., '0.1.0'.
-y, --yes: Initialize Taskmaster quickly using default settings without interactive prompts.
Usage: Run this once at the beginning of a new project.
MCP Variant Description:Set up the basic Taskmaster file structure and configuration in the current directory for a new project by running the 'task-master init' command.
Key MCP Parameters/Options:
projectName: Set the name for your project. (CLI: --name <name>)
projectDescription: Provide a brief description for your project. (CLI: --description <text>)
projectVersion: Set the initial version for your project, e.g., '0.1.0'. (CLI: --version <version>)
authorName: Author name. (CLI: --author <author>)
skipInstall: Skip installing dependencies. Default is false. (CLI: --skip-install)
addAliases: Add shell aliases tm and taskmaster. Default is false. (CLI: --aliases)
yes: Skip prompts and use defaults/provided arguments. Default is false. (CLI: -y, --yes)
Usage: Run this once at the beginning of a new project, typically via an integrated tool like Github Copilot. Operates on the current working directory of the MCP server.
Important: Once complete, you MUST parse a prd in order to generate tasks. There will be no tasks files until then. The next step after initializing should be to create a PRD using the example PRD in .taskmaster/templates/example_prd.txt.
Tagging: Use the --tag option to parse the PRD into a specific, non-default tag context. If the tag doesn't exist, it will be created automatically. Example: task-master parse-prd spec.txt --tag=new-feature.
Description:Parse a Product Requirements Document, PRD, or text file with Taskmaster to automatically generate an initial set of tasks in tasks.json.
Key Parameters/Options:
input: Path to your PRD or requirements text file that Taskmaster should parse for tasks. (CLI: [file] positional or -i, --input <file>)
output: Specify where Taskmaster should save the generated 'tasks.json' file. Defaults to '.taskmaster/tasks/tasks.json'. (CLI: -o, --output <file>)
numTasks: Approximate number of top-level tasks Taskmaster should aim to generate from the document. (CLI: -n, --num-tasks <number>)
force: Use this to allow Taskmaster to overwrite an existing 'tasks.json' without asking for confirmation. (CLI: -f, --force)
Usage: Useful for bootstrapping a project from an existing requirements document.
Notes: Task Master will strictly adhere to any specific requirements mentioned in the PRD, such as libraries, database schemas, frameworks, tech stacks, etc., while filling in any gaps where the PRD isn't fully specified. Tasks are designed to provide the most direct implementation path while avoiding over-engineering.
Important: This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress. If the user does not have a PRD, suggest discussing their idea and then use the example PRD in .taskmaster/templates/example_prd.txt as a template for creating the PRD based on their idea, for use with parse-prd.
AI Model Configuration
2. Manage Models (models)
MCP Tool:models
CLI Command:task-master models [options]
Description:View the current AI model configuration or set specific models for different roles (main, research, fallback). Allows setting custom model IDs for Ollama and OpenRouter.
Key MCP Parameters/Options:
setMain <model_id>: Set the primary model ID for task generation/updates. (CLI: --set-main <model_id>)
setResearch <model_id>: Set the model ID for research-backed operations. (CLI: --set-research <model_id>)
setFallback <model_id>: Set the model ID to use if the primary fails. (CLI: --set-fallback <model_id>)
ollama <boolean>: Indicates the set model ID is a custom Ollama model. (CLI: --ollama)
openrouter <boolean>: Indicates the set model ID is a custom OpenRouter model. (CLI: --openrouter)
listAvailableModels <boolean>: If true, lists available models not currently assigned to a role. (CLI: No direct equivalent; CLI lists available automatically)
projectRoot <string>: Optional. Absolute path to the project root directory. (CLI: Determined automatically)
Key CLI Options:
--set-main <model_id>: Set the primary model.
--set-research <model_id>: Set the research model.
--set-fallback <model_id>: Set the fallback model.
--ollama: Specify that the provided model ID is for Ollama (use with --set-*).
--openrouter: Specify that the provided model ID is for OpenRouter (use with --set-*). Validates against OpenRouter API.
--bedrock: Specify that the provided model ID is for AWS Bedrock (use with --set-*).
--setup: Run interactive setup to configure models, including custom Ollama/OpenRouter IDs.
Usage (MCP): Call without set flags to get current config. Use setMain, setResearch, or setFallback with a valid model ID to update the configuration. Use listAvailableModels: true to get a list of unassigned models. To set a custom model, provide the model ID and set ollama: true or openrouter: true.
Usage (CLI): Run without flags to view current configuration and available models. Use set flags to update specific roles. Use --setup for guided configuration, including custom models. To set a custom model via flags, use --set-<role>=<model_id> along with either --ollama or --openrouter.
Notes: Configuration is stored in .taskmaster/config.json in the project root. This command/tool modifies that file. Use listAvailableModels or task-master models to see internally supported models. OpenRouter custom models are validated against their live API. Ollama custom models are not validated live.
API note: API keys for selected AI providers (based on their model) need to exist in the mcp.json file to be accessible in MCP context. The API keys must be present in the local .env file for the CLI to be able to read them.
Model costs: The costs in supported models are expressed in dollars. An input/output value of 3 is $3.00. A value of 0.8 is $0.80.
Warning: DO NOT MANUALLY EDIT THE .taskmaster/config.json FILE. Use the included commands either in the MCP or CLI format as needed. Always prioritize MCP tools when available and use the CLI as a fallback.
Task Listing & Viewing
3. Get Tasks (get_tasks)
MCP Tool:get_tasks
CLI Command:task-master list [options]
Description:List your Taskmaster tasks, optionally filtering by status and showing subtasks.
Key Parameters/Options:
status: Show only Taskmaster tasks matching this status (or multiple statuses, comma-separated), e.g., 'pending' or 'done,in-progress'. (CLI: -s, --status <status>)
withSubtasks: Include subtasks indented under their parent tasks in the list. (CLI: --with-subtasks)
tag: Specify which tag context to list tasks from. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Get an overview of the project status, often used at the start of a work session.
4. Get Next Task (next_task)
MCP Tool:next_task
CLI Command:task-master next [options]
Description:Ask Taskmaster to show the next available task you can work on, based on status and completed dependencies.
Key Parameters/Options:
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
tag: Specify which tag context to use. Defaults to the current active tag. (CLI: --tag <name>)
Usage: Identify what to work on next according to the plan.
5. Get Task Details (get_task)
MCP Tool:get_task
CLI Command:task-master show [id] [options]
Description:Display detailed information for one or more specific Taskmaster tasks or subtasks by ID.
Key Parameters/Options:
id: Required. The ID of the Taskmaster task (e.g., '15'), subtask (e.g., '15.2'), or a comma-separated list of IDs ('1,5,10.2') you want to view. (CLI: [id] positional or -i, --id <id>)
tag: Specify which tag context to get the task(s) from. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Understand the full details for a specific task. When multiple IDs are provided, a summary table is shown.
CRITICAL INFORMATION If you need to collect information from multiple tasks, use comma-separated IDs (i.e. 1,2,3) to receive an array of tasks. Do not needlessly get tasks one at a time if you need to get many as that is wasteful.
Task Creation & Modification
6. Add Task (add_task)
MCP Tool:add_task
CLI Command:task-master add-task [options]
Description:Add a new task to Taskmaster by describing it; AI will structure it.
Key Parameters/Options:
prompt: Required. Describe the new task you want Taskmaster to create, e.g., "Implement user authentication using JWT". (CLI: -p, --prompt <text>)
dependencies: Specify the IDs of any Taskmaster tasks that must be completed before this new one can start, e.g., '12,14'. (CLI: -d, --dependencies <ids>)
priority: Set the priority for the new task: 'high', 'medium', or 'low'. Default is 'medium'. (CLI: --priority <priority>)
research: Enable Taskmaster to use the research role for potentially more informed task creation. (CLI: -r, --research)
tag: Specify which tag context to add the task to. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Quickly add newly identified tasks during development.
Important: This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
7. Add Subtask (add_subtask)
MCP Tool:add_subtask
CLI Command:task-master add-subtask [options]
Description:Add a new subtask to a Taskmaster parent task, or convert an existing task into a subtask.
Key Parameters/Options:
id / parent: Required. The ID of the Taskmaster task that will be the parent. (MCP: id, CLI: -p, --parent <id>)
taskId: Use this if you want to convert an existing top-level Taskmaster task into a subtask of the specified parent. (CLI: -i, --task-id <id>)
title: Required if not using taskId. The title for the new subtask Taskmaster should create. (CLI: -t, --title <title>)
description: A brief description for the new subtask. (CLI: -d, --description <text>)
details: Provide implementation notes or details for the new subtask. (CLI: --details <text>)
dependencies: Specify IDs of other tasks or subtasks, e.g., '15' or '16.1', that must be done before this new subtask. (CLI: --dependencies <ids>)
status: Set the initial status for the new subtask. Default is 'pending'. (CLI: -s, --status <status>)
skipGenerate: Prevent Taskmaster from automatically regenerating markdown task files after adding the subtask. (CLI: --skip-generate)
tag: Specify which tag context to operate on. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Break down tasks manually or reorganize existing tasks.
8. Update Tasks (update)
MCP Tool:update
CLI Command:task-master update [options]
Description:Update multiple upcoming tasks in Taskmaster based on new context or changes, starting from a specific task ID.
Key Parameters/Options:
from: Required. The ID of the first task Taskmaster should update. All tasks with this ID or higher that are not 'done' will be considered. (CLI: --from <id>)
prompt: Required. Explain the change or new context for Taskmaster to apply to the tasks, e.g., "We are now using React Query instead of Redux Toolkit for data fetching". (CLI: -p, --prompt <text>)
research: Enable Taskmaster to use the research role for more informed updates. Requires appropriate API key. (CLI: -r, --research)
tag: Specify which tag context to operate on. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Handle significant implementation changes or pivots that affect multiple future tasks. Example CLI: task-master update --from='18' --prompt='Switching to React Query.\nNeed to refactor data fetching...'
Important: This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
9. Update Task (update_task)
MCP Tool:update_task
CLI Command:task-master update-task [options]
Description:Modify a specific Taskmaster task by ID, incorporating new information or changes. By default, this replaces the existing task details.
Key Parameters/Options:
id: Required. The specific ID of the Taskmaster task, e.g., '15', you want to update. (CLI: -i, --id <id>)
prompt: Required. Explain the specific changes or provide the new information Taskmaster should incorporate into this task. (CLI: -p, --prompt <text>)
append: If true, appends the prompt content to the task's details with a timestamp, rather than replacing them. Behaves like update-subtask. (CLI: --append)
research: Enable Taskmaster to use the research role for more informed updates. Requires appropriate API key. (CLI: -r, --research)
tag: Specify which tag context the task belongs to. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Refine a specific task based on new understanding. Use --append to log progress without creating subtasks.
Important: This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
10. Update Subtask (update_subtask)
MCP Tool:update_subtask
CLI Command:task-master update-subtask [options]
Description:Append timestamped notes or details to a specific Taskmaster subtask without overwriting existing content. Intended for iterative implementation logging.
Key Parameters/Options:
id: Required. The ID of the Taskmaster subtask, e.g., '5.2', to update with new information. (CLI: -i, --id <id>)
prompt: Required. The information, findings, or progress notes to append to the subtask's details with a timestamp. (CLI: -p, --prompt <text>)
research: Enable Taskmaster to use the research role for more informed updates. Requires appropriate API key. (CLI: -r, --research)
tag: Specify which tag context the subtask belongs to. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Log implementation progress, findings, and discoveries during subtask development. Each update is timestamped and appended to preserve the implementation journey.
Important: This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
11. Set Task Status (set_task_status)
MCP Tool:set_task_status
CLI Command:task-master set-status [options]
Description:Update the status of one or more Taskmaster tasks or subtasks, e.g., 'pending', 'in-progress', 'done'.
Key Parameters/Options:
id: Required. The ID(s) of the Taskmaster task(s) or subtask(s), e.g., '15', '15.2', or '16,17.1', to update. (CLI: -i, --id <id>)
status: Required. The new status to set, e.g., 'done', 'pending', 'in-progress', 'review', 'cancelled'. (CLI: -s, --status <status>)
tag: Specify which tag context to operate on. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Mark progress as tasks move through the development cycle.
12. Remove Task (remove_task)
MCP Tool:remove_task
CLI Command:task-master remove-task [options]
Description:Permanently remove a task or subtask from the Taskmaster tasks list.
Key Parameters/Options:
id: Required. The ID of the Taskmaster task, e.g., '5', or subtask, e.g., '5.2', to permanently remove. (CLI: -i, --id <id>)
yes: Skip the confirmation prompt and immediately delete the task. (CLI: -y, --yes)
tag: Specify which tag context to operate on. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Permanently delete tasks or subtasks that are no longer needed in the project.
Notes: Use with caution as this operation cannot be undone. Consider using 'blocked', 'cancelled', or 'deferred' status instead if you just want to exclude a task from active planning but keep it for reference. The command automatically cleans up dependency references in other tasks.
Task Structure & Breakdown
13. Expand Task (expand_task)
MCP Tool:expand_task
CLI Command:task-master expand [options]
Description:Use Taskmaster's AI to break down a complex task into smaller, manageable subtasks. Appends subtasks by default.
Key Parameters/Options:
id: The ID of the specific Taskmaster task you want to break down into subtasks. (CLI: -i, --id <id>)
num: Optional: Suggests how many subtasks Taskmaster should aim to create. Uses complexity analysis/defaults otherwise. (CLI: -n, --num <number>)
research: Enable Taskmaster to use the research role for more informed subtask generation. Requires appropriate API key. (CLI: -r, --research)
prompt: Optional: Provide extra context or specific instructions to Taskmaster for generating the subtasks. (CLI: -p, --prompt <text>)
force: Optional: If true, clear existing subtasks before generating new ones. Default is false (append). (CLI: --force)
tag: Specify which tag context the task belongs to. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Generate a detailed implementation plan for a complex task before starting coding. Automatically uses complexity report recommendations if available and num is not specified.
Important: This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
14. Expand All Tasks (expand_all)
MCP Tool:expand_all
CLI Command:task-master expand --all [options] (Note: CLI uses the expand command with the --all flag)
Description:Tell Taskmaster to automatically expand all eligible pending/in-progress tasks based on complexity analysis or defaults. Appends subtasks by default.
Key Parameters/Options:
num: Optional: Suggests how many subtasks Taskmaster should aim to create per task. (CLI: -n, --num <number>)
research: Enable research role for more informed subtask generation. Requires appropriate API key. (CLI: -r, --research)
prompt: Optional: Provide extra context for Taskmaster to apply generally during expansion. (CLI: -p, --prompt <text>)
force: Optional: If true, clear existing subtasks before generating new ones for each eligible task. Default is false (append). (CLI: --force)
tag: Specify which tag context to expand. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Useful after initial task generation or complexity analysis to break down multiple tasks at once.
Important: This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
15. Clear Subtasks (clear_subtasks)
MCP Tool:clear_subtasks
CLI Command:task-master clear-subtasks [options]
Description:Remove all subtasks from one or more specified Taskmaster parent tasks.
Key Parameters/Options:
id: The ID(s) of the Taskmaster parent task(s) whose subtasks you want to remove, e.g., '15' or '16,18'. Required unless using all.) (CLI: -i, --id `)
all: Tell Taskmaster to remove subtasks from all parent tasks. (CLI: --all)
tag: Specify which tag context to operate on. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Used before regenerating subtasks with expand_task if the previous breakdown needs replacement.
16. Remove Subtask (remove_subtask)
MCP Tool:remove_subtask
CLI Command:task-master remove-subtask [options]
Description:Remove a subtask from its Taskmaster parent, optionally converting it into a standalone task.
Key Parameters/Options:
id: Required. The ID(s) of the Taskmaster subtask(s) to remove, e.g., '15.2' or '16.1,16.3'. (CLI: -i, --id <id>)
convert: If used, Taskmaster will turn the subtask into a regular top-level task instead of deleting it. (CLI: -c, --convert)
skipGenerate: Prevent Taskmaster from automatically regenerating markdown task files after removing the subtask. (CLI: --skip-generate)
tag: Specify which tag context to operate on. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Delete unnecessary subtasks or promote a subtask to a top-level task.
17. Move Task (move_task)
MCP Tool:move_task
CLI Command:task-master move [options]
Description:Move a task or subtask to a new position within the task hierarchy.
Key Parameters/Options:
from: Required. ID of the task/subtask to move (e.g., "5" or "5.2"). Can be comma-separated for multiple tasks. (CLI: --from <id>)
to: Required. ID of the destination (e.g., "7" or "7.3"). Must match the number of source IDs if comma-separated. (CLI: --to <id>)
tag: Specify which tag context to operate on. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Reorganize tasks by moving them within the hierarchy. Supports various scenarios like:
Moving a task to become a subtask
Moving a subtask to become a standalone task
Moving a subtask to a different parent
Reordering subtasks within the same parent
Moving a task to a new, non-existent ID (automatically creates placeholders)
Moving multiple tasks at once with comma-separated IDs
Validation Features:
Allows moving tasks to non-existent destination IDs (creates placeholder tasks)
Prevents moving to existing task IDs that already have content (to avoid overwriting)
Validates that source tasks exist before attempting to move them
Maintains proper parent-child relationships
Example CLI:task-master move --from=5.2 --to=7.3 to move subtask 5.2 to become subtask 7.3.
Example Multi-Move:task-master move --from=10,11,12 --to=16,17,18 to move multiple tasks to new positions.
Common Use: Resolving merge conflicts in tasks.json when multiple team members create tasks on different branches.
Dependency Management
18. Add Dependency (add_dependency)
MCP Tool:add_dependency
CLI Command:task-master add-dependency [options]
Description:Define a dependency in Taskmaster, making one task a prerequisite for another.
Key Parameters/Options:
id: Required. The ID of the Taskmaster task that will depend on another. (CLI: -i, --id <id>)
dependsOn: Required. The ID of the Taskmaster task that must be completed first, the prerequisite. (CLI: -d, --depends-on <id>)
tag: Specify which tag context to operate on. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <path>)
Usage: Establish the correct order of execution between tasks.
Description:Have Taskmaster analyze your tasks to determine their complexity and suggest which ones need to be broken down further.
Key Parameters/Options:
output: Where to save the complexity analysis report. Default is '.taskmaster/reports/task-complexity-report.json' (or '..._tagname.json' if a tag is used). (CLI: -o, --output <file>)
threshold: The minimum complexity score (1-10) that should trigger a recommendation to expand a task. (CLI: -t, --threshold <number>)
research: Enable research role for more accurate complexity analysis. Requires appropriate API key. (CLI: -r, --research)
tag: Specify which tag context to analyze. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Used before breaking down tasks to identify which ones need the most attention.
Important: This MCP tool makes AI calls and can take up to a minute to complete. Please inform users to hang tight while the operation is in progress.
Description:Display the task complexity analysis report in a readable format.
Key Parameters/Options:
tag: Specify which tag context to show the report for. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to the complexity report (default: '.taskmaster/reports/task-complexity-report.json'). (CLI: -f, --file <file>)
Usage: Review and understand the complexity analysis results after running analyze-complexity.
File Management
24. Generate Task Files (generate)
MCP Tool:generate
CLI Command:task-master generate [options]
Description:Create or update individual Markdown files for each task based on your tasks.json.
Key Parameters/Options:
output: The directory where Taskmaster should save the task files (default: in a 'tasks' directory). (CLI: -o, --output <directory>)
tag: Specify which tag context to generate files for. Defaults to the current active tag. (CLI: --tag <name>)
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
Usage: Run this after making changes to tasks.json to keep individual task files up to date. This command is now manual and no longer runs automatically.
AI-Powered Research
25. Research (research)
MCP Tool:research
CLI Command:task-master research [options]
Description:Perform AI-powered research queries with project context to get fresh, up-to-date information beyond the AI's knowledge cutoff.
Key Parameters/Options:
query: Required. Research query/prompt (e.g., "What are the latest best practices for React Query v5?"). (CLI: [query] positional or -q, --query <text>)
taskIds: Comma-separated list of task/subtask IDs from the current tag context (e.g., "15,16.2,17"). (CLI: -i, --id <ids>)
filePaths: Comma-separated list of file paths for context (e.g., "src/api.js,docs/readme.md"). (CLI: -f, --files <paths>)
customContext: Additional custom context text to include in the research. (CLI: -c, --context <text>)
includeProjectTree: Include project file tree structure in context (default: false). (CLI: --tree)
detailLevel: Detail level for the research response: 'low', 'medium', 'high' (default: medium). (CLI: --detail <level>)
saveTo: Task or subtask ID (e.g., "15", "15.2") to automatically save the research conversation to. (CLI: --save-to <id>)
saveFile: If true, saves the research conversation to a markdown file in '.taskmaster/docs/research/'. (CLI: --save-file)
noFollowup: Disables the interactive follow-up question menu in the CLI. (CLI: --no-followup)
tag: Specify which tag context to use for task-based context gathering. Defaults to the current active tag. (CLI: --tag <name>)
projectRoot: The directory of the project. Must be an absolute path. (CLI: Determined automatically)
Usage:This is a POWERFUL tool that agents should use FREQUENTLY to:
Get fresh information beyond knowledge cutoff dates
Research latest best practices, library updates, security patches
Find implementation examples for specific technologies
Validate approaches against current industry standards
Get contextual advice based on project files and tasks
When to Consider Using Research:
Before implementing any task - Research current best practices
When encountering new technologies - Get up-to-date implementation guidance (libraries, apis, etc)
For security-related tasks - Find latest security recommendations
When updating dependencies - Research breaking changes and migration guides
For performance optimization - Get current performance best practices
When debugging complex issues - Research known solutions and workarounds
Research + Action Pattern:
Use research to gather fresh information
Use update_subtask to commit findings with timestamps
Use update_task to incorporate research into task details
Use add_task with research flag for informed task creation
Important: This MCP tool makes AI calls and can take up to a minute to complete. The research provides FRESH data beyond the AI's training cutoff, making it invaluable for current best practices and recent developments.
Tag Management
This new suite of commands allows you to manage different task contexts (tags).
26. List Tags (tags)
MCP Tool:list_tags
CLI Command:task-master tags [options]
Description:List all available tags with task counts, completion status, and other metadata.
Key Parameters/Options:
file: Path to your Taskmaster 'tasks.json' file. Default relies on auto-detection. (CLI: -f, --file <file>)
--show-metadata: Include detailed metadata in the output (e.g., creation date, description). (CLI: --show-metadata)
Set API keys in your .env file in the project root (for CLI use) or within the env section of your .vscode/mcp.json file (for MCP/VS Code integration). All other settings (model choice, max tokens, temperature, log level, custom endpoints) are managed in .taskmaster/config.json via task-master models command or models MCP tool.
For details on how these commands fit into the development process, see the Development Workflow Guide.