Notes on building software.
A personal blog of technical articles about software development.
Giving Subagents the Right Tools
The tools field is an allowlist, so you can hand a subagent exactly the tools it needs and nothing more.
Choosing a Model for Each Subagent
Set a model alias per subagent so cheap jobs run on a fast model and hard jobs get a stronger one.
Invoking Subagents Explicitly vs Automatically
You can name a subagent directly, let Claude delegate by description, or start a whole session as one agent.
The Built-in Explore, Plan, and General-Purpose Agents
Claude Code ships with three ready-made agents: Explore for search, Plan for design, and general-purpose for anything.
Running Subagents in Parallel
Because each subagent has its own context window, you can send several to investigate different areas at once.
Isolating Subagents with Git Worktrees
A git worktree gives a subagent its own working copy, so parallel changes never fight over the same files.