/toolkit:claude-code-agent-teamsfrom toolkit
Coordinates multiple Claude Code instances as a team with shared tasks, inter-agent messaging, and centralized management for parallel work.
Ships in toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Coordinate multiple Claude Code instances working together as a team with shared tasks, inter-agent messaging, and centralized management.
See Agent Teams Guide for the complete reference including use case examples, architecture details, and troubleshooting.
Agent teams are experimental and disabled by default. Enable them:
// settings.json
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}
Best for tasks where parallel exploration adds value:
| Use Case | Why Teams Help |
|---|---|
| Research and review | Multiple angles investigated simultaneously |
| New modules or features | Each teammate owns a separate piece |
| Debugging competing hypotheses | Test different theories in parallel |
| Cross-layer coordination | Frontend, backend, tests each owned by a teammate |
Don't use teams for: sequential tasks, same-file edits, or work with many dependencies. Use a single session or subagents instead.
| Subagents | Agent Teams | |
|---|---|---|
| Context | Results return to caller | Fully independent |
| Communication | Report back only | Message each other directly |
| Coordination | Main agent manages all work | Shared task list, self-coordination |
| Best for | Focused tasks where only the result matters | Complex work requiring discussion |
| Token cost | Lower | Higher (each teammate is a separate instance) |
Use subagents for quick focused workers. Use agent teams when teammates need to share findings, challenge each other, and coordinate independently.
Tell Claude to create a team in natural language:
I'm designing a CLI tool that helps developers track TODO comments across
their codebase. Create an agent team to explore this from different angles: one
teammate on UX, one on technical architecture, one playing devil's advocate.
Claude creates the team, spawns teammates, and coordinates work.
| Mode | Description | Requirements |
|---|---|---|
in-process | All teammates in main terminal, Shift+Down to cycle | Any terminal |
tmux / split panes | Each teammate in its own pane | tmux or iTerm2 |
auto (default) | Split panes if in tmux, otherwise in-process | — |
Override per-session:
claude --teammate-mode in-process
Or in settings:
{
"teammateMode": "in-process"
}
Create a team with 4 teammates to refactor these modules in parallel.
Use Sonnet for each teammate.
Spawn an architect teammate to refactor the authentication module.
Require plan approval before they make any changes.
The lead reviews plans and approves or rejects with feedback.
Tasks have three states: pending, in progress, completed. Tasks can depend on other tasks. The lead assigns tasks or teammates self-claim. Press Ctrl+T to toggle the task list.
Ask the researcher teammate to shut down
When done:
Clean up the team
Always use the lead to clean up. Shut down all teammates first.
TeammateIdle — runs when a teammate is about to go idle. Exit code 2 sends feedback and keeps them working.TaskCompleted — runs when a task is marked complete. Exit code 2 prevents completion and sends feedback./resume, /rewind don't restore them)| Component | Role |
|---|---|
| Team lead | Main session that creates team, spawns teammates, coordinates |
| Teammates | Separate Claude Code instances working on assigned tasks |
| Task list | Shared work items that teammates claim and complete |
| Mailbox | Messaging system for inter-agent communication |
Storage locations:
~/.claude/teams/{team-name}/config.json~/.claude/tasks/{team-name}/Content adapted from Orchestrate teams of Claude Code sessions (Anthropic documentation).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dwmkerr/claude-toolkit --plugin toolkit16 skills in this plugin
/agent-developmentThis skill should be used when the user asks to "create an agent", "write an agent", "build an agent", or wants to add new agent capabilities to Claude Code./anthropic-evaluationsThis skill should be used when the user asks to "create evals", "evaluate an agent", "build evaluation suite", or mentions agent testing, graders, or benchmarks. Also suggest when building coding agents, conversational agents, or research agents that need quality assurance./claude-code-hook-developmentThis skill should be used when the user asks to "create a hook", "add a hook", "write a hook", or mentions Claude Code hooks. Also suggest this skill when the user asks to "automatically do X" or "run X before/after Y" as these are good candidates for hooks./claude-code-memory-and-rulesThis skill should be used when the user asks to "set up memory", "configure CLAUDE.md", "add rules", "create project rules", "organize instructions", or mentions Claude Code memory, CLAUDE.md files, .claude/rules, rules, or project instructions. Also use when the user wants to persist preferences, add coding conventions, scope instructions to specific files, or understand when to use rules vs hooks or other memory mechanisms./claude-code-plugin-developmentThis skill should be used when the user asks to "create a plugin", "build a plugin", "write a plugin", or wants to bundle agents, hooks, commands, skills, or MCP servers into a distributable Claude Code plugin./claude-code-slash-commandsThis skill should be used when the user asks to "create a command", "write a slash command", "build a plugin command", or wants to add custom commands to Claude Code.Other plugins' skills for the same job