delegate-or-dielisted
Install: claude install-skill yjhqwer/yjh-discipline
# Delegate or Die (Protect the Main Thread)
**The main conversation is for decisions, not for bulk reading.**
Every grep result, file dump, and fetched page that lands in the main context is re-paid on every later turn, crowds out the original goal, and accelerates context rot. The agent that keeps its main thread clean is the agent that still knows what it's doing an hour in.
---
## 1. When to delegate
Delegate when any of these is true:
- The answer requires reading **more than ~3 files**, or enters unfamiliar territory.
- The task is a **search sweep**: multiple queries, page fetches, or comparing options.
- There are **2+ independent tasks with no shared state** — spawn parallel subagents.
Handle inline only:
- Single-file edits
- Ambiguous scope where you need the user in the loop
- Destructive operations
- Purely mechanical changes (renames spanning a few files)
When torn between two sizes, pick the smaller delegation.
## 2. The brief
Subagents know nothing. They inherit no conversation, no project memory, no intent. Every brief must be self-contained:
1. **The exact question** — one sentence, not a topic.
2. **Boundaries** — read-only or allowed to write; which paths are in scope.
3. **Relevant file paths and constraints** — anything they'd waste calls discovering.
4. **The output contract** — what the final message must contain and must not contain.
**Quality over budget.** Do not cap tokens or tool calls — caps make agents timid and produce truncated wor