orchestrate
Skill300 starsChanged 11 months agoApache-2.0View on GitHub
This skill should be used when the user asks to 'orchestrate a task', 'break down work into parallel agents', 'coordinate subtasks', 'run agents in parallel', or mentions 'multi-agent'. Decomposes complex tasks into tracked subtasks, dispatches parallel subagents, and coordinates until completion.
72 other projects use a version of this.
Adopted by
Most recently taken up by
- Significant-Gravitas/AutoGPTtheir own version, first seen Nov 18, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- kentcdodds/kcd-skillstheir own version, first seen Oct 1, 2026
- hcaiano/skillstheir own version, first seen Sep 30, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- rohitg00/pro-workflowtheir own version, first seen Sep 29, 2026
Used with
Projects with it also use ship-pr, discover and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Upsolve-LabsSkillship-pr
Ship a feature branch: write docs, bump version, create PR with screenshots and evidence. Links Linear tickets if available. Use when ready to merge.
Also in 3 projects that use this
anombyte93Skilldiscover
Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.
Also in 4 projects that use this
genomewalkerSkillcheckpoint
Save a checkpoint of task status, decisions, active files, and next steps
Also in 5 projects that use this
qtzx06Skilleval
Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.
Also in 3 projects that use this
sahinSkillexecute
Also in 3 projects that use this
paulo-yamagishiSkillevolve
Auto-maintain Claude Code config files as your codebase evolves
Also in 3 projects that use this
Other versions72 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 72
- Significant-Gravitas/AutoGPT★ 188ksame name
- rohitg00/pro-workflow★ 2.9ksame name
- boshu2/agentops★ 447same name
- provencher/codex-skills★ 271same name
- sd0xdev/sd0x-harness★ 191same name
- josipjelic/orchestrated-project-template★ 95same name
- grainulation/grainulator★ 86same name
- AsiaOstrich/universal-dev-standards★ 76same name
- tranhieutt/software_development_department★ 72same name
- skillberry-ai/cap-evolve★ 65same name
62 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- shodh-memorySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 64 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
Keep dependency chains shallow (max 3-4 levels deep)
- Distinctive: line 61
Never create circular dependencies
- Distinctive: line 83
Wait for user approval before dispatching.
- Very specific: line 102
CRITICAL: Every Task prompt MUST start with [ORCH-TODO:ORCH-N] where N is the todo's sequence number.
- Distinctive: line 133
After agents return, the PostToolUse hook automatically:
- Very specific: line 153
If there are todo status items, repeat Phase 2 for the next batch.
- Distinctive: line 157
When all todos are complete:
- Distinctive: line 164
When a Task agent returns an error or incomplete result:
- Distinctive: line 166
Add a Progress comment documenting the failure:
- Distinctive: line 183
If retry fails, cancel the todo:
- Distinctive: line 188
Check if cancelled todo blocks other work — inform the user and ask how to proceed.
- Distinctive: line 192
If a session ends mid-orchestration, the todo state persists.
- Distinctive: line 194
Check for in-progress orchestration projects:
“Common” is measured: kept by at least 6 in 10 of the 64 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Orchestration — Todo-Driven Parallel Execution
You are orchestrating a complex task by decomposing it into tracked subtasks, dispatching parallel agents, and coordinating dependencies until completion. Shodh-memory todos are your task graph. Claude Code's Task tool is your agent spawner. Hooks handle the automation.
Phase 1: Decompose
Break the user's request into 3-10 concrete, independently executable subtasks.
Create the project
add_project(name="orch-{kebab-case-summary}")The project auto-generates a prefix (e.g., ORCH). All todos in this project use that prefix for short IDs like ORCH-1, ORCH-2.
Create todos with dependencies
For each subtask, create a todo in the project:
Independent tasks (can run immediately):
add_todo(
content="Clear, specific description of what this subtask produces",
project="orch-{name}",
priority="high",
tags=["orchestration", "batch:1"]
)Dependent tasks (must wait for others):
add_todo(
content="Description of dependent work",
project="orch-{name}",
status="blocked",
blocked_on="ORCH-1,ORCH-3",
tags=["orchestration", "batch:2"]
)The blocked_on field is comma-separated short IDs. The batch:N tag groups tasks by execution wave.
Dependency rules
- A task blocked on
"ORCH-1,ORCH-3"cannot start until BOTH are done - Keep dependency chains shallow (max 3-4 levels deep)
- Maximize parallelism — identify tasks that are truly independent
- Never create circular dependencies
Present the plan
Show the user the task graph before executing:
Project: orch-refactor-auth (ORCH)
Batch 1 (parallel):
ORCH-1: [todo] Extract JWT utilities into auth/tokens.ts
ORCH-2: [todo] Create password hashing module
Batch 2 (after batch 1):
ORCH-3: [blocked on ORCH-1] Update login endpoint
ORCH-4: [blocked on ORCH-1] Update token refresh endpoint
ORCH-5: [blocked on ORCH-2] Update registration endpoint
Batch 3 (after batch 2):
ORCH-6: [blocked on ORCH-3,ORCH-4,ORCH-5] Integration testsWait for user approval before dispatching.
Phase 2: Dispatch
Find unblocked work
list_todos(project="orch-{name}", status=["todo"])For each unblocked todo:
- Mark it in-progress:
update_todo(todo_id="ORCH-N", status="in_progress")- Spawn a Task agent with the todo tag in the prompt:
CRITICAL: Every Task prompt MUST start with [ORCH-TODO:ORCH-N] where N is the todo's sequence number. The PostToolUse hook extracts this tag to automatically complete the todo and unblock dependents.
Task(
description="ORCH-N: brief summary",
prompt="[ORCH-TODO:ORCH-N] Full detailed instructions for the agent...",
subagent_type="general-purpose"
)- Spawn independent tasks in parallel — make multiple Task calls in a single response.
Choose the right agent type
| Agent Type | Best For |
Explore | Research, codebase exploration, finding patterns |
Plan | Architecture design, trade-off analysis |
Bash | Running commands, builds, deployments |
general-purpose | Code changes, implementation, multi-step work |
Include sufficient context in each prompt
Each agent runs in isolation. Include in every Task prompt:
- What files to look at or modify
- What the expected output/deliverable is
- Any constraints or patterns to follow
- Context from previously completed tasks (copy relevant resolution comments)
Phase 3: Monitor & Continue
After agents return, the PostToolUse hook automatically:
- Adds the agent's result as a Resolution comment on the matching todo
- Completes the todo
- Unblocks dependent todos (removes from
blocked_on, changes status totodo)
Check project state
list_todos(project="orch-{name}")Review the status:
done— completed by agentstodo— newly unblocked, ready for next batchblocked— still waiting on dependenciesin_progress— agents still runningcancelled— failed permanently
Dispatch next batch
If there are todo status items, repeat Phase 2 for the next batch. Continue until all todos are done or cancelled.
Summarize results
When all todos are complete:
- List all resolution comments to gather agent outputs
- Synthesize a summary for the user
- Note any cancelled tasks and why
Handling Failures
When a Task agent returns an error or incomplete result:
- Add a Progress comment documenting the failure:
add_todo_comment(
todo_id="ORCH-N",
content="Agent failed: {error description}",
comment_type="progress"
)- Retry (max 2 attempts) with additional context:
Task(
prompt="[ORCH-TODO:ORCH-N] RETRY: Previous attempt failed because {reason}. {updated instructions}...",
subagent_type="general-purpose"
)- If retry fails, cancel the todo:
update_todo(todo_id="ORCH-N", status="cancelled", notes="Failed after 2 retries: {reason}")- Check if cancelled todo blocks other work — inform the user and ask how to proceed.
Cross-Session Continuity
If a session ends mid-orchestration, the todo state persists. On the next session:
- Check for in-progress orchestration projects:
list_projects()
list_todos(project="orch-{name}")- Resume from where you left off — dispatch any
todostatus items.
Example
User: /orchestrate Add comprehensive error handling to the API layer
Planning:
Project: orch-api-error-handling (ORCH)
ORCH-1: [todo] Audit current error handling patterns across all handlers
ORCH-2: [todo] Design error response format and error codes enum
ORCH-3: [blocked on ORCH-1,ORCH-2] Implement centralized error middleware
ORCH-4: [blocked on ORCH-3] Update all handler functions to use new error types
ORCH-5: [blocked on ORCH-4] Add error handling integration testsBatch 1 dispatch (parallel):
Task("[ORCH-TODO:ORCH-1] Explore the codebase and audit...", subagent_type="Explore")
Task("[ORCH-TODO:ORCH-2] Design an error response format...", subagent_type="Plan")After batch 1 completes:
- Hook auto-completes ORCH-1 and ORCH-2
- Hook unblocks ORCH-3 (both blockers resolved)
- Claude dispatches ORCH-3
Continue until ORCH-5 is done.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

