Day 6, 25 minutes · advanced
Why it matters
Once subagents work, it is tempting to send everything through one. That costs more than it looks. Every subagent sends its own requests, a fresh one first has to find context your conversation already had, and some work simply goes better when you and Claude can talk it through.
Knowing when not to delegate is half the skill. Today you sort five of Ottoline's tasks into main conversation, subagent, skill or hook, look at what your subagents cost, and check the other half of the deal: the two subagents in her project travel with the repository, so anyone who clones it gets the same checks.
What a subagent costs
The best practices page is direct about it: subagents cost mostly tokens, because each one sends its own requests and they count against the same usage as your main conversation. Sometimes they cost time too: a fresh subagent first gathers context your conversation already had, so it can be slower than doing the task where you are.
They pay off when:
- independent pieces of work can run at the same time;
- long output, such as a wide search, would otherwise stay in your conversation;
- you want a reviewer that has not seen how the work was made;
- a task should have fewer tools than your main session.
To keep the cost down, the same page suggests a cheaper model for simple subagents, short answers, and a look at /usage. On Pro, Max, Ultra, Team and Enterprise plans /usage shows what share of your usage goes to each subagent, so you can see which ones earn their keep.
When to stay in the main conversation
The subagents page lists the cases:
- the task needs back-and-forth or several rounds of changes;
- several steps share a lot of context, such as planning, making and testing;
- it is a quick, small change;
- speed matters, because a fresh subagent needs time to get started.
For a quick question about something already in your conversation, /btw is lighter still. It has no tools, and its answer does not stay in your history.
Limits to know
- Subagents can start their own subagents, up to three layers below your main conversation by default. To stop a reviewer from starting helpers of its own, leave
Agentout of itstoolslist, as you did. - At least 20 subagents can run at once in a session by default. Above that, a new one fails to start until others finish.
- Each result lands in your conversation. Many detailed reports still fill it up.
Subagent, skill, hook or team
The features overview tells them apart:
| What it is | Use it for | |
|---|---|---|
| Subagent | a separate worker with its own context that returns a summary | reading a lot, parallel work, a reviewer with fewer tools |
| Skill | reusable instructions that load into your current conversation | a procedure or reference you need some of the time |
| Hook | an action, such as a script, that Claude Code runs at a fixed moment, every time | a rule that must never be skipped |
They combine: a subagent can preload skills, and a skill can run in a subagent. The course Agent skills in Claude Code covers skills in depth. Agent teams go further: several Claude Code sessions that share a task list and message each other. They are experimental, off by default and use a lot more tokens.
Share subagents through git
The subagents page says to check project subagents into version control, so your team can use and improve them. Ottoline already committed .claude/agents/. Anyone who clones her repository gets price-checker and class-reviewer with no setup. Personal subagents in ~/.claude/agents/ stay on your own machine.
Sharing helpers with a client team raises more questions: who owns them, who reviews changes, how they reach every laptop. The course Ship AI at the client covers that side.
The steps
- Start Claude Code in Manual mode in the practice folder.
- Ask Claude to write
delegation-choices.md, sorting five tasks, and correct any line you disagree with. - Open
/usageand look for the share of your subagents. - Check what git tracks under
.claude/agents, then clone the repository and find both subagents in the copy. - Commit your choices.
Follow the steps for Claude Code below.
Example: Ottoline's five tasks
- Fix one typo in a class note: main conversation, it is quicker to just do it.
- Check forty old customer emails for wrong prices: subagent,
price-checker, with only the mistakes coming back. - Rewrite the welcome email together, trying three tones: main conversation, it needs back-and-forth.
- Run the price check before every commit, without fail: hook, because Claude does not decide whether it runs.
- A fixed greeting and sign-off for every customer email: skill or a line in CLAUDE.md.
Deeper dive
Today's actions
Ticks are not saved without an accountDo it in Claude Code
Claude Code
- Start Claude Code in Manual mode in the practice folder.
cd fenwick-studio claude --permission-mode manual - Paste this prompt, approve the file and compare it with the example in the lesson. Ask Claude to change any line you disagree with.
Create delegation-choices.md. For each of these five tasks, write one line: the task, then main conversation, subagent, skill or hook, and why in a few words. 1. Fix one typo in classes/hand-building.md. 2. Check forty old customer emails for wrong prices. 3. Rewrite the welcome email together, trying three tones. 4. Run the price check before every commit, without fail. 5. Use the same greeting and sign-off in every customer email. Do not commit yet. - Type
/usageand look for the part that splits your usage by subagent. Press Esc to close it. Then commit your choices.Commit delegation-choices.md with the message: Decide what to delegate. - Type
/exit. In your terminal, list what git tracks under.claude/agents, then clone the repository as a teammate would and start Claude Code in the copy. Accept the trust question.git ls-files .claude/agents cd .. git clone fenwick-studio fenwick-copy cd fenwick-copy claude --permission-mode manual - Type
@and thenclass:class-reviewer (agent)is in the list, and so isprice-checker (agent)when you typeprice. They came with the clone. Clear the prompt and type/exit.
Note: The split by subagent in /usage is shown on Pro, Max, Ultra, Team and Enterprise plans. Run the commands in PowerShell, CMD or any macOS or Linux terminal. Delete the fenwick-copy folder afterwards if you like.
Paid planNeeds a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. The free Claude plan does not include Claude Code.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up