/agent-teams:team-spawn <preset|custom> [--members N] [--delegate]from agent-teams
Spawn an agent team using presets (review, debug, feature, fullstack, research, security, migration) or custom composition
Ships in agent-teams. Installing the plugin adds it to Claude Code.
Spawn a multi-agent team using preset configurations or custom composition. Spawns the teammates into the session's team and sets up their initial tasks. The session running this command is the lead.
Run echo "${CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS:-}". If it isn't 1, or the session is non-interactive (claude -p), no team can form. Tell the user: "Agent Teams is off. Set CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 in your environment or settings.json env, or run /team-review, /team-debug or /team-feature, which fall back to plain subagents." Then stop.
Parse arguments from $ARGUMENTS:
--members N: override default member count--delegate: enter delegation mode after spawningIf a preset is specified, use these configurations:
review — Multi-dimensional code review (default: 3 members)
team-reviewer agents with dimensions: security, performance, architecturedebug — Competing hypotheses debugging (default: 3 members)
team-debugger agents, each assigned a different hypothesisfeature — Parallel feature development (default: 2 members)
team-implementer agents; you coordinate as leadfullstack — Full-stack development (default: 3 members)
team-implementer (frontend), 1 team-implementer (backend), 1 team-implementer (tests); you coordinate as leadresearch — Parallel codebase, web, and documentation research (default: 3 members)
general-purpose agents, each assigned a different research question or areasecurity — Comprehensive security audit (default: 4 members)
team-reviewer (OWASP/vulnerabilities), 1 team-reviewer (auth/access control), 1 team-reviewer (dependencies/supply chain), 1 team-reviewer (secrets/configuration)migration — Codebase migration or large refactor (default: 3 members)
team-implementer (parallel migration streams), 1 team-reviewer (verify migration correctness)If "custom" is specified:
team-lead is not a teammate role.The session's team already exists, named after the session. There is one team per session.
Agent tool with:
name: unique descriptive member name (e.g., "frontend-impl", "security-reviewer"). A named Agent call is what makes it a teammate.subagent_type: the selected role (agent-teams:team-implementer, agent-teams:team-reviewer, agent-teams:team-debugger, or general-purpose for research)prompt: Role-specific instructions and all the context the teammate needs; it doesn't see your conversationteam-lead: the lead's own entry in the team config carries that agent type. Address each teammate by the name returned by Agent or listed in ~/.claude/teams/{team-name}/config.json.TaskCreate to create initial placeholder tasks for each teammate~/.claude/teams/)teammateMode from ~/.claude/settings.json; in-process when unset)--delegate flag is set, show the /team-delegate dashboardDisplay a formatted team summary:
Team "{team-name}" spawned successfully!
Members:
- {member-1-name} ({role})
- {member-2-name} ({role})
- {member-3-name} ({role})
Use /team-status to monitor progress
Use /team-delegate to assign tasks
Use /team-shutdown to stop the teammates
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub shotcowboystyle/ag-skills --plugin agent-teams7 commands in this plugin
/team-debugTeam DebugDebug issues using competing hypotheses with parallel investigation by multiple agents/team-delegateTeam DelegateTask delegation dashboard for managing team workload, assignments, and rebalancing/team-featureTeam FeatureDevelop features in parallel with multiple agents using file ownership boundaries and dependency management/team-reviewTeam ReviewLaunch a multi-reviewer parallel code review with specialized review dimensions/team-shutdownTeam ShutdownGracefully shut down the session's agent teammates and summarize their results/team-statusTeam StatusDisplay team members, task status, and progress for an active agent team