delegating-work
Skill0 starsChanged 50 days agoMITView on GitHub
Use when a change is expected to span multiple files or modules, or when deciding whether to hand work to subagents, run them in parallel, or keep it in the main conversation.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- BuilderIO/agent-nativetheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- BuilderIO/agent-native★ 7.6ksame 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 repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- capturing-decisionsSkill
- choosing-subagent-modelsSkill
- committing-changesSkill
- debugging-systematicallySkill
- designing-changesSkill
- exploring-a-codebaseSkill
- injecting-dependenciesSkill
- planning-changesSkill
- pruning-testsSkill
- reflecting-on-changesSkill
- resolving-conflictsSkill
- reviewing-codeSkill
- verifying-changesSkill
- writing-commentsSkill
- writing-logsSkill
- writing-project-instructionsSkill
- writing-skillsSkill
- writing-testsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
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 13
Test and review rules still apply.
- Distinctive: line 17
Repetitive mechanical work across many sites: do one unit by hand, then build the script or tool that matches it for the rest.
- Very specific: line 40
Research — fan out: Every applicable reader in one message, read-only, with an explicit model — vvkit:choosing-subagent-models.
- Distinctive: line 55
Every spawn carries four things.
≈ “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
Delegating work
Parallel readers, single writer. Research fans out. Design decisions and edits never do.
Gate
- A diff describable in one sentence — a single-file fix, a rename, a log tweak — skips all of this. Test and review rules still apply.
- A subagent's main value is isolation, not parallelism. Early in a session, under ~5 tool calls is cheaper inline. In a large conversation, one subagent that contains verbose output — a test run, a log sweep, a grep-heavy search — pays for itself.
- Repetitive mechanical work across many sites: do one unit by hand, then build the script or tool that matches it for the rest. Check the tool's output against the hand-done unit.
Single writer is not fresh writer
- Single writer is concurrency: never two agents editing at once.
- Fresh writer per task is context: deliberately discarding context between units.
| A fresh writer per task wins | One writer holding full context wins |
| Tasks are mechanically independent | Tasks must be consistent with each other |
| Verbose tool output would flood context | Judgment built up earlier still applies |
| The brief is cheaper to write than the output | Writing the brief ≈ writing the output |
| Accumulated drift is the risk | Cold-start divergence is the risk |
- The third row decides most cases. A brief that must say what to keep, strip, and how it reads beside its neighbours is already the work. Never delegate understanding.
- Coherent work split across cold starts produces N variants that each restate shared context, then drift.
Phases
- Scope. The goal, what is affected, what is out of scope.
- Research — fan out. Every applicable reader in one message, read-only, with an explicit model —
vvkit:choosing-subagent-models. Usually: prior art —vvkit:architecture-surveyor; any contract, schema or interface touched; the spec or ticket. Several independent failures get one read-only investigator each, returning root cause and proposed change — unless one fix might fix the others, then investigate together. - Plan — never delegated. Design stays where the full conversation is —
vvkit:designing-changes— and the plan is written beside it. - Implement — one writer at any moment; executing a plan is
vvkit:planning-changes. Never parallel implementers in one working tree. Tasks the human asks to run side by side get a worktree and branch each —/vvkit:worktree— and merge one at a time. - Verify, then review. Build and test first. Then one independent reviewer that never saw your reasoning, reading the diff itself — the one stage always worth delegating.
The spawn prompt
Every spawn carries four things; missing one is the usual cause of a useless result.
- Objective — the question, not the procedure. Over-prescribed steps yield shallow work.
- What is ruled out, so it does not re-derive dead ends.
- Known paths — files, symbols, line numbers.
- An output contract — exact shape and a length cap. A
file:lineor verbatim output behind every claim, verified facts apart from inferences.
A subagent gets no conversation history. Anything it needs is in the prompt.
Accepting a result
A report is a claim about the work, not evidence. It cites locations just as fluently whether or not it read them.
- Read the cited
file:lineyourself for every claim a decision rests on. - Re-derive counts and outcomes from the machine —
git diff --statfor "changed N places", a re-run orvvkit:test-runner's exit code for "tests pass". - High-risk conclusions need a second opinion that never saw the first — deletion, security, production config, anything the user will act on. Two independent agents, or one briefed to refute; accept what both agree on or the refuter failed to break.
Common mistakes
| Mistake | Why it fails |
| Fanning out implementers to go faster | Conflicting edits; writes stay serial |
| Delegating the plan | The planner needs the full conversation |
| Accepting a subagent's "done" | It reports what it intended |
| Running the pipeline on a one-sentence change | That is what the gate is for |
| Omitting the output contract | Unstructured results defeat the isolation |
| Nesting subagents | Subagents cannot spawn subagents; chain from the main conversation |
| Re-reading a result that timed out | It can double-count or truncate. Raise the timeout instead |
| Reporting a background agent's result before it lands | You do not know what it found until the notification arrives |
Frontmatter fields, tool restrictions, memory, isolation and anti-patterns:
references/subagent-reference.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.

