
Task O Matic
- 13 installs
- 5 repo stars
- Updated January 21, 2026
- dimitrigilbert/task-o-matic
Parse PRDs into tasks and execute them with multi-provider AI assistants using the task-o-matic CLI.
About
AI-powered task management CLI that parses PRDs, breaks down work, and executes tasks with AI assistants. A developer uses it to initialize a project and drive AI-assisted task execution.
- Parses PRDs into structured tasks and breaks them into subtasks with AI
- Executes tasks with multi-provider AI support, retry, and verification via an execute-loop
Task O Matic by the numbers
- 13 all-time installs (skills.sh)
- Ranked #2,148 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
- Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dimitrigilbert/task-o-matic --skill task-o-maticAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 13 |
|---|---|
| repo stars | ★ 5 |
| Last updated | January 21, 2026 |
| Repository | dimitrigilbert/task-o-matic ↗ |
What it does
Parse PRDs into tasks and execute them with multi-provider AI assistants using the task-o-matic CLI.
Files
Task-O-Matic
AI-powered task management CLI for single projects. Helps initialize projects, parse PRDs into tasks, break down work with AI, and execute tasks with automatic retry and verification.
When to Use
Use when the user wants to:
- Initialize a new project with task-o-matic
- Attach task-o-matic to an existing project (detect stack automatically)
- Parse a PRD (Product Requirements Document) into structured tasks
- Break down tasks into smaller subtasks using AI
- Enhance tasks with AI-powered documentation research
- Execute tasks with AI coding assistants
- Configure AI providers and models
CLI Location
The CLI binary is at: packages/cli/dist/cli/bin.js (after building)
Run with: node packages/cli/dist/cli/bin.js <command> [options]
Or if installed globally: task-o-matic <command> [options]
Core Workflow
# New project workflow
1. Initialize project (task-o-matic init init)
2. Configure AI provider (task-o-matic config set-ai-provider)
3. Parse PRD into tasks (task-o-matic prd parse)
4. Split tasks into subtasks (task-o-matic tasks split --all)
5. Execute tasks (task-o-matic tasks execute-loop)
# Existing project workflow
1. Attach to existing project (task-o-matic init attach)
2. Configure AI provider (task-o-matic config set-ai-provider)
3. Generate PRD from codebase (task-o-matic prd generate --from-codebase)
4. Create tasks from PRD (task-o-matic prd parse)
5. Execute tasks (task-o-matic tasks execute-loop)Common Commands
Initialize Project
# Basic initialization
task-o-matic init init --project-name my-app --package-manager bun
# With specific AI provider
task-o-matic init init --project-name my-app --ai-provider openrouter --ai-model xiaomi/mimo-v2-flash:free
# With Better-T-Stack bootstrap
task-o-matic init init --project-name my-app --frontend next --backend convex --auth better-authOptions:
--ai-provider <provider>: AI provider (openrouter/anthropic/openai/custom)--ai-model <model>: AI model--project-name <name>: Project name--package-manager <pm>: bun/npm/pnpm (default: npm)--frontend <frontends...>: Frontend framework(s) (default: next)--backend <backend>: Backend framework (default: convex)--auth <auth>: Authentication (default: better-auth)--directory <dir>: Working directory
Attach to Existing Project
# Attach to existing project (auto-detect stack)
task-o-matic init attach
# With full project analysis
task-o-matic init attach --analyze
# Dry run (just show detection, don't create files)
task-o-matic init attach --dry-run
# Force re-detection (update cached stack.json)
task-o-matic init attach --redetectOptions:
--analyze: Run full project analysis (TODOs, features, structure)--dry-run: Just detect stack, don't create files--redetect: Force re-detection (overwrites cached stack.json)--ai-provider <provider>: AI provider (openrouter/anthropic/openai/custom)--ai-model <model>: AI model--context7-api-key <key>: Context7 API key
What it detects:
- Language (TypeScript/JavaScript)
- Framework(s) (Next.js, Express, Hono, etc.)
- Database (Postgres, MongoDB, SQLite, etc.)
- ORM (Prisma, Drizzle, etc.)
- Auth (Better-Auth, Clerk, NextAuth, etc.)
- Package Manager (npm, pnpm, bun, yarn)
- Runtime (Node, Bun)
- API style (tRPC, GraphQL, REST)
- Testing frameworks
- Build tools
What it creates:
.task-o-matic/config.json- AI settings.task-o-matic/stack.json- Cached stack detection (used by AI context).task-o-matic/mcp.json- Context7 config.task-o-matic/tasks/- Task storage.task-o-matic/prd/- PRD storage- Updates
.gitignoreif git exists
Configure AI Provider
# Set provider and model
task-o-matic config set-ai-provider openrouter xiaomi/mimo-v2-flash:free
# Set with custom URL
task-o-matic config set-ai-provider custom https://api.example.com
# Check current config
task-o-matic config get-ai-configGenerate PRD from Codebase
# Analyze current project and generate PRD
task-o-matic prd generate
# With streaming output
task-o-matic prd generate --stream
# With custom output filename
task-o-matic prd generate --output my-project-prd.mdParse PRD
# Basic parse
task-o-matic prd parse --file prd.md
# With streaming output
task-o-matic prd parse --file prd.md --stream
# With reasoning tokens (for models that support it)
task-o-matic prd parse --file prd.md --ai-reasoning 4000 --stream
# Multiple models with combination
task-o-matic prd parse --file prd.md --ai openrouter:model1 openrouter:model2 --combine-ai openrouter:combine-modelOptions:
--file <path>: Path to PRD file (required)--stream: Show streaming AI output--ai-reasoning <tokens>: Max reasoning tokens for supported models--ai <models...>: Multiple AI models--combine-ai <provider:model>: Model to combine results--tools: Enable filesystem tools for project analysis
Work with Tasks
List Tasks
task-o-matic tasks list
# With filters
task-o-matic tasks list --status todo
task-o-matic tasks list --tag frontendCreate Task
# Manual creation
task-o-matic tasks create --title "Add authentication" --content "Implement OAuth2 login"
# With AI enhancement
task-o-matic tasks create --title "Add authentication" --ai-enhance --streamSplit Tasks
# Split specific task
task-o-matic tasks split --task-id 1 --stream
# Split all tasks
task-o-matic tasks split --all --stream
# With filters
task-o-matic tasks split --all --status todo --streamOptions:
--task-id <id>: Specific task to split--all: Split all tasks without subtasks--status <status>: Filter by status (todo/in-progress/completed)--stream: Show streaming output--ai-reasoning <tokens>: Enable reasoning--dry: Preview without changes
Enhance Tasks
# Enhance specific task
task-o-matic tasks enhance --task-id 1 --stream
# Enhance all tasks
task-o-matic tasks enhance --all --stream
# With filter
task-o-matic tasks enhance --all --status todo --streamOptions:
--task-id <id>: Specific task to enhance--all: Enhance all tasks--status <status>: Filter by status--tag <tag>: Filter by tag--dry: Preview without changes--force: Skip confirmation
Task Status
# Set task status
task-o-matic tasks status --task-id 1 --status in-progress
# Available statuses: todo, in-progress, completedTask Tree
# Show hierarchical task tree
task-o-matic tasks treeGet Next Task
# Get next task to work on
task-o-matic tasks get-nextExecute Tasks
# Execute all todo tasks
task-o-matic tasks execute-loop --status todo
# Execute specific tasks
task-o-matic tasks execute-loop --ids 1,2,3
# With specific tool
task-o-matic tasks execute-loop --tool claude
# With planning phase
task-o-matic tasks execute-loop --plan --review-plan
# With verification
task-o-matic tasks execute-loop --verify "bun run test" --verify "bun run type-check"
# Progressive model escalation
task-o-matic tasks execute-loop --try-models "gpt-4o-mini,gpt-4o,claude:sonnet-4"Options:
--status <status>: Filter by status--tag <tag>: Filter by tag--ids <ids>: Comma-separated task IDs--tool <tool>: opencode/claude/gemini/codex (default: opencode)--max-retries <number>: Max retries per task (default: 3)--model <model>: Force specific model--verify <command>: Verification command (can be used multiple times)--plan: Generate implementation plan before execution--plan-model <model>: Model for planning--review-plan: Pause for human review of plan--review: Run AI review after execution--auto-commit: Auto-commit after each task--try-models <models>: Progressive models for retries--dry: Show what would execute
PRD Management
Create PRD from Description
task-o-matic prd create "Build a task management app with real-time updates"Refine PRD with Questions
# Generate questions, answer interactively, refine PRD
task-o-matic prd refine --file prd.md --output prd_refined.md --stream
# Questions mode: AI generates clarifying questions
task-o-matic prd question --file prd.mdCombine PRDs
task-o-matic prd combine --files prd1.md,prd2.md --output master.mdGet Tech Stack Suggestion
task-o-matic prd get-stack --file prd.mdInteractive Workflow
The workflow command provides an all-in-one interactive experience:
# Full interactive workflow
task-o-matic workflow
# Skip specific steps
task-o-matic workflow --skip-bootstrap --skip-prd-question-refine
# Auto-accept all suggestions
task-o-matic workflow --auto-accept
# Use config file
task-o-matic workflow --config-file workflow-config.jsonWorkflow covers:
- Project initialization
- PRD creation/upload
- PRD question & refinement
- Task generation
- Task splitting
- Task execution
AI Providers
OpenRouter
task-o-matic config set-ai-provider openrouter xiaomi/mimo-v2-flash:freePopular free models:
xiaomi/mimo-v2-flash:freegoogle/gemma-3-27b-it:freemeta-llama/llama-3.3-8b-instruct:free
Anthropic
task-o-matic config set-ai-provider anthropic claude-3-5-sonnet-20241022OpenAI
task-o-matic config set-ai-provider openai gpt-4oCustom
task-o-matic config set-ai-provider custom https://api.example.comEnvironment Variables
Set in .env file or environment:
AI_PROVIDER=openrouter
AI_MODEL=xiaomi/mimo-v2-flash:free
OPENROUTER_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here
OPENAI_API_KEY=your_key_hereProject Structure
After initialization:
.task-o-matic/
├── config.json # Project configuration
├── tasks.json # Tasks database
├── prd.md # PRD file
└── plans/ # Implementation plansBest Practices
1. Always use `--stream` for long-running AI operations to see progress 2. Use `--ai-reasoning` with models that support it for better task breakdown 3. Filter by status when splitting/enhancing to avoid reprocessing completed tasks 4. Use `--dry` first for bulk operations to preview changes 5. Start with free models (OpenRouter free tier) before using paid models 6. Use `--verify` during execution to run tests after each task 7. Enable `--plan` for complex tasks to get implementation plans first
Example Session
# 1. Initialize
task-o-matic init init --project-name my-app --package-manager bun
# 2. Configure AI (optional if set in .env)
task-o-matic config set-ai-provider openrouter xiaomi/mimo-v2-flash:free
# 3. Parse PRD
task-o-matic prd parse --file prd.md --stream --ai-reasoning 4000
# 4. Review tasks
task-o-matic tasks tree
# 5. Split all tasks
task-o-matic tasks split --all --stream --ai-reasoning 4000
# 6. Enhance tasks with documentation
task-o-matic tasks enhance --all --stream
# 7. Execute
task-o-matic tasks execute-loop --status todo --verify "bun run test" --planAdvanced Topics
Progressive Model Escalation
Use cheaper models first, escalate to better ones on failure:
task-o-matic tasks execute-loop \
--try-models "xiaomi/mimo-v2-flash:free,gpt-4o-mini,claude:sonnet-4" \
--max-retries 3Planning Phase
Generate implementation plans before execution:
task-o-matic tasks execute-loop \
--plan \
--plan-model gpt-4o \
--review-planCustom Verification
Run multiple verification commands:
task-o-matic tasks execute-loop \
--verify "bun run type-check" \
--verify "bun run test" \
--verify "bun run lint"See Also
- Complete Command Reference - Detailed command options
- Project README - Full project documentation
- Tutorial - Step-by-step guide
Task-O-Matic Complete Command Reference
Complete reference for all task-o-matic CLI commands and options.
Table of Contents
- init - Initialize projects
- config - Manage configuration
- prd - Manage PRDs
- tasks - Manage tasks
- workflow - Interactive workflow
- prompt - Build AI prompts
- install - Install documentation
---
init
Initialize task-o-matic project and bootstrap projects.
init init
Initialize a new task-o-matic project in the current directory.
task-o-matic init init [options]Options:
| Option | Description | Default |
|---|---|---|
--ai-provider <provider> | AI provider (openrouter/anthropic/openai/custom) | openrouter |
--ai-model <model> | AI model | z-ai/glm-4.6 |
--ai-key <key> | AI API key | - |
--ai-provider-url <url> | AI provider URL | - |
--max-tokens <tokens> | Max tokens for AI (min 32768 for 2025) | 32768 |
--temperature <temp> | AI temperature | 0.5 |
--no-bootstrap | Skip bootstrap after initialization | - |
--project-name <name> | Project name for bootstrap | - |
--frontend <frontends...> | Frontend framework(s) - space/comma-separated | next |
--backend <backend> | Backend framework for bootstrap | convex |
--database <database> | Database for bootstrap | - |
--auth <auth> | Authentication for bootstrap | better-auth |
--context7-api-key <key> | Context7 API key | - |
--directory <dir> | Working directory for the project | - |
--package-manager <pm> | Package manager (npm/pnpm/bun) | npm |
--runtime <runtime> | Runtime (bun/node) | node |
--payment <payment> | Payment provider (none/polar) | none |
--cli-deps <level> | CLI dependency level | standard |
Frontend options: next, native-bare, cli, etc. Backend options: convex, etc. CLI dependency levels: minimal, standard, full, task-o-matic
init bootstrap
Bootstrap a new project (web/native/cli).
task-o-matic init bootstrap [options] <name>Arguments:
name- Project name
init attach
Attach task-o-matic to an existing project with automatic stack detection.
task-o-matic init attach [options]Options:
| Option | Description | Default |
|---|---|---|
--analyze | Run full project analysis (TODOs, features, structure) | - |
--create-prd | Auto-generate a PRD from codebase analysis | - |
--dry-run | Just detect stack, don't create files | - |
--redetect | Force re-detection (overwrites cached stack.json) | - |
--ai-provider <provider> | AI provider (openrouter/anthropic/openai/custom) | openrouter |
--ai-model <model> | AI model | z-ai/glm-4.6 |
--ai-key <key> | AI API key | - |
--ai-provider-url <url> | AI provider URL | - |
--max-tokens <tokens> | Max tokens for AI | 32768 |
--temperature <temp> | AI temperature | 0.5 |
--context7-api-key <key> | Context7 API key | - |
Stack Detection:
The command automatically detects:
- Language (TypeScript/JavaScript/Python/Go/Rust)
- Framework(s) (Next.js, Express, Hono, Vue, Svelte, etc.)
- Database (Postgres, MongoDB, SQLite, MySQL, Redis)
- ORM (Prisma, Drizzle, TypeORM, Mongoose)
- Auth (Better-Auth, Clerk, NextAuth, Auth0, Lucia)
- Package Manager (npm, pnpm, bun, yarn)
- Runtime (Node, Bun, Deno)
- API style (tRPC, GraphQL, REST, oRPC)
- Testing frameworks (Jest, Vitest, Mocha, Playwright)
- Build tools (Vite, Webpack, esbuild, Turborepo)
Created Files:
.task-o-matic/
├── config.json # AI configuration
├── stack.json # Cached stack detection (used by all AI operations)
├── mcp.json # Context7 configuration
├── tasks/ # Task storage
├── prd/ # PRD storage
├── logs/ # Operation logs
└── docs/ # DocumentationExamples:
# Basic attach (auto-detect stack)
task-o-matic init attach
# With full analysis (TODOs, features, structure)
task-o-matic init attach --analyze
# Dry run to preview detection
task-o-matic init attach --dry-run
# Re-detect after stack changes
task-o-matic init attach --redetect
# With custom AI provider
task-o-matic init attach --ai-provider openrouter --ai-model anthropic/claude-3.5-sonnet---
config
Manage task-o-matic configuration.
config get-ai-config
Get the current AI configuration.
task-o-matic config get-ai-configconfig set-ai-provider
Set the AI provider and model.
task-o-matic config set-ai-provider <provider> [model]Arguments:
provider- AI provider (openrouter, anthropic, openai, custom URL)model- Model name (optional)
Examples:
task-o-matic config set-ai-provider openrouter xiaomi/mimo-v2-flash:free
task-o-matic config set-ai-provider anthropic claude-3-5-sonnet-20241022
task-o-matic config set-ai-provider custom https://api.example.comconfig info
Get information about the current task-o-matic project.
task-o-matic config info---
prd
Manage PRDs and generate tasks.
prd create
Generate PRD(s) from a product description.
task-o-matic prd create [options] <description>Options:
| Option | Description |
|---|---|
--output <file> | Output file path |
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
--ai-key <key> | AI API key override |
--ai-provider-url <url> | AI provider URL override |
prd generate
Generate a PRD from an existing codebase (reverse-engineering).
task-o-matic prd generate [options]Options:
| Option | Description |
|---|---|
--from-codebase | Analyze the current project and generate a PRD (default) |
--output <filename> | Output filename (default: current-state.md) |
--ai <model> | AI model to use (format: provider:model) |
--stream | Enable streaming output |
--tools | Enable filesystem tools for deeper analysis |
--json | Output result as JSON |
prd combine
Combine multiple PRD files into a master PRD.
task-o-matic prd combine [options]Options:
| Option | Description |
|---|---|
--files <paths> | Comma-separated list of PRD files |
--output <file> | Output file path |
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
prd parse
Parse a PRD file into structured tasks.
task-o-matic prd parse [options]Options:
| Option | Description |
|---|---|
--file <path> | Path to PRD file |
--ai <models...> | AI model(s) to use. Format: [provider:]model[;reasoning[=budget]] |
--combine-ai <provider:model> | AI model to combine multiple parsed results |
--prompt <prompt> | Override prompt |
--message <message> | User message |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
--ai-key <key> | AI API key override |
--ai-provider-url <url> | AI provider URL override |
--ai-reasoning <tokens> | Enable reasoning for OpenRouter models (max reasoning tokens) |
--stream | Show streaming AI output during parsing |
--tools | Enable filesystem tools for project analysis |
Examples:
# Basic parse
task-o-matic prd parse --file prd.md
# With streaming and reasoning
task-o-matic prd parse --file prd.md --stream --ai-reasoning 4000
# Multiple models
task-o-matic prd parse --file prd.md --ai openrouter:model1 openrouter:model2 --combine-ai openrouter:combine-modelprd rework
Rework a PRD based on user feedback.
task-o-matic prd rework [options]Options:
| Option | Description |
|---|---|
--file <path> | Path to PRD file |
--feedback <feedback> | Feedback for rework |
--output <file> | Output file path |
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
prd question
Generate clarifying questions for a PRD.
task-o-matic prd question [options]Options:
| Option | Description |
|---|---|
--file <path> | Path to PRD file |
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
prd refine
Refine PRD by answering clarifying questions.
task-o-matic prd refine [options]Options:
| Option | Description |
|---|---|
--file <path> | Path to PRD file |
--output <file> | Output file path |
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
Interactive flow: 1. AI generates clarifying questions 2. User answers each question 3. AI refines PRD based on answers
prd get-stack
Suggest optimal technology stack based on PRD analysis.
task-o-matic prd get-stack [options]Options:
| Option | Description |
|---|---|
--file <path> | Path to PRD file (optional, uses current PRD if not specified) |
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
---
tasks
Manage tasks.
tasks list
List all tasks.
task-o-matic tasks list [options]Options:
| Option | Description |
|---|---|
--status <status> | Filter by status (todo/in-progress/completed) |
--tag <tag> | Filter by tag |
--json | Output as JSON |
tasks create
Create a new task with AI enhancement using Context7.
task-o-matic tasks create [options]Options:
| Option | Description |
|---|---|
--title <title> | Task title |
--content <content> | Task content/description |
--status <status> | Initial status |
--tags <tags> | Comma-separated tags |
--parent <id> | Parent task ID |
--ai-enhance | Enhance with AI using Context7 |
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
Examples:
# Manual creation
task-o-matic tasks create --title "Add auth" --content "Implement OAuth2"
# With AI enhancement
task-o-matic tasks create --title "Add auth" --ai-enhance --streamtasks show
Show detailed information about a task.
task-o-matic tasks show [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--json | Output as JSON |
tasks update
Update an existing task.
task-o-matic tasks update [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--title <title> | New title |
--content <content> | New content |
--status <status> | New status |
tasks delete
Delete a task.
task-o-matic tasks delete [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--force | Skip confirmation |
tasks status
Set task status.
task-o-matic tasks status [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--status <status> | New status (todo/in-progress/completed) |
Examples:
task-o-matic tasks status --task-id 1 --status in-progress
task-o-matic tasks status --task-id 1 --status completedtasks add-tags
Add tags to a task.
task-o-matic tasks add-tags [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--tags <tags> | Comma-separated tags to add |
tasks remove-tags
Remove tags from a task.
task-o-matic tasks remove-tags [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--tags <tags> | Comma-separated tags to remove |
tasks plan
Create detailed implementation plan for a task or subtask.
task-o-matic tasks plan [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--subtask-id <id> | Subtask ID |
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
--reasoning <tokens> | Enable reasoning tokens |
tasks get-plan
View existing implementation plan for a task or subtask.
task-o-matic tasks get-plan [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--subtask-id <id> | Subtask ID |
tasks list-plan
List all available implementation plans.
task-o-matic tasks list-plantasks delete-plan
Delete implementation plan for a task.
task-o-matic tasks delete-plan [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--subtask-id <id> | Subtask ID |
tasks set-plan
Set implementation plan for a task.
task-o-matic tasks set-plan [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--subtask-id <id> | Subtask ID |
--plan <file> | Plan file path |
tasks enhance
Enhance an existing task with AI using Context7 documentation.
task-o-matic tasks enhance [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID to enhance |
--all | Enhance all existing tasks |
--status <status> | Filter tasks by status (todo/in-progress/completed) |
--tag <tag> | Filter tasks by tag |
--dry | Preview what would be enhanced without making changes |
--force | Skip confirmation prompt for bulk operations |
--stream | Show streaming AI output during enhancement |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
--ai-key <key> | AI API key override |
--ai-provider-url <url> | AI provider URL override |
--reasoning <tokens> | Enable reasoning for OpenRouter models (max reasoning tokens) |
Examples:
# Enhance specific task
task-o-matic tasks enhance --task-id 1 --stream
# Enhance all todo tasks
task-o-matic tasks enhance --all --status todo --stream
# Dry run first
task-o-matic tasks enhance --all --drytasks split
Split a task into smaller subtasks using AI.
task-o-matic tasks split [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID to split |
--all | Split all existing tasks that don't have subtasks |
--status <status> | Filter tasks by status (todo/in-progress/completed) |
--tag <tag> | Filter tasks by tag |
--dry | Preview what would be split without making changes |
--force | Skip confirmation prompt for bulk operations |
--stream | Show streaming AI output during breakdown |
--ai-provider <provider> | AI provider override |
--ai-key <key> | AI API key override |
--ai-provider-url <url> | AI provider URL override |
--ai <models...> | AI model(s) to use. Format: [provider:]model[;reasoning[=budget]] |
--combine-ai <provider:model> | AI model to combine multiple split results |
--reasoning <tokens> | Enable reasoning for OpenRouter models (max reasoning tokens) |
--tools | Enable filesystem tools for project analysis |
Examples:
# Split specific task
task-o-matic tasks split --task-id 1 --stream
# Split all tasks
task-o-matic tasks split --all --stream --reasoning 4000
# Dry run
task-o-matic tasks split --all --drytasks document
Analyze and fetch documentation for a task using AI with Context7.
task-o-matic tasks document [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--stream | Show streaming AI output |
tasks get-documentation
Get existing documentation for a task.
task-o-matic tasks get-documentation [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
tasks add-documentation
Add documentation to a task from a file.
task-o-matic tasks add-documentation [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--file <path> | Documentation file path |
tasks execute
Execute a task using an external coding assistant.
task-o-matic tasks execute [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID to execute |
--tool <tool> | External tool (opencode/claude/gemini/codex) |
--model <model> | Model to force for execution |
--message <message> | Custom message to send to the tool |
--continue-session | Continue the last session (for error feedback) |
--auto-commit | Automatically commit changes after task |
--plan | Generate an implementation plan before execution |
--plan-model <model> | Model/executor to use for planning |
--review-plan | Pause for human review of the plan |
--review | Run AI review after execution |
--review-model <model> | Model/executor to use for review |
tasks execute-loop
Execute multiple tasks in a loop with retry logic and verification.
task-o-matic tasks execute-loop [options]Options:
| Option | Description |
|---|---|
--status <status> | Filter tasks by status (todo/in-progress/completed) |
--tag <tag> | Filter tasks by tag |
--ids <ids> | Comma-separated list of task IDs to execute |
--tool <tool> | External tool to use (opencode/claude/gemini/codex) |
--max-retries <number> | Maximum number of retries per task |
--try-models <models> | Progressive model/executor configs for each retry |
-m, --model <model> | Model to force for execution |
--verify <command> | Verification command to run after each task (can be used multiple times) |
--validate <command> | Alias for --verify |
--message <message> | Custom message to send to the tool (overrides task plan) |
--continue-session | Continue the last session (for error feedback) |
--auto-commit | Automatically commit changes after each task |
--plan | Generate an implementation plan before execution |
--plan-model <model> | Model/executor to use for planning |
--plan-tool <tool> | Tool/Executor to use for planning |
--review-plan | Pause for human review of the plan |
--review | Run AI review after execution |
--review-model <model> | Model/executor to use for review |
--include-completed | Include already-completed tasks in execution |
--include-prd | Include PRD content in execution context |
--notify <target> | Notify on completion via URL or command (can be used multiple times) |
--dry | Show what would be executed without running it |
Examples:
# Execute all todo tasks
task-o-matic tasks execute-loop --status todo
# With verification
task-o-matic tasks execute-loop --verify "bun run test" --verify "bun run type-check"
# With planning and review
task-o-matic tasks execute-loop --plan --review-plan --review
# Progressive model escalation
task-o-matic tasks execute-loop --try-models "gpt-4o-mini,gpt-4o,claude:sonnet-4"tasks subtasks
List subtasks for a task.
task-o-matic tasks subtasks [options]Options:
| Option | Description |
|---|---|
--task-id <id> | Task ID |
--json | Output as JSON |
tasks tree
Display hierarchical task tree.
task-o-matic tasks tree [options]Options:
| Option | Description |
|---|---|
--json | Output as JSON |
tasks get-next
Get the next task to work on (defaults to hierarchical order).
task-o-matic tasks get-next [options]Options:
| Option | Description |
|---|---|
--status <status> | Filter by status |
--tag <tag> | Filter by tag |
---
workflow
Interactive workflow for complete project setup and task management.
task-o-matic workflow [options]Options:
| Option | Description |
|---|---|
--stream | Show streaming AI output |
--ai-provider <provider> | AI provider override |
--ai-model <model> | AI model override |
--ai-key <key> | AI API key override |
--ai-provider-url <url> | AI provider URL override |
--skip-all | Skip all optional steps (use defaults) |
--auto-accept | Auto-accept all AI suggestions |
--config-file <path> | Load workflow options from JSON file |
--skip-init | Skip initialization step |
--project-name <name> | Project name |
--init-method <method> | Initialization method: quick, custom, ai |
--project-description <desc> | Project description for AI-assisted init |
--use-existing-config | Use existing configuration if found |
--frontend <framework> | Frontend framework |
--backend <framework> | Backend framework |
--database <db> | Database choice |
--auth | Include authentication |
--no-auth | Exclude authentication |
--bootstrap | Bootstrap with Better-T-Stack |
--no-bootstrap | Skip bootstrapping |
--include-docs | Include Task-O-Matic documentation in new project |
--no-include-docs | Skip including documentation |
--skip-prd | Skip PRD definition |
--prd-method <method> | PRD method: upload, manual, ai, skip |
--prd-file <path> | Path to existing PRD file |
--prd-description <desc> | Product description for AI-assisted PRD |
--prd-content <content> | Direct PRD content |
--prd-multi-generation | Generate multiple PRDs and compare |
--skip-prd-multi-generation | Skip PRD multi-generation |
--prd-multi-generation-models <models> | Comma-separated list of models for multi-generation |
--prd-combine | Combine generated PRDs into a master PRD |
--skip-prd-combine | Skip PRD combination |
--prd-combine-model <model> | Model to use for combining PRDs |
--skip-stack-suggestion | Skip stack suggestion step |
--suggest-stack-from-prd [path] | Get stack from PRD |
--skip-bootstrap | Skip bootstrap step |
--skip-prd-question-refine | Skip PRD question/refine step |
--prd-question-refine | Use question-based PRD refinement |
--prd-answer-mode <mode> | Who answers questions: user, ai |
--prd-answer-ai-provider <provider> | AI provider for answering |
--prd-answer-ai-model <model> | AI model for answering |
--prd-answer-ai-reasoning | Enable reasoning for AI answering model |
--skip-refine | Skip PRD refinement |
--refine-method <method> | Refinement method: manual, ai, skip |
--refine-feedback <feedback> | Feedback for AI refinement |
--skip-generate | Skip task generation |
--generate-method <method> | Generation method: standard, ai |
--generate-instructions <instructions> | Custom task generation instructions |
--skip-split | Skip task splitting |
--split-tasks <ids> | Comma-separated task IDs to split |
--split-all | Split all tasks |
--split-method <method> | Split method: interactive, standard, custom |
--split-instructions <instructions> | Custom split instructions |
--execute | Execute generated tasks immediately |
--execute-concurrency <number> | Number of concurrent tasks |
--no-auto-commit | Disable auto-commit during execution |
--execute-tool <tool> | Executor tool |
--execute-model <model> | Model override for execution |
--execute-max-retries <number> | Max retries per task |
--execute-plan | Enable planning phase |
--execute-plan-model <model> | Model for planning |
--execute-review | Enable review phase |
--execute-review-model <model> | Model for review |
--verify <command> | Verification command (can be used multiple times) |
--validate <command> | Alias for --verify |
--try-models <models> | Progressive model/executor configs |
---
prompt
Build AI service prompts with variable replacement for external tools.
task-o-matic prompt [options] [name]Arguments:
name- Prompt name
Options:
| Option | Description |
|---|---|
--var <key=value> | Variable to replace (can be used multiple times) |
--output <file> | Output file |
--list | List available prompts |
---
install
Install task-o-matic documentation and agent guides into current project.
task-o-matic install [options] <target>Arguments:
target- Installation target
Options:
| Option | Description |
|---|---|
--docs | Install documentation |
--agents | Install agent guides |
---
Global Options
These options can be used with any command:
| Option | Description |
|---|---|
-v, --verbose | Enable verbose logging |
-V, --version | Output the version number |
-h, --help | Display help for command |
---
Environment Variables
| Variable | Description |
|---|---|
AI_PROVIDER | Default AI provider |
AI_MODEL | Default AI model |
OPENROUTER_API_KEY | OpenRouter API key |
ANTHROPIC_API_KEY | Anthropic API key |
OPENAI_API_KEY | OpenAI API key |
CONTEXT7_API_KEY | Context7 API key |