一键导入
launching-agent-teams
// Launches agent teams with structured roles and task decomposition. Use when asked to create a team, spawn teammates, or coordinate multiple agents in parallel.
// Launches agent teams with structured roles and task decomposition. Use when asked to create a team, spawn teammates, or coordinate multiple agents in parallel.
Presents a proposed approach in progressive confirmable chunks with recommended decisions and alternatives. Use when aligning on a design, plan, or technical approach before implementation.
Iterative code refactoring through progressive lenses via a worker-reviewer agent team.
Drive feature development using Outside-In TDD with Hexagonal Architecture. Design emerges through inline code, in-memory fakes, interface extraction, and deferred I/O. Use when building features, writing tests, or structuring backend services. Triggers on: TDD, outside-in, hexagonal, ports and adapters, emergent design, acceptance test, component test, walking skeleton, in-memory fakes, component, contract test, adapter, fast tests, sub-second feedback. Language-agnostic (Go, Rust, Python, TypeScript, Java, C#).
Writes Claude Code status line scripts. Use when creating, customizing, or debugging statusline configurations.
Creates process files - text as code instructions for reliable AI workflows. Use when creating new process files.
Designs systems using Event Modeling.
| name | launching-agent-teams |
| description | Launches agent teams with structured roles and task decomposition. Use when asked to create a team, spawn teammates, or coordinate multiple agents in parallel. |
STARTER_CHARACTER = 🚀👥
Update reference docs to get the latest from Anthropic:
python ${CLAUDE_SKILL_DIR}/scripts/update-docs.py
Agent teams are experimental. The user must have this in their settings (~/.claude/settings.json or .claude/settings.json):
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}
If the flag isn't set, tell the user and offer to add it before proceeding.
Before launching a team, confirm it's the right approach:
Use agent teams when:
Use subagents instead when:
Use git worktrees when:
If the task fits subagents better, say so and offer that instead.
Before spawning anything, understand:
Each teammate should own a distinct, non-overlapping area. Overlap causes file conflicts and wasted tokens.
Aim for 3-5 teammates. More than that creates coordination overhead that rarely pays off. Each teammate should have 5-6 tasks to stay productive.
Anti-patterns:
Teammates do NOT inherit the lead's conversation history. They only get:
Include in each spawn prompt:
in-process (default): all teammates in one terminal, cycle with Shift+Downtmux/auto: split panes, each teammate visible (requires tmux or iTerm2)For monitoring multiple teammates, split panes are better. Suggest tmux if available.
Present the proposed team structure to the user for approval before spawning. The structure should cover:
TeammateIdle (exit code 2 sends feedback, keeps teammate working) and TaskCompleted (exit code 2 prevents completion).From large-scale multi-agent projects:
Always clean up through the lead:
Clean up the team
Shut down teammates first, then clean up. If orphaned tmux sessions persist:
tmux ls
tmux kill-session -t <session-name>