subagent-orchestration
Skill3 starsChanged 3 months agoMITView on GitHub
Use when considering or carrying out bounded delegation. Uses subagents sparingly when a concrete benefit justifies the overhead or independent assistance is required, with task-based model routing, finite scope, and main-agent verification.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- zxyycom/skillstheir own version, first seen Nov 8, 2026
- SWEStash/swe-workflow-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
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
- wzy-20130517/Claude-Code-Mobile★ 3same name
- thoitiettxl-cyber/Claw-II★ 2same name
- zxyycom/skills★ 2same name
- SWEStash/swe-workflow-skills★ 1same 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 repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aws-local-preflightSkill
- design-taste-frontendSkill
- feature-branch-lifecycleSkill
- handoffSkill
- humanizerSkill
- impeccableSkill
- legacy-path-retirementSkill
- local-ci-preflightSkill
- multi-role-repo-reviewSkill
- multi-session-coordinationSkill
- platform-documentationSkill
- production-api-integrationSkill
- production-architecture-reviewSkill
- production-code-qualitySkill
- production-database-integritySkill
- production-devops-releaseSkill
- production-documentation-onboardingSkill
- production-pass-orchestratorSkill
- production-performance-reviewSkill
- production-readiness-reportSkill
- production-reliability-observabilitySkill
- production-security-reviewSkill
- production-testing-qaSkill
- production-ux-accessibilitySkill
- reference-doc-routingSkill
- senior-code-reviewSkill
- session-cleanupSkill
- task-graph-orchestrationSkill
- taste-new-websiteSkill
- taste-redesign-websiteSkill
- technical-debt-auditorSkill
- worktree-lifecycleSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
7
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 22
Do not delegate merely because helpers are available, a task is large, a role is unused, or a graph contains several nodes.
- Distinctive: line 24
Before spawning, define the bounded result, acceptance check, expected benefit, exact scope and workspace, and a finite helper-launch and …
- Distinctive: line 28
Use direct root-to-helper assignments.
- Distinctive: line 38
If the route cannot be established, keep the work with the main agent and report any separately required independent-verification gap.
- Distinctive: line 44
Use the same six sections as the global assignment contract:
- Distinctive: line 63
Before retrying, identify what failed and what will change.
- Distinctive: line 70
Never accept a helper conclusion solely because it sounds confident.
“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
The main agent is the primary implementer and owns the requested outcome end to end. Use subagents sparingly, only when a bounded assignment's concrete benefit outweighs its context, coordination, latency, and review cost or governing instructions require independent assistance.
Consulting a role profile for a different perspective does not require this delegation workflow. The main agent can apply the profile's role guidance directly while retaining its configured settings and task authority. Use the workflow below only when considering or carrying out actual delegation; a perspective change does not satisfy an independent-verification gate.
Consult references/subagents.md for the full assignment and acceptance guidance and references/model-routing.md before launching a helper.
Decide Whether to Delegate
Delegate only when a bounded helper has a concrete benefit:
- independent evidence or focused review
- genuinely parallel progress on non-conflicting work
- reduced main-agent context for a large, separable investigation
Do not delegate merely because helpers are available, a task is large, a role is unused, or a graph contains several nodes. Keep tightly coupled design and implementation with the main agent. Do not outsource work already completed.
Before spawning, define the bounded result, acceptance check, expected benefit, exact scope and workspace, and a finite helper-launch and retry allowance.
Use Flat Assignments
Use direct root-to-helper assignments. Bundled helpers execute their assigned work and do not spawn descendants. Recursive orchestration is outside this default workflow and requires separate explicit authorization and controls.
Each helper assignment must be a non-empty, strictly smaller part of the remaining work and no broader than the root task in inputs, data access, permissions, scope, non-goals, authority, ownership, workspace, or approval boundary.
Serialize overlapping writes. Disjoint bounded writers may share the current workspace when the runtime and repository allow it. Use an auxiliary worktree only through the root-owned worktree-lifecycle process.
Route Every Helper Explicitly
Select each delegated execution, retry, and replacement by the task table in references/model-routing.md: GPT-6.1 Sol at Light, Medium, or High, or GPT-6 Astra at Extra High. Light uses low in configuration. Minimize total completion cost, including retries and corrections. Use a matching profile or supported explicit route; verify effective settings because profile values can override spawn arguments. Preserve the main agent's selected configuration.
If the route cannot be established, keep the work with the main agent and report any separately required independent-verification gap.
Progress and result messages must not alter parent or peer settings. Use team collaboration messaging or the normal final return. Keep destination model and reasoning overrides out of separately authorized task reports.
Assignment Contract
Use the same six sections as the global assignment contract:
- Goal and acceptance: bounded result, acceptance check, and expected benefit.
- Context: necessary facts, inputs, paths, interfaces, and accepted evidence.
- Skills and methods: applicable skills, required references, and real graph dependencies.
- Scope and authority: permitted reads/writes, non-goals, constraints, and stop conditions.
- Ownership and route: helper ID or permit, exact workspace, ownership, verified model/effort, and place within the finite launch/retry allowance.
- Return: artifact or findings, primary evidence, checks run, and unresolved issues.
Pass only necessary context. Do not copy full histories, transcripts, or long logs.
Execute and Accept
- Confirm delegation has a concrete benefit and capacity is available.
- Select the appropriate Planner, Engineer, Reviewer, Tester, or Docs profile.
- Dispatch only work whose real dependencies are satisfied.
- Continue useful non-conflicting root work while the helper runs.
- Inspect the returned artifact, evidence, scope compliance, and checks.
- Reject, revise, or retry work that does not meet its acceptance condition.
- Before retrying, identify what failed and what will change.
- Reuse valid results and avoid repeating unchanged failed approaches.
- Inspect the combined diff and validate integrated behavior.
- Reconcile every helper attempt and task-created auxiliary worktree before completion.
High-impact changes require independent verification proportionate to risk. If the required check is unavailable, report the unmet gate instead of claiming completion.
Never accept a helper conclusion solely because it sounds confident.
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.

