Coordinate multiple Claude Code agents to work in parallel on independent tasks like multi-lens reviews, debugging, and full-stack features with defined file...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install claude-code-teams或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install claude-code-teams⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/claude-code-teams/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: claude-code-teams description: Production skill for orchestrating Claude Code's native agent teams feature. Use when: (1) Multi-lens reviews, (2) Competing hypotheses debugging, (3) Full-stack features, (4) Architecture debates, (5) Cross-domain investigations. metadata: openclaw: emoji: "🎭" requires: bins: ["claude"] env: ["CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS"] version: "1.0.0" author: "Matthew Gordon" tags: ["agents", "teams", "claude-code", "orchestration", "coordination"] ---
Orchestrate multiple Claude Code agents working together on complex tasks. Agents coordinate through a shared task list, message each other directly, and work in parallel on independent scopes.
✅ Use for parallel independent work:
❌ Don't use for:
Rule of thumb: Teams multiply token cost 3-4x. Use only when parallelization benefit exceeds coordination overhead.
Environment variable:
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
Or settings file (~/.claude/settings.json):
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}
./scripts/validate-setup.sh
Checks for: env var set, claude CLI available, tmux installed (optional).
| Template | Use Case | |----------|----------| | parallel-review.md | Multi-lens code review (security + performance + tests) | | competing-hypotheses.md | Debug by testing competing theories | | fullstack-feature.md | Frontend/backend/tests coordination | | architecture-decision.md | ADR with adversarial debate | | bottleneck-analysis.md | Cross-domain performance investigation | | inventory-classification.md | Data-parallel classification/refactoring |
Each template includes: when to use, team structure, copy-paste spawn prompt, expected outcomes.
claude --pty
# Paste spawn prompt from template
Monitor with ./scripts/team-monitor.sh (separate terminal) or Ctrl+T (in Claude Code).
Agent teams multiply token usage 3-4x vs single session. Each teammate has its own context window.
Optimize with:
See references/cost-management.md for detailed strategies.
Teammates not spawning?
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is setFile conflicts?
Lead implementing instead of coordinating?
See references/troubleshooting.md for full list.
Monitor progress:
./scripts/team-monitor.sh
Cleanup (graceful shutdown):
./scripts/team-cleanup.sh
In-process (default) - All teammates in main terminal
Shift+Up/Down - Select teammateCtrl+T - Toggle task listEscape - Interrupt teammateSplit-pane (requires tmux or iTerm2) - Each teammate gets own pane
teammateMode: "tmux" in ~/.claude/settings.jsontemplates/ - 6 copy-paste ready spawn prompts with usage guidancescripts/ - Automation helpers (validate, monitor, cleanup)references/best-practices.md - When to use teams, task sizing, file boundariesreferences/cost-management.md - Token optimization strategiesreferences/troubleshooting.md - Common issues and solutionsexamples/ - Real-world walkthroughs (PR review, bug hunt, feature build)| Approach | Best For | |----------|----------| | Single session | Sequential work, exploration | | Agent teams (this skill) | Parallel independent tasks with coordination | | OpenClaw subagents | Background work, long-running tasks |
Found a useful pattern? Submit PR with:
Built with insights from Claude Code documentation, ClaudeFast patterns, and OpenClaw community.
---
Repository: https://github.com/matthew-a-gordon/claude-code-teams License: MIT
安装 Claude Code Agent Teams 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/claude-code-teams/ 目录(个人级,所有项目可用),或 .claude/skills/claude-code-teams/(项目级)。重启 AI 客户端后,用 /claude-code-teams 主动调用,或让 AI 根据上下文自动发现并使用。
Claude Code Agent Teams 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Claude Code Agent Teams 可免费安装使用。请查阅仓库了解许可证信息。
Coordinate multiple Claude Code agents to work in parallel on independent tasks like multi-lens reviews, debugging, and full-stack features with defined file...
Claude Code Agent Teams 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。