subtask
Parallel task orchestration CLI that dispatches work to AI workers (via Claude Code) in isolated git workspaces. Use when the user wants to draft, create, run, or manage tasks, delegate tasks to workers/subagents, or mentions subtask or Subtask.
Install
mkdir -p .claude/skills/subtask && curl -L -o skill.zip "https://mcp.directory/api/skills/download/6761" && unzip -o skill.zip -d .claude/skills/subtask && rm skill.zipInstalls to .claude/skills/subtask
About this skill
Subtask
Subtask is a CLI for orchestrating parallel AI workers. There are three roles: the user who gives direction, you (the lead) who orchestrates and delegates, and workers who execute tasks.
Each worker runs in an isolated git worktree. They can't conflict with each other.
The user tells you what they need. You clarify requirements, break work into tasks, dispatch to workers, review their output, iterate until it's right, and merge when ready.
Prefer to delegate exploration, research and planning to workers as parts of their tasks. Workers have time & space to dig deep, whereas you should preserve context to lead. Only go into details yourself when user explicitly requested, or the situation calls for it.
Mindset
- Understand before delegating — ask questions, clarify requirements. Don't rush to create tasks until you understand what the user actually wants.
- Own the complexity — stay on top of all tasks. Surface progress and blockers. Don't make the user chase status.
- Work autonomously — review output, request changes, iterate with workers. Only involve the user for decisions they need to make.
- Ask before merging — get user sign-off before merging. Don't merge without user approval.
Commands
| Command | Description |
|---|---|
subtask ask "..." | Quick question (no task, runs in cwd) |
subtask draft <task> --base-branch <branch> --title "..." <<'EOF' | Create a task |
subtask send <task> <prompt> | Prompt worker on task (blocks until reply) |
subtask stage <task> <stage> | Advance workflow stage |
subtask list | View all tasks |
subtask show <task> | View task details |
subtask diff [--stat] <task> | Show changes (from merge base) |
subtask merge <task> -m "msg" | Squash-merge task into base branch |
subtask close <task> | Close without merging, free workspace |
subtask workspace <task> | Get workspace path (a git worktree) |
subtask interrupt <task> | Gracefully stop a running worker |
subtask log <task> | Show task conversation and history |
subtask trace <task> | Debug what a worker is doing and thinking internally |
Tip: Add --follow-up <task> on draft to carry forward conversation context from a prior task.
Flow
# 1. Draft (task name is branch name, task description is shared with worker)
subtask draft fix/bug --base-branch main --title "Fix worker pool panic" <<'EOF'
There's an intermittent panic in the worker pool under high concurrency—likely a race condition in pool.go.
Reproduce, find root cause, fix, and add tests.
EOF
# 2. Start the worker
subtask send fix/bug "Go ahead."
# 3. When worker finishes, review and iterate
subtask stage fix/bug review
# Review with `subtask diff --stat fix/bug`, or read the files at `cd $(subtask workspace fix/bug)`.
# 4. Request changes if needed
subtask send fix/bug <<'EOF'
Also handle the edge case when pool is empty.
EOF
# 5. When ready, merge or close
subtask stage fix/bug ready
subtask merge fix/bug -m "Fix race condition in worker pool"
# Or if not merging: subtask close fix/bug
Critical: Use the Bash tool with run_in_background: true for subtask send. Tell the user you're waiting and stop. Don't poll or check. You'll be notified when done.
Merging
subtask merge squashes all task commits into a single commit on the base branch.
subtask merge fix/bug -m "Fix race condition"
If conflicts occur, merge will fail with instructions. Follow them.
Stages
All tasks have stages: doing → review → ready
| Stage | When to advance |
|---|---|
doing | Worker is working (default) |
review | Worker done, you're reviewing code |
ready | Ready for human to decide (human review, merge, more work, etc.) |
Advance with: subtask stage <task> <stage>
Planning Workflows
For complex tasks, add a plan stage: plan → implement → review → ready
You plan (--workflow you-plan): You draft PLAN.md in task folder, worker reviews and pokes holes.
They plan (--workflow they-plan): Worker drafts PLAN.md in task folder, you review and approve or request changes.
Notes
- Use
subtask listto see what’s in flight. - Use
subtask show <task>to see progress and details. - Use
subtask log <task>to see task conversation and events. - Use
subtask trace <task>to debug what a worker is doing and thinking internally.
You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversStreamline projects with software to manage projects using dependency tracking, complexity scores, and Eisenhower matrix
Boost productivity with AI for project management. monday.com MCP securely automates workflows and data. Seamless AI and
Agentic Tools MCP Server: an MCP server for agentic AI tools offering AI project management, AI task management, and pro
Sub-Agents delegates tasks to specialized AI assistants, automating workflow orchestration with performance monitoring a
Boost productivity on Mac with OmniFocus Enhanced—manage tasks, projects, and workflows in one powerful macOS productivi
TaskFlow manages tasks with project plan templates, subtasks, dependencies, and approval for systematic tracking and use
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.