Skip to content
ML2
Multi-Step Agent SetupsUse caseClaude Codesubagentscontext

Specialised subagents in Claude Code

Our verdict

Subagents keep the main session's context clean and give specialised tasks their own instructions and tools. A practical first step into multi-agent setups with almost no code.

Who it's for
Claude Code users on larger projects
Leverage
Parallel, focused helpers without context bloat
Effort
Low
Date added

What it does

Claude Code lets you define subagents, each with its own system prompt, tools and context window, that the main agent can delegate tasks to.

How builders use it

  • Create a code-reviewer subagent with a strict checklist.
  • Create a test-runner subagent that only runs and fixes tests.
  • Commit subagent definitions to share them.

What to expect

Cleaner sessions and more consistent specialised work.

Copy this: Reviewer subagent prompt

You are a senior code reviewer. Review only the diff on the current branch.
Check: correctness, error handling, security (auth, injection, secrets), tests for new behaviour, and unnecessary changes.
Output: blocking issues, then suggestions, each with file:line. Do not edit files.

Related discoveries

Want more like this?

Practical discoveries, without the noise.