dispatch-agents
Skill288 starsChanged 5 days agoMITView on GitHub
Dispatch multiple subagents in parallel on independent tasks. No waiting between them — all run concurrently. Use when tasks are truly decoupled and speed matters. Distinct from delegate-task (concurrent here, no inter-task review gate).
2 other projects use a version of this.
Adopted by
Most recently taken up by
- simscal/sapiens-dtjtheir own version, first seen Oct 20, 2026
- Nirusan/claude-configtheir own version, first seen Oct 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Nirusan/claude-config★ 7same name
- simscal/sapiens-dtj★ 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 repository162 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- website/AGENTS.mdAGENTS.md
- .cursor/rules/align-grid.mdcCursor rule
- .cursor/rules/assess-impact.mdcCursor rule
- .cursor/rules/audit-code.mdcCursor rule
- .cursor/rules/audit-plan.mdcCursor rule
- .cursor/rules/build-epic.mdcCursor rule
- .cursor/rules/change-request.mdcCursor rule
- .cursor/rules/commit-message.mdcCursor rule
- .cursor/rules/compose-workflow.mdcCursor rule
- .cursor/rules/craft-skill.mdcCursor rule
- .cursor/rules/deepen-architecture.mdcCursor rule
- .cursor/rules/define-language.mdcCursor rule
- .cursor/rules/define-success.mdcCursor rule
- .cursor/rules/delegate-task.mdcCursor rule
- .cursor/rules/deploy.mdcCursor rule
- .cursor/rules/design-interface.mdcCursor rule
- .cursor/rules/develop-tdd.mdcCursor rule
- .cursor/rules/diagnose-root.mdcCursor rule
- .cursor/rules/diagnose-stall.mdcCursor rule
- .cursor/rules/dispatch-agents.mdcCursor rule
- .cursor/rules/edit-document.mdcCursor rule
- .cursor/rules/elaborate-spec.mdcCursor rule
- .cursor/rules/enforce-first.mdcCursor rule
- .cursor/rules/evolve-skill.mdcCursor rule
- .cursor/rules/execute-plan.mdcCursor rule
- .cursor/rules/extract-design.mdcCursor rule
- .cursor/rules/find-way.mdcCursor rule
- .cursor/rules/fix-bug.mdcCursor rule
- .cursor/rules/gate-trace.mdcCursor rule
- .cursor/rules/generate-allure-report.mdcCursor rule
- .cursor/rules/grill-me.mdcCursor rule
- .cursor/rules/grill-with-docs.mdcCursor rule
- .cursor/rules/guard-git.mdcCursor rule
- .cursor/rules/harden-vps.mdcCursor rule
- .cursor/rules/hook-commits.mdcCursor rule
- .cursor/rules/inspect-quality.mdcCursor rule
- .cursor/rules/investigate-bug.mdcCursor rule
- .cursor/rules/kickoff-branch.mdcCursor rule
- .cursor/rules/maintain-wiki.mdcCursor rule
- .cursor/rules/map-codebase.mdcCursor rule
- .cursor/rules/migrate-spec.mdcCursor rule
- .cursor/rules/model-domain.mdcCursor rule
- .cursor/rules/orchestrate-project.mdcCursor rule
- .cursor/rules/organize-workspace.mdcCursor rule
- .cursor/rules/plan-refactor.mdcCursor rule
- .cursor/rules/plan-release.mdcCursor rule
- .cursor/rules/plan-tests.mdcCursor rule
- .cursor/rules/plan-work.mdcCursor rule
- .cursor/rules/publish-package.mdcCursor rule
- .cursor/rules/quick-fix.mdcCursor rule
- .cursor/rules/release-branch.mdcCursor rule
- .cursor/rules/request-review.mdcCursor rule
- .cursor/rules/research-first.mdcCursor rule
- .cursor/rules/reset-baseline.mdcCursor rule
- .cursor/rules/respond-review.mdcCursor rule
- .cursor/rules/run-benchmark.mdcCursor rule
- .cursor/rules/run-evals.mdcCursor rule
- .cursor/rules/run-planning.mdcCursor rule
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Run multiple subagents in parallel on independent tasks.
- Distinctive: line 39
Before dispatching, verify each task pair is truly independent:
- Distinctive: line 40
No shared files being written
- Distinctive: line 41
No shared state (DB migrations, config files)
- Distinctive: line 42
No ordering dependency between outcomes
- Very specific: line 44
If any two tasks conflict, sequence them with delegate-task or execute-plan instead.
- Very specific: line 60
Before writing briefs, read specs/state.yaml if it exists — each agent gets only the decisions relevant to its task, nothing else.
- Distinctive: line 62
Every inter-agent message uses a typed envelope — no freeform prose between waves:
- Distinctive: line 85
Do not include the full conversation, full file contents, or decisions unrelated to this agent's task.
- Distinctive: line 91
After each wave completes:
- Very specific: line 96
Stop when gaps empty, circuit opens, or cycle 3 reached — escalate to user.
- Distinctive: line 110
When all agents return: review each result, run verify commands, check diffs for scope violations.
≈ “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
<!-- story: e09s04 --><!-- story: e45s38 --><!-- story: e45s11 --><!-- story: e45s30 -->Dispatch Agents
HARD GATE — HARD GATE — Agent work must be parallelizable and have explicit synchronization points. Do NOT dispatch work that has hidden dependencies between agents.
Run multiple subagents in parallel on independent tasks. Use when tasks are genuinely decoupled — no agent needs the output of another to start.
Distinct from delegate-task: This skill maximizes throughput via concurrency. There is no sequential review gate between tasks. Use delegate-task instead when a single task needs careful two-stage oversight before proceeding.
When to use
- Tasks that can run simultaneously without shared state
- Large plans that can be broken into parallel workstreams
- Exploration: gather information from multiple parts of the codebase at once
When NOT to use
- Task B depends on Task A's output
- You need to review Task A before Task B can start safely
- The tasks share a file and concurrent edits would conflict
Process
1. Confirm independence
Before dispatching, verify each task pair is truly independent:
- No shared files being written
- No shared state (DB migrations, config files)
- No ordering dependency between outcomes
If any two tasks conflict, sequence them with delegate-task or execute-plan instead.
Subagent depth tiers (e45s30)
Map effort: frontmatter and story risk: to prompt depth — do not send minimal_decisive agents a full_maturity brief.
| Tier | When | Brief shape | Token budget |
full_maturity | effort: heavy, risk: P0, security-sensitive diffs | Full task_brief + CONVENTIONS excerpts + threat model if present | Full envelope |
standard | effort: standard, risk: P1–P2 | Standard task_brief fields below | Default |
minimal_decisive | effort: light, risk: P3, read-only exploration | goal + verify + in_scope only | ≤15 lines |
Record depth: <tier> in the Agent tool description when dispatching.
2. Write typed task briefs (Orca message protocol)
Before writing briefs, read specs/state.yaml if it exists — each agent gets only the decisions relevant to its task, nothing else.
Every inter-agent message uses a typed envelope — no freeform prose between waves:
type | When | Required fields |
task_brief | Dispatch | task_id, goal, in_scope, out_of_bounds, verify, prior_decisions |
checkpoint | Mid-wave progress | task_id, status (running|blocked), comment (one line) |
result | Agent return | task_id, exit (pass|fail), summary, verify_output |
circuit_open | 3 consecutive failures | task_id, failures (3), escalate_to (user) |
Example task_brief (each agent starts cold — brief size directly controls token cost and hallucination risk):
type: task_brief
task_id: agent-1
goal: [one sentence — what success looks like]
in_scope: [explicit file or module list]
out_of_bounds: [what NOT to touch]
verify: [runnable command]
prior_decisions: [relevant entries from specs/state.yaml — omit if none]Emit checkpoint comments when an agent is slow or blocked — one line, no stack traces. Parent reads checkpoints before spawning follow-ups.
Do not include the full conversation, full file contents, or decisions unrelated to this agent's task.
3. Circuit breaker + iterative retrieval (max 3 cycles)
Track consecutive failures per task_id. On the 3rd consecutive result.exit: fail for the same task, emit type: circuit_open and stop dispatching that task — escalate to user with the three failure summaries. Reset counter on any pass.
After each wave completes:
- Dispatch — run parallel agents with typed
task_briefenvelopes. - Evaluate — read
resultmessages; list gaps vs goal; honor open circuits. - Refine — tighten briefs or spawn follow-up agents (max 3 cycles total).
Stop when gaps empty, circuit opens, or cycle 3 reached — escalate to user. If agents go silent without returning, invoke diagnose-stall before spawning another wave.
4. Dispatch in parallel
Spawn all agents in a single message using multiple Agent tool calls. Each agent gets its own complete brief.
Agent 1: brief for task A
Agent 2: brief for task B
Agent 3: brief for task C5. Collect and review results
When all agents return: review each result, run verify commands, check diffs for scope violations.
6. Integrate
Merge accepted results. Resolve conflicts manually; note in summary.
Report: which tasks succeeded, which need revision, overall verify status.
Verify
→ verify: test -f skills/dispatch-agents/SKILL.md && test -f scripts/lib/completeness-critic.sh
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.

