用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill agent-teams命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | agent-teams |
| description | > Use when this capability is needed. |
Coordinate multiple Claude Code instances working together. One session acts as team lead, spawning and coordinating teammates that work independently in their own context windows and communicate directly with each other.
Add to settings.json:
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}
Or set the environment variable directly:
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
Tell Claude to create an agent team with a natural language prompt describing the task and team structure:
Create an agent team to review PR #142. Spawn three reviewers:
- One focused on security implications
- One checking performance impact
- One validating test coverage
Claude creates the team, spawns teammates, coordinates work, and synthesizes results.
| Criteria | Use Subagents | Use Agent Teams |
|---|---|---|
| Workers need to talk to each other | No | Yes |
| Task is focused, result-only matters | Yes | No |
| Complex work requiring discussion | No | Yes |
| Token budget is tight | Yes (lower cost) | No (higher cost) |
| Workers need shared task list | No | Yes |
Best use cases for agent teams:
Two modes available. Set in settings.json or via CLI flag.
In-process (default fallback): All teammates in your main terminal.
Shift+Up/Down to select a teammateEnter to view a teammate's session, Escape to interruptCtrl+T to toggle task listSplit panes: Each teammate gets its own pane (requires tmux or iTerm2).
{ "teammateMode": "in-process" }
Or per-session:
claude --teammate-mode in-process
The default "auto" uses split panes if already in tmux, otherwise in-process.
For split pane prerequisites and troubleshooting, see references/configuration.md.
Create a team with 4 teammates to refactor these modules in parallel.
Use Sonnet for each teammate.
Spawn an architect teammate to refactor the authentication module.
Require plan approval before they make any changes.
The lead reviews and approves/rejects plans autonomously. Influence with criteria: "only approve plans that include test coverage."
Press Shift+Tab to cycle into delegate mode. Restricts the lead to coordination-only (no code changes), forcing it to delegate all implementation to teammates.
Each teammate is a full Claude Code session. Message any teammate directly to give instructions, ask questions, or redirect.
Ask the researcher teammate to shut down
When done:
Clean up the team
Always use the lead to clean up. Shut down all teammates first.
Create an agent team to review PR #142. Spawn three reviewers:
- One focused on security implications
- One checking performance impact
- One validating test coverage
Have them each review and report findings.
Users report the app exits after one message instead of staying connected.
Spawn 5 agent teammates to investigate different hypotheses. Have them talk to
each other to try to disprove each other's theories, like a scientific debate.
Update the findings doc with whatever consensus emerges.
I'm designing a CLI tool that helps developers track TODO comments across
their codebase. Create an agent team to explore this from different angles: one
teammate on UX, one on technical architecture, one playing devil's advocate.
Shift+Down to cycle through; check tmux is installed for split modetmux ls then tmux kill-session -t <session-name>For full configuration details, architecture, and limitations, see references/configuration.md.
Source: DmitriyYukhanov/claude-plugins — distributed by TomeVault.