agent-teams — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited agent-teams (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Coordinate multiple Claude Code instances working together as a team, with shared tasks, inter-agent messaging, and centralized management.
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMSAdd to .claude/settings.local.json or .claude/settings.json:
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}Or via environment variable:
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1┌────────────────────────────────────────────────────────────────────┐
│ AGENT TEAMS vs SUB-AGENTS: DECISION GUIDE │
├────────────────────────────────────────────────────────────────────┤
│ │
│ AGENT TEAMS if: │
│ - Agents need to COMMUNICATE with each other │
│ - COMPLEX work requiring discussion and collaboration │
│ - Tasks with coordination (cross-review, debate, consensus) │
│ - 3+ agents working in parallel over a long duration │
│ │
│ SUB-AGENTS (Task tool) if: │
│ - FOCUSED task where only the result matters │
│ - No need for inter-agent communication │
│ - 1-2 agents for short tasks │
│ - Token economy is the priority │
│ │
│ MANUAL PARALLEL SESSIONS (git worktrees) if: │
│ - Full control over each session │
│ - No need for automatic coordination │
│ - Work on completely independent branches │
│ │
└────────────────────────────────────────────────────────────────────┘| Sub-Agents (Task) | Agent Teams | Manual sessions | |
|---|---|---|---|
| Context | Clean, result returned | Clean, independent | Clean, independent |
| Communication | Return to parent only | Direct messaging between agents | None (manual) |
| Coordination | Main agent handles everything | Shared task list | Manual |
| Token cost | Low | High (1 context per agent) | High |
| Ideal for | Focused tasks | Complex collaborative work | Independent branches |
┌─────────────────────────────────────────────────────────────────┐
│ AGENT TEAM │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────────┐ │
│ │ TEAM LEAD │ ←── You interact with the lead │
│ │ (coordinates)│ │
│ └──────┬───────┘ │
│ │ │
│ ├──── Shared Task List ────┐ │
│ │ │ │
│ ┌─────┴─────┐ ┌──────────┐ ┌──┴───────┐ │
│ │ Teammate 1 │ │ Teammate 2│ │ Teammate 3│ │
│ │ (security) │ │ (perf) │ │ (a11y) │ │
│ └────────────┘ └──────────┘ └──────────┘ │
│ ↕ ↕ ↕ │
│ Direct messaging between agents │
│ │
└─────────────────────────────────────────────────────────────────┘| Component | Role |
|---|---|
| Team Lead | Main session, creates the team, coordinates the work |
| Teammates | Independent Claude Code instances, execute the tasks |
| Task List | Shared list of tasks with statuses and dependencies |
| Mailbox | Messaging system for inter-agent communication |
| Mode | Description | Prerequisites |
|---|---|---|
in-process | All teammates in the main terminal. Navigation: Shift+Up/Down | None |
tmux | Each teammate in its own tmux pane | tmux installed |
auto (default) | Split-panes if already in tmux, otherwise in-process | - |
Configuration in settings.json:
{
"teammateMode": "auto"
}Or via command line:
claude --teammate-mode tmux| Shortcut | Action |
|---|---|
Shift+Up/Down | Navigate between teammates (in-process mode) |
Shift+Tab | Switch to delegate mode (lead = coordination only) |
Ctrl+T | Show/hide the task list |
Enter | Enter a teammate's session |
Escape | Interrupt a teammate's turn |
1. CREATE the team → Describe the task and desired structure
│
▼
2. SPAWN teammates → The lead creates the specialized agents
│
▼
3. COORDINATE → Shared tasks, messaging, delegation
│
▼
4. SYNTHESIZE → The lead combines the results
│
▼
5. SHUTDOWN → Stop each teammate cleanly
│
▼
6. CLEANUP → Clean up the team's resourcesCreate a team of 3 agents to audit this project in parallel:
- A security agent (focus on OWASP Top 10)
- A performance agent (focus on Core Web Vitals)
- An accessibility agent (focus on WCAG 2.1 AA)
Each produces a report, then synthesize the results.Delegate mode prevents the lead from implementing itself, forcing it to stay in coordination:
Shift+Tab after creating the team| Limitation | Workaround |
|---|---|
| No resume for in-process teammates | The lead re-creates the team after /resume |
| Only one team per session | Cleanup before creating a new team |
| No nested teams | Only the lead can manage the team |
| Fixed lead (no transfer) | The creator stays lead for the whole duration |
| Two agents on the same file = overwrite | Split the work by file |
| Split-panes not supported in VS Code / Windows Terminal | Use in-process mode |
See @patterns.md for the 4 ready-to-use patterns:
| Pattern | Teammates | Use case |
|---|---|---|
| Audit | 3-4 agents (security, perf, a11y, design) | Full quality audit |
| Feature | 2-3 agents (frontend, backend, tests) | Multi-layer development |
| Debug | 3-5 agents (concurrent hypotheses) | Complex bug investigation |
| Review | 3 agents (security, perf, coverage) | Parallel code review |
/work:work-team "Full project audit"The lead will:
/work:work-team "Implement the notifications system"The lead will:
src/services/notification.ts and the API endpoints."src/components/ and the associated hooks."The claude agents subcommand for dispatched background sessions gained per-session configuration flags: --add-dir, --settings, --mcp-config, --plugin-dir, --permission-mode, --model, --effort, --dangerously-skip-permissions. Useful when a teammate needs a different model than the lead (e.g. dispatch a Haiku worker for grep-heavy tasks while the lead stays on Opus), a tighter permission mode, or an alternate .mcp-config. Fast mode runs on Opus 4.8 (also available on 4.7/4.6).
For the foundation's own heaviest dispatched sessions (large multi-PR migrations, deep audits), --model claude-fable-5 selects Anthropic's most capable model — a deliberate, costlier choice (~2× Opus 4.8). This is a per-session selection only: agent model: frontmatter is unchanged and there is no fable tier alias.
Anthropic ships an Agent View (research preview, May 2026): a unified terminal dashboard that lists every running session, their current state, last responses, and a key to jump back into any of them. Complementary to the in-process Team Lead model — Agent View covers cross-process sessions that the Team Lead can't see. See the official preview note for activation.
parallel-agents for orchestration via Task sub-agentsgit-worktrees for manual parallel sessionssession-handoff for context handoff between sessions/work:work-team for the direct launch command~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.