subagents
Skill0 starsChanged 4 months agoMITView on GitHub
Model routing and delegation doctrine for subagents. Load when spawning subagents to pick agent types, models, and thinking levels.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- 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
- wtsi-hgi/agentskillstheir own version, first seen Oct 4, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- Waishnav/devspace★ 5.4ksame name
- nimadorostkar/Claude-Skills-collection★ 33same name
- sebnado/worldbuild-bench★ 9same name
- haxqer/skills★ 4same name
- vlln/subagents-skill★ 4same name
- skrrt-sh/skills★ 3same name
- mteam88/pi-config★ 2same name
- Eclipter/agents★ 1same name
- ershiyidian/QuayMesh★ 1same name
- MaGe1993/Claude-Code-Base-Harness★ 1same name
2 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- claudeCLAUDE.md
- browser-debuggingSkill
- computer-useSkill
- context7Skill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Use when the work wants Claude's judgment/taste, or a second opinion from a different model family.
- Very specific: line 31
Default worker/explore (pi backend): stays in-process, inherits the session model — right for most bounded tasks.
- Very specific: line 62
Default: omit model — pi children inherit the parent session's model and thinking level.
- Distinctive: line 79
Use subagent_send for retries with feedback ("your fix broke test Y — rerun and fix") instead of spawning fresh and losing context.
- Distinctive: line 81
After two failed rounds on the same child, take the work back.
“Common” is measured: kept by at least 6 in 10 of the 12 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 routing doctrine
Mechanics (spawn/send/wait semantics, self-contained prompts, caps) are in the tool descriptions. This file is the user's routing policy — edit freely; it is read at load time, no code changes needed.
Agent types
explore— read-only scouting: locating code, mapping subsystems, answering "where/how does X work". Cheap to parallelize; prefer it whenever the task does not require edits.worker— full-tool execution: bounded implementation tasks with a runnable check ("fix X and run the tests", "apply this rename").claude— a real Claude Code instance (Anthropic models on the Claude subscription, full Claude Code toolset, permissions bypassed). Use when the work wants Claude's judgment/taste, or a second opinion from a different model family. Supports mid-run steering via subagent_send.codex— a real Codex instance (GPT models on the Codex subscription, shell/apply_patch/web-search, sandbox bypassed). Cheap abundant capacity for bulk or mechanical work. No mid-run steering — wait for settle, then send follow-ups.
Backend routing
- Default
worker/explore(pi backend): stays in-process, inherits the session model — right for most bounded tasks. - Reach for
claudewhen taste/judgment matters (user-facing text, API design, tricky reviews) or when Claude-only models are wanted — they are unavailable inside pi itself. - Reach for
codexfor parallel bulk work where capacity beats nuance (sweeps, mechanical refactors, independent investigations). - External children cannot see pi tools or this session; their prompts must be fully self-contained (same rule as always, more so).
modelon claude/codex spawns is passed through natively (see the roster below) — never pi provider/model ids.
Model roster (verified against the installed CLIs)
claude backend — pass an alias: sonnet, opus, or fable.
Omit for the Claude Code default. Never use haiku. thinking maps
to Claude Code effort (low/medium/high; off/minimal clamp to low;
xhigh/max exist but require explicit user approval first — house rule).
codex backend — pass a model id; thinking maps to codex
reasoning effort (minimal/low/medium/high accepted; xhigh/max exist
but require explicit user approval first — house rule):
| model id | default effort | notes |
| gpt-5.6-sol | high | frontier; hard problems |
| gpt-5.6-terra | high | workhorse |
| gpt-5.6-luna | high | cheapest bulk capacity |
Model and thinking selection
Default: omit model — pi children inherit the parent session's model
and thinking level; claude/codex children use their CLI defaults.
<!--
| Work shape | Agent type · model | Thinking |
| --------------------------- | ---------------------- | -------- |
| broad read-only scouting | explore | low |
| implementation with checks | worker | medium+ |
| bulk mechanical sweeps | codex · gpt-5.6-luna | low |
| independent hard analysis | codex · gpt-5.6-sol | high |
| taste-sensitive review | claude · sonnet/opus | medium |
-->Delegation rules
- One subagent = one bounded mission with a clear report format.
- Parallel fan-out: spawn several explores, keep working, wait once.
- Use subagent_send for retries with feedback ("your fix broke test Y — rerun and fix") instead of spawning fresh and losing context.
- After two failed rounds on the same child, take the work back.
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.

