delegate
Skill4 starsChanged 5 months agoMITView on GitHub
Use when a task would flood the main context window — broad searches, verbose test/build output, 2+ independent parallel tasks, or an isolated large workstream. How to hand work to subagents well, and when not to.
36 other projects use a version of this.
Adopted by
Most recently taken up by
- snjrusmn/multi-model-clitheir own version, first seen Oct 7, 2026
- andreilungeanu/cursor-delegate-mcptheir own version, first seen Oct 5, 2026
- Magnus-Gille/claude-skillstheir own version, first seen Oct 5, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- ShalomPrinz/go2-dispatchertheir own version, first seen Oct 4, 2026
- mifunedev/skillstheir own version, first seen Oct 3, 2026
Used with
Projects with it also use release.
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.
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
Other versions36 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 36
- Encod3d-Sec/TORCH★ 329same name
- prassanna-ravishankar/repowire★ 265same name
- HurricaHjz/second-yourself★ 105same name
- DannyMac180/astrable★ 42same name
- mhlaghari/stuntman★ 14same name
- victor-falcon/skills★ 14same name
- gyroid-eth/orrery-telemetry★ 9same name
- bitflight-devops/hallucination-detector★ 8same name
- Magnus-Gille/claude-skills★ 5same name
- andreilungeanu/cursor-delegate-mcp★ 4same name
26 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 repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architectureSkill
- briefSkill
- browser-qaSkill
- debugSkill
- designSkill
- grill-meSkill
- learnSkill
- planSkill
- securitySkill
- setupSkill
- shipSkill
- tddSkill
- verify-doneSkill
- workflowSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Verbose output: test suites, builds, long logs — where only the summary matters in the main session.
- Very specific: line 26
When a trigger fires, stop and call AskUserQuestion: name the task, why it triggered, a suggested model tier, and delegate-or-inline as …
- Distinctive: line 35
Never delegate "to follow process" — an implementer+reviewer pair per tiny task turns 15 minutes of work into 8 round-trips of ceremony.
- Distinctive: line 56
Exact values live in one place: If the work follows a plan, point the agent at its task text rather than paraphrasing requirements — …
- Distinctive: line 62
One writer per file: Never let two concurrent agents edit the same files or share mutable state.
- Distinctive: line 66
Match model to task: when dispatching: mechanical single-file work → a fast cheap model.
- Distinctive: line 70
Handle agent status honestly: if an agent reports it's blocked or needs context, change something (context, model, task size) before …
- Distinctive: line 79
Read each summary; check for conflicts between concurrent agents' changes.
- Distinctive: line 81
One fixer for all findings, not one per finding: If review/verification surfaces multiple issues, dispatch a single fix agent with the …
“Common” is measured: kept by at least 6 in 10 of the 33 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
Delegate
Part of the Build phase — see the workflow skill for tiers and sequencing.
Subagents exist to protect the main context window and exploit true parallelism — not to add process. Every dispatch costs a full agent spin-up: the agent re-reads context, explores, works, and reports. Spend that cost only when it buys something.
Triggers — delegate when (and only when)
- Context-flooding search/read: answering requires sweeping many files but you only need the conclusion, not the file contents.
- Verbose output: test suites, builds, long logs — where only the summary matters in the main session.
- True parallelism: 2+ genuinely independent tasks with no shared state and no sequential dependency.
- Isolated large workstream (T3): big enough that a fresh, focused context outperforms a crowded one.
When a trigger fires, stop and call AskUserQuestion: name the task, why it
triggered, a suggested model tier, and delegate-or-inline as options. Never
decide silently in either direction. This applies at the trigger point, whenever
it fires — including in the middle of another skill's process. (Doesn't apply to
the anti-triggers below.)
Anti-triggers — do it inline instead:
- Small, sequential, or interdependent work.
- A 30-line change never needs an agent round-trip.
- Never delegate "to follow process" — an implementer+reviewer pair per tiny task turns 15 minutes of work into 8 round-trips of ceremony.
- Exploratory debugging where you don't yet know what's broken — you need the full picture in one context.
- Related failures (fixing one might fix the others): investigate together first.
Writing the dispatch prompt
A subagent inherits none of your session. You construct exactly what it needs:
- Focused scope — one clear problem domain. "Fix all the tests" loses the agent; "fix agent-tool-abort.test.ts" keeps it on target.
- Self-contained context — paste the error messages, name the files, one line on where this fits in the project, interfaces/decisions it can't discover itself, and your resolution of any known ambiguity.
- Constraints — "do NOT change production code", "fix tests only", "don't just increase timeouts — find the real issue."
- Expected return — say exactly what to report back: "return a summary of root cause and changes", a structured result, a file path. The agent's final message is your only deliverable from it.
- Exact values live in one place. If the work follows a plan, point the agent at its task text rather than paraphrasing requirements — paraphrase drift is how implementations diverge from spec.
Coordination rules
- One writer per file. Never let two concurrent agents edit the same files or share mutable state; parallel writers = merge conflicts.
- Parallel dispatches go in one message; one per message = sequential. Sequential dependencies mean you wanted one agent, not two.
- Match model to task when dispatching: mechanical single-file work → a fast cheap model; multi-file integration → standard; architecture/judgment → the most capable. Turn count beats token price — a too-weak model taking 3× the turns costs more than a stronger one.
- Handle agent status honestly: if an agent reports it's blocked or needs context, change something (context, model, task size) before re-dispatching — never force a retry of the same failure.
Integrating results
- Verify, don't trust. An agent's "success" report is a claim, not
evidence — check the diff, run the affected tests yourself (see
verify-done). Agents can make systematic errors. - Read each summary; check for conflicts between concurrent agents' changes; run the full affected suite after integrating.
- One fixer for all findings, not one per finding. If review/verification surfaces multiple issues, dispatch a single fix agent with the complete list — per-finding fixers each rebuild context and re-run suites.
Checkpoint economics
A checkpoint is a human-in-the-loop decision point — a subagent reporting back to you, or you presenting a tier gate to the user. Two rules:
- Push right. Defer a checkpoint as late as it will go, so whoever waits is asked once, late, with maximum work already done. A subagent that comes back to ask what it could have discovered itself wasted its dispatch; a T3 approval gate should arrive with the plan complete, not in fragments.
- Arrive decision-ready. A checkpoint presents a synthesized decision, never raw output: what was produced, why, the recommendation, a pointer to the artifact. Demand this shape in the dispatch prompt's "expected return"; produce it yourself at the user's tier gates.
Checkpoint vocabulary adapted from a personal workflow-design skill (loop-me).
Review scaling
Independent review passes (a separate reviewer agent over the diff) are a T3 tool — worth it for money/auth/data/migration work. They are not a default. For T1/T2, mechanical verification (typecheck, tests, lint) plus your own read of the diff is the right-sized gate.
Adapted from superpowers (MIT, © 2025 Jesse Vincent); see ATTRIBUTION.md.
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.

