Claude Code Subagents: Setup and Use Cases
Blog post from TestMu AI
Claude Code subagents are isolated Claude instances that receive separate context windows, tool permissions, models, and execution settings, allowing the main session to delegate self-contained, tool-heavy tasks while receiving only final results rather than accumulated exploration output. The write-up explains that custom subagents are defined in Markdown files with YAML frontmatter containing required name and description fields plus optional controls for tools, models, permissions, memory, effort, worktree isolation, turn limits, and other behavior; descriptions are especially important because they guide automatic delegation. Definitions can be managed at organizational, command-line, project, user, or plugin scope, with a stated priority order, while delegation can occur automatically, through natural-language requests, @-mentions, or session-wide agent settings. It distinguishes subagents from agent teams, noting that subagents report summarized results to a caller and are suited to independent tasks, whereas teams communicate directly and incur greater coordination and token costs. The article cautions that subagents consume substantially more tokens than direct chats, have default concurrency and nesting limits, and begin without the main session’s accumulated context, making them most useful for verbose but bounded work such as codebase exploration, accessibility review, or scoped implementation. It also argues that ordinary development tools can establish compilation or test success but may not prove rendered UI behavior, presenting TestMu AI’s Kane CLI as a browser-based verification option that returns pass-or-fail results for UI flows.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Multi-agent systems | 5 | 407 | 150 | 61 | -24% |
| MCP | 1 | 8,107 | 809 | 199 | -26% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.