subagent-orchestration
Skill1 starsChanged 5 days agoMITView on GitHub
Decompose big or parallelizable work across subagents — when to fan out vs stay solo, scoping self-contained sub-tasks, prompting agents that don't share your context, isolating parallel edits (git worktrees), skeptically verifying and synthesizing results you didn't produce. Triggers: use subagents, parallelize this, fan out, orchestrate agents, multi-agent, spawn agents, worktree, delegate to agents, split this across agents, agent team. Sequencing checkpoints of an approved plan → plan-execution (orchestration parallelizes within its batches).
10 other projects use a version of this.
Adopted by
Most recently taken up by
- zxyycom/skillstheir own version, first seen Nov 8, 2026
- bookchaowalit/platform-agent-skillstheir own version, first seen Oct 20, 2026
- elastic/sourcerertheir own version, first seen Oct 13, 2026
- wzy-20130517/Claude-Code-Mobiletheir own version, first seen Oct 11, 2026
- wicii2120/skillstheir own version, first seen Aug 29, 2026
- ArcanEdge-AI/coding-agent-playbook-codextheir own version, first seen Aug 17, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- elastic/sourcerer★ 20same name
- moabualruz/fulcrum★ 4same name
- ArcanEdge-AI/coding-agent-playbook-codex★ 3same name
- wzy-20130517/Claude-Code-Mobile★ 3same name
- thoitiettxl-cyber/Claw-II★ 2same name
- zxyycom/skills★ 2same name
- wicii2120/skills★ 1same name
- ArcanEdge-AI/coding-agent-playbook-claude-code★ 0same name
- bookchaowalit/platform-agent-skills★ 0same name
- nbsp1221/agent-skills★ 0same name
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 repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-designSkill
- ai-evaluationSkill
- api-designSkill
- architecture-designSkill
- architecture-documentationSkill
- brainstormingSkill
- browser-verificationSkill
- bug-investigatingSkill
- build-vs-buySkill
- cicd-pipelineSkill
- code-archaeologySkill
- code-reviewingSkill
- code-slop-cleanupSkill
- compliance-privacySkill
- configuration-strategySkill
- containerizationSkill
- data-modelingSkill
- data-pipeline-designSkill
- data-qualitySkill
- dependency-impact-analysisSkill
- dependency-managementSkill
- deployment-checklistSkill
- deployment-repoSkill
- dx-auditSkill
- effort-estimationSkill
- exploratory-data-analysisSkill
- feature-planningSkill
- finops-cost-optimizationSkill
- frontend-architectureSkill
- gitops-deliverySkill
- git-workflowSkill
- incident-responseSkill
- infrastructure-as-codeSkill
- llm-app-engineeringSkill
- metrics-and-okrsSkill
- ml-experiment-trackingSkill
- ml-model-deploymentSkill
- ml-pipeline-designSkill
- mobile-architectureSkill
- mobile-releaseSkill
- notebook-to-productionSkill
- observability-designSkill
- performance-optimizationSkill
- plan-executionSkill
- prd-writingSkill
- project-documentationSkill
- project-proposalSkill
- project-reviewSkill
- refactoringSkill
- release-managementSkill
- research-methodologySkill
- resilience-engineeringSkill
- retrospectiveSkill
- rollback-strategySkill
- security-auditSkill
- skill-routerSkill
- statistical-analysisSkill
- strategic-reviewSkill
- tdd-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 87
Reports aren't evidence: verify artifacts, adversarially where stakes warrant — trust is for people, not processes.
“Common” is measured: kept by at least 6 in 10 of the 7 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
Subagent Orchestration
Structure work across multiple agents so the result is more trustworthy than
one agent's pass — not just faster. The two failure modes this skill counters:
fanning out work that needed shared context (agents produce incompatible
pieces), and trusting subagent reports as if they were evidence (they're
claims). Exact tool names and mechanics vary by harness and move fast — apply
these principles through whatever agent-spawning surface is available.
Boundary: plan-execution sequences an approved plan's checkpoints;
orchestration is how a batch gets executed when it parallelizes.
Workflow
Step 1: Decide Fan-Out vs Solo — Honestly
Fan out when the work is divisible into independent pieces (per-file migration, multi-angle research, review dimensions), when you need independent perspectives (adversarial verification, judge panels), or when the reading wouldn't fit one context (broad audits). Stay solo when the task needs one coherent design voice (an API's shape, a refactor's structure), when pieces are tightly coupled, or when the task is small — orchestration has overhead, and a fleet of agents building a feature without shared design produces expensive incoherence. Sub-agents also can't ask you clarifying questions mid-flight: ambiguity you'd resolve interactively must be resolved before the fan-out.
Step 2: Decompose into Self-Contained Tasks
Each sub-task needs: a crisp goal with a definition of done, explicit inputs (files, constraints, conventions), no shared mutable state with its siblings, and an output contract (exactly what to return, in what form). If two tasks keep needing to talk to each other, they're one task — re-cut the boundaries. Interfaces first: when pieces must fit together, fix the contract between them yourself, up front, and hand each agent the contract rather than hoping parallel guesses converge.
Step 3: Prompt for a Cold Start
The subagent knows nothing you don't say — none of your conversation, your constraints, or your taste. State the context it needs (or say exactly which files to read first), the conventions to follow, the boundaries ("do NOT touch X"), and the output contract. Ask for raw findings and artifacts (data, diffs, file paths, failure output) rather than summaries — you need material you can verify, not reassurance. A vague prompt costs a full agent-run to discover; read your prompt as a stranger before sending it.
Step 4: Isolate Parallel Writers
Agents editing the same working tree concurrently corrupt each other. Reads parallelize freely; writes need isolation — one writer per area, or git worktrees (each agent on its own branch/copy, merged deliberately afterward). Budget for the merge: parallel edits that touch shared files turn saved wall-clock into conflict resolution. If the merge looks expensive, re-cut Step 2 along file boundaries instead.
Step 5: Verify Like You Didn't Write It — Because You Didn't
A subagent's "done, tests pass" is a report, not evidence
(verification-before-completion applies with extra force). Run the proving
command on their artifact yourself; spot-read the diff (code-reviewing for
substantial changes). For findings (bugs, research claims), use structure:
adversarial verification (a second agent prompted to refute each
finding), diverse lenses (verifiers checking different failure modes beat
N identical passes), and majority voting where individual judgments are noisy.
Expect and discard duplicates and false positives from parallel finders —
that's normal yield, not failure.
Step 6: Synthesize — the Step That Makes It One Answer
Merging results is real work you own: dedup overlapping findings, reconcile contradictions (two agents asserting opposite things means you investigate, not average), integrate parallel diffs and re-run the full suite on the combined result, and write the coherent summary. The whole was your task; the agents only did the parts. Close with a completeness check: did every sub-task actually complete, and what fell between the cracks of the decomposition?
Principles Applied
- Decomposition quality bounds output quality: bad task boundaries can't be fixed by more agents.
- Reports aren't evidence: verify artifacts, adversarially where stakes warrant — trust is for people, not processes.
- Parallelize reads freely, writes deliberately: isolation is cheap before the fan-out and expensive after.
Cross-Skill References
plan-execution— the checkpoint discipline; orchestration executes its batchesfeature-planning— producing the task breakdown worth parallelizingverification-before-completion— the evidence gate applied to every agent's claimcode-reviewing— reviewing substantial subagent diffs before integrationgit-workflow— branch/merge hygiene for worktree-isolated work
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.

