Agent Teams
Run several Claude Code sessions as a lead-plus-teammates crew with a shared task list, mailbox messaging, and file locks.
AutomationAdvanced★ 2,767⑂ 269AI score 8/10Last updated: Aug 3, 2026
What it does
A field guide to Claude Code's experimental agent teams mode:
- How to enable it (
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1): first session becomes the lead, later sessions in the same repo join as teammates - Shared task list, teammate-to-teammate mailbox messaging, and file-lock claiming to avoid edit conflicts
- Team sizing table (2 / 3–5 / avoid >5) plus a 5–6 tasks-per-teammate granularity rule
- Good vs bad task decomposition examples, dependency declaration, and a plan-approval loop before implementation
Shift+Tabdelegate mode,Shift+Downteammate cycling, tmux/iTerm2 split-pane tips- TeammateIdle / TaskCreated / TaskCompleted hooks for notifications or auto integration tests
- Decision table for teams vs subagents vs worktrees vs
/batch, and an anti-pattern list
Who it's for
- Intermediate-to-advanced Claude Code users who want multiple sessions working at once
- Teams pushing cross-layer changes (API + UI + tests) in a single pass
- Developers who hit context limits with subagents and need true parallelism
Examples
- Rate limiting feature: split into middleware, Redis config, tests, and API docs; assign to two teammates and set dependencies so tests/docs unblock when the middleware lands.
- Two-person loop: one session implements, the other reviews, while the lead stays in delegate mode approving plans.
- Routing decisions: use worktrees to compare competing approaches,
/batchfor 20+ file migrations, and a subagent for quick background exploration.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/agent-teams folder from the GitHub repo rohitg00/pro-workflow into my ~/.claude/skills/agent-teams/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/rohitg00/pro-workflow.git && mkdir -p ~/.claude/skills && cp -r pro-workflow/skills/agent-teams ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo:
git clone https://github.com/rohitg00/pro-workflow.git - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r pro-workflow/skills/agent-teams ~/.claude/skills/ - Turn on the experimental flag and start Claude Code:
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1thenclaude - Open another terminal (or tmux pane) in the same repo and run
claudeagain — it joins as a teammate. - From the lead session, try: "Using the agent-teams skill, break this work into 4 tasks and assign them."
Note: if your Claude Code build doesn't support the experimental flag, update to the latest version first.