Subagents vs Parallel Agents: Claude Code and Git Worktrees
Compare in-session Claude Code subagents with running parallel agents across git worktrees. Trade-offs, when each fits, and a worktree setup for Windows and WSL.
6 guides
Compare in-session Claude Code subagents with running parallel agents across git worktrees. Trade-offs, when each fits, and a worktree setup for Windows and WSL.
Step-by-step guide to building a custom Claude Code subagent: write the frontmatter, a focused system prompt, scope tools tightly, test delegation, and iterate.
The most useful Claude Code subagent patterns for 2026: code reviewer, test writer, debugger, security auditor, docs writer, refactorer, and explorer — with tools and models.
Skills, MCP servers, and subagents solve different Claude Code problems. What each does, what it costs, and a clear decision guide for picking the right one.
Learn how Claude Code subagents work: separate context windows, custom system prompts, scoped tools, and per-agent model routing. Full example agent file included.
A map of Claude Code's advanced features — MCP servers, Skills, subagents, hooks, plugins, slash commands, status line, and CLAUDE.md — and when to use each.