orchestrating-agents
Skill0 starsChanged 54 days agoMITView on GitHub
Use when dispatching work to multiple subagents, writing a worker brief, deciding how many agents to run at once, or merging an agent's branch back in. Also use when an agent reports work as done or an agent goes quiet.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- alessiogarifo92/claude-skillstheir own version, first seen Oct 25, 2026
- diegoferigo/dotfilestheir own version, first seen Oct 20, 2026
- oaustegard/claude-skillstheir own version, first seen Mar 11, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- oaustegard/claude-skills★ 158same name
- diegoferigo/dotfiles★ 4same name
- alessiogarifo92/claude-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 repository5 other files it gives its agents.
- fixing-a-bugSkill
- tests-firstSkill
- verifying-a-green-gateSkill
- wired-to-nothingSkill
- working-an-issueSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 33
One worktree and one branch per agent, always: Never point two agents at the same worktree, and never let an agent work in the primary …
- Distinctive: line 62
Never kill a process by image name.
- Distinctive: line 66
If an agent's worktree contains changes it did not write, that agent should stop and report it rather than checking out over someone else's …
- Distinctive: line 72
Check the claim against the actual diff, not the agent's narration of the diff.
≈ “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
Orchestrating agents
This is the trigger and first-moves layer. The detail (brief templates, the
standing rules every worker gets, the merge sequence) lives in
orchestration/README.md and orchestration/worker-brief-template.md; read
those before writing a real wave brief. This file is what to do before you
open either.
You are the orchestrator: agents do the work, you decide direction, verify what they claim, and own the merge. Nothing below is hypothetical; every rule here exists because skipping it cost real time on real work.
Before you dispatch anything
Check whether the work is already done, for every lane, in one pass, before dispatching a single agent. Search the commit graph for each lane's identifier before assuming any of them are open. Do this for the wave you are about to dispatch, not the next one you are planning; a lane that "obviously" needs doing is exactly the one that turns out to be finished already.
Split lanes by shared context, not by ticket count. Two tasks that touch the same module or the same file belong to one agent, sequentially; two tasks touching unrelated surfaces belong to separate agents, in parallel. Splitting by headcount instead of by what each task actually touches is how two lanes silently step on the same file.
One worktree and one branch per agent, always. Never point two agents
at the same worktree, and never let an agent work in the primary checkout.
git stash is banned the moment more than one worktree is active, because
a stash is shared across every worktree of a repository and two agents
stashing in the same window can swap their working sets. See fixing-a-bug
for the safe revert-check alternative.
Name the skills the worker must invoke, by name, with the tool that
invokes them. Do not paraphrase a skill's content into the brief instead.
A paraphrase silently drops whatever you did not happen to remember, and it
drops it invisibly, the same way a guard that looks complete but runs
nothing is invisible until forced. If the work touches a bug fix, name
fixing-a-bug. If it touches anything that will be reported as done, name
wired-to-nothing. If it touches a tracked issue, name working-an-issue.
Cap concurrency by what keeps the machine usable, not by how many lanes you have. Ask what the ceiling is rather than assuming; running full test suites concurrently across several agents can saturate a machine badly enough that unrelated commands start failing on timeouts, and a starved worker looks exactly like a real failure from the outside.
While they run
Agents stall waiting on their own background tasks more often than they stall on anything else. When one goes quiet, check the actual process or log yourself and send back the fact, not an encouragement: "the build finished four minutes ago, here is its size and timestamp, stop polling and run the remaining steps now."
Never kill a process by image name. Only kill process IDs you started yourself; a wide kill takes down other agents' work and the operator's own running processes along with the one you meant to stop.
If an agent's worktree contains changes it did not write, that agent should stop and report it rather than checking out over someone else's in-flight work.
Verifying what they report
Check the claim against the actual diff, not the agent's narration of the diff. An agent's report describes what it intended to do; it is not proof of what it did. Read the tests it wrote well enough to know what they actually assert, not just how many there are: a test can assert the reported bug as correct behavior and still count toward a passing total.
For a diff you are not confident about, use a dedicated review agent
(cold-diff-reviewer) rather than re-reading it yourself under the same
framing you already have. Give it only the diff and the file paths, nothing
about the ticket or your own theory of the fix: framing is exactly what
makes a reviewer agree with a broken diagnosis, and handing over your own
theory first spends the independence that a second review exists to buy.
Merging
The orchestrator owns the merge, always. Merge one branch at a time and run
the full merge gate after each one, reading its own output rather than a
relayed exit code (see verifying-a-green-gate). Never let a worker agent
merge its own branch, open a pull request on its own behalf, or close the
issue it worked; those are integration decisions and they belong to
whoever is watching the whole set of lanes, not to the lane that happened
to finish first.
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.

