Spawn an agent team using presets (review, debug, feature, fullstack, research, security, migration) or custom composition
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-agents-d0925a73789e ,按照其中的说明把「team-spawn」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Spawn a multi-agent team using preset configurations or custom composition. Handles team creation, teammate spawning, and initial task setup.
Verify that CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set:
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 in your environment."Parse arguments from $ARGUMENTS:
--name: team name (default: auto-generated from preset)--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, architecturereview-teamdebug — Competing hypotheses debugging (default: 3 members)
team-debugger agents, each assigned a different hypothesisdebug-teamfeature — Parallel feature development (default: 3 members)
team-lead agent + 2 team-implementer agentsfeature-teamfullstack — Full-stack development (default: 4 members)
team-implementer (frontend), 1 team-implementer (backend), 1 team-implementer (tests), 1 team-leadfullstack-teamresearch — Parallel codebase, web, and documentation research (default: 3 members)
general-purpose agents, each assigned a different research question or arearesearch-teamsecurity — 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)security-teammigration — Codebase migration or large refactor (default: 4 members)
team-lead (coordination + migration plan), 2 team-implementer (parallel migration streams), 1 team-reviewer (verify migration correctness)migration-teamIf "custom" is specified:
--nameTeamCreate tool to create the team with team_name and descriptionAgent tool with:
team_name: the team namename: unique descriptive member name (e.g., "fullstack-lead", "frontend-impl", "security-reviewer")subagent_type: the selected role (for example, agent-teams:team-lead, agent-teams:team-implementer, agent-teams:team-reviewer, agent-teams:team-debugger, or general-purpose for research)prompt: Role-specific instructions referencing the appropriate agent definitionteam-lead as the spawned member name. Team creation can reserve role-like names, so use a unique member name and address the teammate by the actual name returned by Agent or listed in ~/.claude/teams/{team-name}/config.json.TaskCreate to create initial placeholder tasks for each teammate--delegate flag is set, transition to delegation modeDisplay 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 clean up