> ## Documentation Index
> Fetch the complete documentation index at: https://taskgraph-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI Commands

> A reference of all TaskGraph commands, grouped by what you use them for

Every `taskgraph` command, with its flags and examples, on four pages:

| Page | Commands |
| - | - |
| [Finding Work](https://taskgraph-ai.com/capabilities/cli-viewing-commands.md) | [`list`](https://taskgraph-ai.com/capabilities/cli-viewing-commands#list-tasks), [`next`](https://taskgraph-ai.com/capabilities/cli-viewing-commands#show-next-task), [`show`](https://taskgraph-ai.com/capabilities/cli-viewing-commands#show-specific-task), [`graph`](https://taskgraph-ai.com/capabilities/cli-viewing-commands#show-the-dependency-tree), [`why`](https://taskgraph-ai.com/capabilities/cli-viewing-commands#explain-why-a-task-is-blocked), [`prime`](https://taskgraph-ai.com/capabilities/cli-viewing-commands#prime-a-coding-agent) |
| [Updating Tasks](https://taskgraph-ai.com/capabilities/cli-updating-commands.md) | [`update`](https://taskgraph-ai.com/capabilities/cli-updating-commands#update-tasks), [`update-task`](https://taskgraph-ai.com/capabilities/cli-updating-commands#update-a-specific-task), [`update-subtask`](https://taskgraph-ai.com/capabilities/cli-updating-commands#update-a-subtask), [`note`](https://taskgraph-ai.com/capabilities/cli-updating-commands#log-a-progress-note), [`set-status`](https://taskgraph-ai.com/capabilities/cli-updating-commands#set-task-status), [`generate`](https://taskgraph-ai.com/capabilities/cli-updating-commands#generate-task-files), [`add-dependency`, `remove-dependency`, `validate-dependencies`, `fix-dependencies`](https://taskgraph-ai.com/capabilities/cli-updating-commands#managing-task-dependencies), [`move`](https://taskgraph-ai.com/capabilities/cli-updating-commands#move-tasks) |
| [Planning Commands](https://taskgraph-ai.com/capabilities/cli-planning-commands.md) | [`parse-prd`](https://taskgraph-ai.com/capabilities/cli-planning-commands#parse-prd), [`add-task`](https://taskgraph-ai.com/capabilities/cli-planning-commands#add-a-new-task), [`expand`](https://taskgraph-ai.com/capabilities/cli-planning-commands#expand-tasks), [`clear-subtasks`](https://taskgraph-ai.com/capabilities/cli-planning-commands#clear-subtasks), [`analyze-complexity`](https://taskgraph-ai.com/capabilities/cli-planning-commands#analyze-task-complexity), [`complexity-report`](https://taskgraph-ai.com/capabilities/cli-planning-commands#view-complexity-report), [`research`](https://taskgraph-ai.com/capabilities/cli-planning-commands#research-fresh-information) |
| [Project Setup](https://taskgraph-ai.com/capabilities/cli-project-commands.md) | [`init`](https://taskgraph-ai.com/capabilities/cli-project-commands#initialize-a-project), [`tags`](https://taskgraph-ai.com/capabilities/cli-project-commands#tag-management), [`models`](https://taskgraph-ai.com/capabilities/cli-project-commands#configure-ai-models), [`completion`](https://taskgraph-ai.com/capabilities/cli-project-commands#tab-completion), [`loop`](https://taskgraph-ai.com/capabilities/cli-project-commands#loop-autonomous-batch-execution) |

`taskgraph --help` lists every command, and `taskgraph <command> --help` its flags.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.