subagent-dispatch
Skill1 starsChanged 3 months agoMITView on GitHub
Dispatch subagents for bounded independent work. Use whenever Codex is about to delegate or spawn a subagent, or when the user asks for parallel agents, context isolation, specialist work, or an independent review. Decide whether delegation helps, select an available agent, write an outcome-first contract, schedule work safely, and integrate every result.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- s977043/PlanGatetheir own version, first seen Nov 2, 2026
- dagarre00/claude-code-templatetheir own version, first seen Oct 15, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- s977043/PlanGate★ 3same name
- dagarre00/claude-code-template★ 1same 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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- art-of-commentSkill
- delegation-assessmentSkill
- execute-planSkill
- fix-repository-diagnosticsSkill
- meaningSkill
- program-designSkill
- review-code-complexitySkill
- review-implementationSkill
- writing-planSkill
- writing-unit-testSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
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 8
Treat each dispatch as a contract: give one agent one bounded outcome, enough context to act independently, explicit authority, and a …
- Distinctive: line 16
Run independent work concurrently.
- Distinctive: line 21
Keep the work in the main agent when it is small, already in context, coupled to a pending decision, dependent on frequent user …
- Distinctive: line 39
Use an outcome-first prompt.
- Distinctive: line 57
Use this compact shape:
- Distinctive: line 70
Run tasks concurrently only when each can finish without another's output and their writes cannot overlap.
- Distinctive: line 81
Treat agent output as evidence, not as an accepted conclusion.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Subagent Dispatch
Treat each dispatch as a contract: give one agent one bounded outcome, enough context to act independently, explicit authority, and a checkable definition of done.
Decide
Delegate when the subtask is concrete and separable, and delegation provides at least one clear benefit:
- Run independent work concurrently.
- Isolate verbose exploration, logs, or research from the main context.
- Apply specialist capability exposed by an available agent.
- Obtain an independent review or validation pass.
Keep the work in the main agent when it is small, already in context, coupled to a pending decision, dependent on frequent user interaction, or likely to overlap the same files or state. Delegation is complete only when its coordination cost is lower than doing the work directly.
Select
Select from the agents and tools actually available in the current session. Match the narrowest capable agent to the outcome by reading its current description and constraints. Use a general-purpose agent when no specialist materially improves the result.
Give each writing agent exclusive ownership of its files or artifacts. Multiple read-only agents may inspect the same material. Sequence any work that shares mutable state or requires another agent's output.
Write the Contract
Use an outcome-first prompt. Include:
- Objective: one concrete result the agent owns.
- Scope: relevant files, systems, and explicit boundaries.
- Context: repository root, governing instructions, known facts, and where to start. Include raw artifacts when exact evidence matters. Use verified task facts; surface materially missing context instead of inferring it from unrelated paths.
- Authority: allowed reads, edits, commands, side effects, and decisions that require escalation.
- Success criteria: observable conditions that prove the objective is complete, including required verification.
- Return: the concise findings, evidence, changed files, or blocker the main agent needs to integrate the result.
Describe the destination rather than prescribing every step. Specify a sequence only when correctness depends on it. Dispatch only when an agent unfamiliar with the main conversation can determine what to do, what it owns, and how to prove completion.
Use this compact shape:
Objective: <one bounded outcome>
Scope: <owned files or systems; boundaries>
Context: <repo, instructions, facts, starting points>
Authority: <allowed actions and escalation boundary>
Done when: <checkable result and verification>
Return: <evidence and output needed by the main agent>Schedule
Run tasks concurrently only when each can finish without another's output and their writes cannot overlap. Otherwise, dispatch in dependency order and pass the verified result forward. Prefer the smallest useful set of agents; every additional branch adds coordination and review work.
Supervise and Integrate
Continue useful independent work while agents run. When an agent drifts, send a targeted correction that restates the unmet contract. When it reports a blocker, resolve safe in-scope dependencies or surface the exact missing input or authority.
Treat agent output as evidence, not as an accepted conclusion. Review it against the contract, inspect material diffs or cited artifacts, and run the narrowest meaningful verification before relying on it. Finish only after every dispatched agent is stopped and every result is integrated, rejected with a reason, or reported as an unresolved blocker.
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.

