ClawTeam
它能做什么
这项技能教智能体如何使用 ClawTeam 命令行工具,把多个 AI 智能体组织成一个团队来工作。它负责团队设置、共享任务看板、智能体之间的消息以及进度监控。
适用场景
- ✓当用户想把一项大型编码工作拆分给多个 AI 智能体的时候。
- ✓当用户想查看团队状态,或查看运行中智能体的任务看板的时候。
- ✓当用户希望智能体通过收件箱互相发送消息的时候。
技能链接
https://github.com/HKUDS/ClawTeam/blob/main/docs/skills/clawteam/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请创建一个由三个智能体组成的团队,把这次重构拆分为任务,并显示任务看板。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会使用 clawteam 命令创建团队、启动工作智能体、分配任务并读取收件箱消息。每个智能体都可以在自己的 git worktree 中工作,看板会显示进度。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ClawTeam Multi-Agent Coordination
ClawTeam is a framework-agnostic CLI tool for coordinating multiple AI agents as a team. It provides team/task management, inter-agent messaging, git worktree isolation, provider-aware runtime profiles, git context injection, snapshots, and terminal-based monitoring dashboards.
All operations are performed via the clawteam CLI. Data is stored in ~/.clawteam/ by default.
Installation
Check whether clawteam is already available:
clawteam --version
If the command is missing, install it and continue:
pip install clawteam
Requires Python 3.10+. For P2P transport support: pip install "clawteam[p2p]".
Prerequisites
tmuxinstalled (default spawn backend)- A CLI coding agent such as
claude,codex,gemini,kimi,nanobot, oropenclaw - A git repository for worktree isolation and context features
- Default dependencies installed if you want the TUI wizard (
clawteam profile wizard)
Core Concepts
Teams — Named groups of agents with one leader and zero or more workers.
Inbox — File-based message queue per agent. receive is destructive; peek is not.
Tasks — Shared task board with pending, in_progress, completed, and blocked.
Tasks support dependency chains and priorities.
Profiles — Reusable client/provider/runtime configs used by spawn and launch.
Presets — Shared provider templates used to generate one or more profiles.
Context — Git/worktree-aware context tools for overlap checks, recent changes, and prompt injection.
Board — Team dashboard with kanban tasks, inbox counts, and message history views, plus gource activity visualization.
Quick Start
Set Up a Team with Tasks
export CLAWTEAM_AGENT_ID="leader-001"
export CLAWTEAM_AGENT_NAME="leader"
export CLAWTEAM_AGENT_TYPE="leader"
clawteam team spawn-team my-team -d "Project team" -n leader
clawteam task create my-team "Design system" -o leader
clawteam task create my-team "Implement feature" -o worker1
clawteam task create my-team "Write tests" -o worker2
clawteam board show my-team
Configure Runtime Profiles
# Inspect built-in provider templates
clawteam preset list
clawteam preset show moonshot-cn
# Generate a reusable profile from a preset
clawteam preset generate-profile moonshot-cn claude --name claude-kimi
# Or use the interactive TUI
clawteam profile wizard
# Claude Code on a fresh machine/home may need onboarding repair once
clawteam profile doctor claude
# Smoke-test the profile before using it in a team
MOONSHOT_API_KEY=... clawteam profile test claude-kimi
Spawn and Coordinate Agents
# Default path: tmux backend, claude command, git worktree isolation, skip-permissions on
clawteam spawn --team my-team --agent-name worker1 --task "Implement the auth module"
clawteam spawn --team my-team --agent-name worker2 --task "Write unit tests"
# Explicit backend and command
clawteam spawn tmux claude --team my-team --agent-name worker3 --task "Build API endpoints"
clawteam spawn subprocess claude --team my-team --agent-name worker4 --task "Run linting"
# Recommended for non-default providers/models
clawteam spawn tmux --profile claude-kimi --team my-team --agent-name worker5 --task "Build API endpoints"
clawteam spawn subprocess --profile gemini-vertex --team my-team --agent-name worker6 --task "Run linting"
clawteam board attach my-team
clawteam inbox send my-team worker1 "Start implementing the auth module"
clawteam board live my-team --interval 3
Spawn Defaults
| Setting | Default | Override |
|---|---|---|
| Backend | tmux |
clawteam spawn subprocess ... |
| Command | claude |
clawteam spawn tmux my-cmd ... |
| Workspace | auto (git worktree) |
--no-workspace or config workspace=never |
| Permissions | skip | --no-skip-permissions or config skip_permissions=false |
| Runtime profile | none | --profile <name> |
Use --profile whenever you need a non-default provider, model, endpoint, or auth mapping.
Task Lifecycle
# Create with dependencies
clawteam task create my-team "Deploy" --blocked-by <impl-task-id>,<test-task-id>
# Create with priority
clawteam task create my-team "Hotfix prod issue" --priority high
# Update status
clawteam task update my-team <task-id> --status in_progress
clawteam task update my-team <task-id> --status completed
# Filter tasks
clawteam task list my-team --status blocked
常见问题
我需要 tmux 吗?
默认的启动方式需要。这项技能把 tmux 列为前提条件。
它支持哪些 AI 编码工具?
这项技能列出的工具包括 claude、codex、gemini、kimi、nanobot 和 openclaw。
它需要 git 仓库吗?
为了使用 worktree 隔离和上下文功能,这项技能说明需要 git 仓库。
详情
作者的原始描述
This skill should be used when the user asks to "create a team", "spawn agents", "assign tasks", "coordinate multiple agents", "check team status", "view kanban board", "send messages between agents", "manage team tasks", "monitor team progress", or mentions "clawteam", legacy "oh", "multi-agent coordination", "team collaboration", "agent inbox", "task board", "spawn worker". This skill should also be triggered when the current task is complex enough to benefit from splitting into subtasks and delegating to multiple agents — for example when the user asks to "build a full-stack app", "refactor
repo: HKUDS/ClawTeam
热度
- GitHub 星标
- 5.5k
- 排名
- #14779
- 许可证
- MIT
- 更新时间
- 2026/5/9
评论
- …