subagents
Skill2 starsChanged 4 months agoMITView on GitHub
Orchestrate subagents to implement code changes. The main thread plans, briefs, dispatches, and reviews. Strictly scoped subagents on Opus write the code. Use for any implementation, audit, or fix that is more than a one-line edit, whenever the user asks for subagents, parallel work, or handing work to agents, even without the word subagent.
- Reads credentials
13 other projects use a version of this.
Adopted by
Most recently taken up by
- DobroslavRadosavljevic/cabrakantheir own version, first seen Nov 29, 2026
- Eclipter/agentstheir own version, first seen Nov 8, 2026
- haxqer/skillstheir own version, first seen Oct 20, 2026
- ershiyidian/QuayMeshtheir own version, first seen Oct 15, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Oct 13, 2026
- sebnado/worldbuild-benchtheir own version, first seen Oct 11, 2026
Used with
Projects with it also use loop.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
HeshamFSSkillloop
Run a command or check on a recurring interval
Also in 3 projects that use this
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- Waishnav/devspace★ 5.4ksame name
- nimadorostkar/Claude-Skills-collection★ 41same name
- sebnado/worldbuild-bench★ 9same name
- haxqer/skills★ 4same name
- vlln/subagents-skill★ 4same name
- mteam88/pi-config★ 2same name
- DobroslavRadosavljevic/cabrakan★ 1same name
- Eclipter/agents★ 1same name
- ershiyidian/QuayMesh★ 1same name
- MaGe1993/Claude-Code-Base-Harness★ 1same name
3 more not listed
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 repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- imageSkill
- propSkill
- styleSkill
- design-principlesSkill
- herdr-agentsSkill
- reportingSkill
- researchSkill
- self-documentingSkill
- testingSkill
- md-writerSkill
- commitSkill
- prSkill
- releaseSkill
- setupSkill
- statuslineSkill
- designSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
4
Distinctive
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
- Very specific: line 18
Never use fork. It inherits the main thread's model and context.
- Distinctive: line 42
Search for an existing component or helper matching each new one.
- Distinctive: line 57
Put it in every brief. Enforce it in every review.
- Very specific: line 59
Follow the design-principles, testing, self-documenting, and research skills.
- Very specific: line 63
Never read .env files, keys, or process lists.
- Distinctive: line 65
Never ask the user. Take the recommended option and list the question in the report.
- Distinctive: line 66
Do not touch git. The orchestrator owns commits, branches, and pushes.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Subagents
The main thread plans, briefs, dispatches, and reviews. Subagents write the code.
Roles
- Main thread: Fable or Opus. On another model, tell the user and offer
/modelbefore dispatching. - The main thread edits only small review fixes, such as a rename or a missing import. A larger fix is a new scope.
- Subagents:
general-purposetype withmodel: "opus". Usesonnetonly if the user asks for a cheaper run and the scope is mechanical. An explicit user choice overrides both. - Never use
fork. It inherits the main thread's model and context. - One subagent per scope. Subagents never spawn subagents. At most five running, or the user's lower limit. More scopes run in stages.
- Work autonomously. Do not stop to ask; follow the
reportingskill for questions. - Inside Herdr (
HERDR_ENV=1), when scopes need their own checkouts or the user asks for Herdr, dispatch with theherdr-agentsskill instead ofAgent. All other rules here still apply.
Process
- Assess. Fetch first, work from the latest target branch, and check open PRs for overlapping
work. Send broad reading to an
Exploresubagent on Opus. Check that the plan fits the architecture and the codebase's patterns. Correct a wrong plan with the user before briefing. Without an outline, draft one and confirm it. - Split. A scope is finishable without another scope's in-progress work. Every file belongs to exactly one scope. Generated files, such as migrations, lockfiles, and snapshots, belong to one scope per stage; regenerate them after integrating. Contracts land in a stage before their consumers. Work that cannot be split stays in one scope.
- Brief. The subagent has none of your context. Brief later stages from what earlier stages actually landed: real contracts, signatures, paths. State the goal, the relevant existing code, the files it owns, the files off limits, the contracts it builds against, the acceptance command, the quality bar, and the report format: files changed, acceptance output, blockers, and each decision taken with what it was chosen over and why, so you can build the approval list.
- Dispatch a stage's agents in one message. Then review: read the diff, check file ownership, rerun the acceptance commands and the full build, tests, and lint, and check the quality bar. Search for an existing component or helper matching each new one; merge duplicates. A summary is a claim; the diff is the evidence. Fix small issues yourself. Send larger ones to a new subagent with a corrected brief, never back to the one that erred. New work always gets a new agent. Before stopping an agent, salvage its diff. Newly found work becomes a scope in a later stage. If the evidence shows the approach is wrong, redraw the affected scopes, re-brief, and tell the user what changed and why. Only the user changes the goal.
- Finish. Verify every scope item landed, nothing beyond it, and no
HACK:comment remains in the changed code. Report what each stage delivered, named by its content, not its number, then the commands run and their output, your fixes, and what remains. List the decisions you and the subagents took for approval, as thereportingskill says. Report failures as failures.
Quality bar
Put it in every brief. Enforce it in every review.
- Follow the
design-principles,testing,self-documenting, andresearchskills. - UI scopes: also follow the
designskill. It owns how the UI looks and moves. A subagent returns its variants to the main thread, which shows them to the user and dispatches the integration stage only after the user picks one. - Never read
.envfiles, keys, or process lists. Never use the user's servers, databases, devices, or ports; start your own and stop them before reporting. - Never ask the user. Take the recommended option and list the question in the report.
- Do not touch git. The orchestrator owns commits, branches, and pushes.
- Report honestly: failing as failing, skipped as skipped, guesses as guesses.
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.

