How to brief a Claude Code subagent and get short answers

Day 2, 25 minutes · advanced

Goal of this lessonBrief subagents that start without your conversation, run three in parallel in the background and get answers of at most two lines each.

Why it matters

A subagent is only as good as the task it gets. It starts without your conversation, so everything you told Claude earlier is missing unless it ends up in the task message. A vague request gives you a vague helper that reads everything and sends back a wall of text.

Good delegation is a skill you can learn in one sitting: say what to check, where to look, which facts count and what the answer should look like. Today you hand three checks to three subagents at once, keep each answer to two lines, and learn what runs in the background while you keep working. At the end you save the brief that worked, so you can reuse it.

What a subagent knows when it starts

The subagents page lists what a subagent gets at the start:

  • its own system prompt (its instructions), not the full Claude Code one;
  • the task message that Claude writes when it hands off the work;
  • your CLAUDE.md files and a snapshot of the git status, except for Explore and Plan, which skip both;
  • any skills its definition preloads.

It does not get your conversation history, the files Claude already read or the skills you already used. So if a rule must reach the subagent, say it in your request. The page uses the example "ignore the vendor/ directory": restate a rule like that when you delegate.

For Ottoline this matters right away. Her CLAUDE.md says the price list is the only source for prices. If Claude hands the check to Explore, Explore never reads that line. Put it in the request.

Write a brief that works cold

A good request for a subagent answers five questions:

  1. What should it check or find?
  2. Where: which files or folders?
  3. Which facts count as the truth?
  4. What shape should the answer have: a table, one line per finding, file and line?
  5. How long may the answer be?

The last one is easy to forget. The best practices page says to ask for short summaries back, so a pile of results does not fill your conversation anyway.

Run several at once

For work that splits into independent parts, ask for separate subagents in parallel. The subagents page gives this pattern: "Research the authentication, database, and API modules in parallel using separate subagents." Each one works on its own part, then Claude puts the findings together.

The page also warns: every result comes back into your conversation, and every subagent spends tokens of its own. Three short answers are fine. Twenty long ones are not.

Background and foreground

  • Background is the default for subagents Claude starts from your conversation. You can keep typing. Each running subagent has a row in the panel below the prompt. If one needs permission, the prompt shows in your main session and names the subagent. Approve it, or press Esc to deny that one call without stopping the subagent. When it is done, its result reaches Claude in a later turn. If you ask about it first, Claude says it is still running.
  • Foreground means the main conversation waits until the subagent is done. In an interactive terminal session Claude only waits when fork mode is off, a setting this course leaves alone.

To stop a running subagent, open /tasks, select it and press x.

There is one more kind: a fork. A fork copies your whole conversation instead of starting fresh, so you do not need a brief. /subtask followed by a task starts one. Use it when a fresh subagent would need too much background.

The steps

  1. Start Claude Code in Manual mode in the practice folder.
  2. Send one request with a full brief that asks for three subagents in parallel, one per class note, with two lines per answer.
  3. Watch the panel while they run. Approve a request only if it reads or lists files.
  4. Open /tasks and look at what each subagent did.
  5. Save the brief in a file, so the next request starts from it, and commit.

Follow the steps for Claude Code below.

Example: a weak and a strong brief

Weak:

Check the classes.

Strong:

Use three subagents in parallel, one per file in classes/. Each one checks
its class against prices.txt (the only source for prices) and
emails/reply-to-wieke.txt. Report at most two lines per class: the price in
prices.txt, and any day or price in the email that does not match the note.

The strong one tells each helper what to read, which file wins, and how short to be. The weak one leaves all of that to luck.

Today's actions

Ticks are not saved without an account

Do it in Claude Code

Claude Code

  1. Start Claude Code in Manual mode in the practice folder.
    cd fenwick-studio
    claude --permission-mode manual
  2. Paste this request and press Enter. It restates the price rule from CLAUDE.md, because some subagents, such as Explore, do not read CLAUDE.md.
    Use three subagents in parallel, one per file in classes/. Give each one this brief:
    - Read your class note, prices.txt and emails/reply-to-wieke.txt.
    - prices.txt is the only source for prices. Your class note is the only source for days and times.
    - Report at most two lines: the price of your class in prices.txt, and any day or price in the email about your class that does not match. If nothing is wrong, say: No mistakes.
    - Change no files.
    When all three are done, show their answers under the class names.
  3. Watch the panel below the prompt: one row per running subagent. If a prompt names a subagent, choose Yes only for reading or listing, or press Esc to deny that one call.
  4. Keep working while they run: ask a small question of your own, such as How many class notes are there?. The subagents' answers arrive in a later turn.
  5. When the answers arrive, type /tasks and open each finished subagent with Enter to see what it read. Press Esc to close it.
  6. Save the brief so you can reuse it, and approve the file and the commit.
    Create briefs.md with a heading Price and day check, and under it the brief you just used, word for word. Add one line at the end: Ask for two lines per subagent, with file and line. Then commit briefs.md with the message: Save the delegation brief.

Note: To stop a running subagent, open /tasks, select it and press x. /subtask followed by a task starts a fork that copies your conversation instead; it is not available when agent view is turned off. Claude decides how many subagents to start, so you may see fewer rows than three.

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.

Checked on 4 December 2026 · Source: Claude Code docs: Create custom subagents (opens in a new tab)

Create a free account to save your progress. Sign in or sign up