Notes on building software.

A personal blog of technical articles about software development.

Giving Subagents the Right Tools

September 8, 2026· 2 min read·claude-codesubagentsagentspermissions

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

September 8, 2026· 2 min read·claude-codesubagentsagentsproductivity

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

September 8, 2026· 2 min read·claude-codesubagentsagents

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

September 8, 2026· 2 min read·claude-codesubagentsagents

Claude Code ships with three ready-made agents: Explore for search, Plan for design, and general-purpose for anything.

Running Subagents in Parallel

September 8, 2026· 2 min read·claude-codesubagentsagentsproductivity

Because each subagent has its own context window, you can send several to investigate different areas at once.

Isolating Subagents with Git Worktrees

September 8, 2026· 2 min read·claude-codesubagentsagentsgit

A git worktree gives a subagent its own working copy, so parallel changes never fight over the same files.