
Clawteam
- 211 installs
- 40 repo stars
- Updated August 4, 2026
- akillness/oh-my-skills
Orchestrate multi-agent claw teams with role splits, handoffs, and shared context when automating complex coding, research, or ops workflows in Claude Code.
About
Clawteam skill from oh-my-skills defines multi-agent team topologies—roles, handoffs, parallel work, and review loops—so Claude Code sessions can run coordinated claw-style agent crews on large tasks.
- Multi-agent role and responsibility templates
- Handoff and context-sharing conventions
- Parallel specialist orchestration patterns
- Review-and-merge loops between agents
- Reusable team presets for recurring tasks
Clawteam by the numbers
- 211 all-time installs (skills.sh)
- Ranked #2,807 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/akillness/oh-my-skills --skill clawteamAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 211 |
|---|---|
| repo stars | ★ 40 |
| Last updated | August 4, 2026 |
| Repository | akillness/oh-my-skills ↗ |
What it does
Orchestrate multi-agent claw teams with role splits, handoffs, and shared context when automating complex coding, research, or ops workflows in Claude Code.
Files
clawteam — ClawTeam runtime operator router
Use this skill when the real question is "which ClawTeam operator packet do I need right now?"
clawteam owns the ClawTeam-specific runtime surface:
- team / task / inbox state
- worker spawning through
tmuxorsubprocess - workspace or git-worktree isolation
- board visibility and recovery flows
- template launches
- provider / preset / profile setup tied to spawn behavior
It does not own generic multi-agent orchestration, board governance, or lightweight subtask fan-out.
Read these support docs before stretching the boundary:
- references/intake-packets-and-route-outs.md
- references/operator-modes-and-route-outs.md
- references/architecture.md
- references/agent-types.md
- references/use-cases.md
When to use this skill
- The user explicitly says
clawteamor clearly wants ClawTeam's team/task/inbox/worktree runtime - A leader should coordinate named workers with explicit task ownership and message passing
- The user wants ClawTeam board commands such as
board attach,board live, orboard serve - The user wants a built-in ClawTeam template launch
- The real blocker is provider/model/profile setup inside ClawTeam before spawn
- The workflow spans developer delivery, product/ops research, content operations, or game work and the chosen runtime is ClawTeam
When not to use this skill
- Generic multi-agent implementation loop with planning + QA →
jeo,omc,omx, orohmg - Board/work queue control outside the ClawTeam runtime →
vibe-kanban - Lightweight parallel subtasks with no team/task/inbox/worktree state → built-in delegation / subagents
- Planning or decomposition →
task-planning - Tool comparison or platform survey →
survey
Instructions
Step 1: Start from the packet already in hand
Use references/intake-packets-and-route-outs.md.
Normalize the request into one packet first:
clawteam_packet:
primary_packet: manual-team | template-launch | monitor-recover | profile-setup | route-out
backend: tmux | subprocess | unknown
audience: developer-workflow | product-ops | marketing-content | game-production | mixed
current_pain: ownership-split | quick-start | stuck-runtime | provider-setup | wrong-tool
confidence: high | medium | lowChoose one primary packet only:
manual-team— explicit team lifecycle, worker roles, tasks, inboxes, dependenciestemplate-launch— launch a prebuilt ClawTeam team and monitor itmonitor-recover— inspect a running/stuck team, board, inbox, tasks, workspaces, or lifecycle stateprofile-setup— preset/profile/provider/model/runtime setup before spawnroute-out— the request is not really about ClawTeam's runtime
Rule: if the user really means “multiple agents” rather than “ClawTeam,” route out immediately.
Step 2: Verify the minimal runtime before giving deeper commands
Check what already works before assuming ClawTeam will smooth it over.
python3 --version
clawteam --help
tmux -V
# Replace with the agent CLI the user actually wants to run:
claude --version
codex --versionRules: 1. If the underlying agent CLI does not work by itself, do not pretend clawteam spawn will fix it. 2. Prefer tmux for visible interactive workers and live operator control. 3. Prefer subprocess only when headless/background execution is the real need. 4. If provider/model customization is the blocker, choose profile-setup before large spawn examples.
Step 3: Return the smallest useful command packet
Packet A — manual-team
Use this when ownership and dependencies must stay explicit.
clawteam team spawn-team my-team -d "Build the auth module" -n leader
clawteam spawn tmux claude --team my-team --agent-name architect --task "Design the API schema"
clawteam spawn tmux codex --team my-team --agent-name tester --task "Write integration tests"
clawteam task create my-team "Design the API schema" -o architect
clawteam inbox send my-team tester "Wait for API handoff before final checks"
clawteam board attach my-teamUse references/use-cases.md if the user needs fuller examples for fullstack, research, content, or game-production splits.
Packet B — template-launch
Use this when a built-in template already matches the job.
clawteam template list
clawteam launch hedge-fund --team fund1 --goal "Analyze AAPL, MSFT, NVDA for Q2 2026"
clawteam board attach fund1Do not bury this in a full manual-team walkthrough unless the template clearly fails to fit.
Packet C — monitor-recover
Use this when a team already exists or runtime truth is the real question.
clawteam team discover
clawteam team status my-team
clawteam board show my-team
clawteam task list my-team --status blocked
clawteam inbox peek my-team
clawteam workspace list my-teamUse this packet to inspect stuck workers, blocked tasks, missing inbox activity, or workspace drift.
Packet D — profile-setup
Use this when the runtime/provider setup is the actual blocker.
clawteam preset list
clawteam preset show moonshot-cn
clawteam preset generate-profile moonshot-cn claude --name claude-kimi
clawteam profile doctor claude
MOONSHOT_API_KEY=*** clawteam profile test claude-kimi
clawteam spawn tmux --profile claude-kimi --team my-team --agent-name researcher --task "Compare onboarding flows"Use this packet before large team examples when the question is really about provider/model/runtime configuration.
Step 4: Keep the runtime reality honest
ClawTeam-style workflows are still operator-heavy.
State these realities when relevant:
tmux+ worktree/session inspection is often part of the real workflow, not an implementation detail- long-running worker persistence may be fragile in some flows; do not oversell it
- trust prompts, permission flows, and backend-specific quirks can still leak through the abstraction
- manual cleanup, merge, or workspace hygiene may still matter after a run
Important upstream caveats:
- issue #148 documents worker keepalive problems in ongoing-job subprocess patterns
- issue #146 documents gaps between parsed agent definitions/configs and applied runtime behavior
If the user wants generic orchestration policy, board governance, or lightweight built-in delegation, route outward instead of growing this skill.
Step 5: Return one concise operator brief
Preferred format:
# ClawTeam Operator Brief
## Packet
- Packet:
- Why it fits:
- Backend:
## Preconditions
- Verified:
- Missing / risky:
## Commands
1. ...
2. ...
3. ...
## Monitoring / recovery
- ...
## Caveats
- ...
## Route-outs kept out of scope
- ...Short, truthful packets beat giant command dumps.
Examples
Example 1: Fullstack feature split
Input
Use ClawTeam to split a full-stack feature across a leader and two workers.
Good output direction
- choose
manual-team - verify the runtime and worker CLI first
- create the team, spawn workers, create explicit tasks, and end with a board command
- keep planning/review policy outside this skill
Example 2: Template first
Input
Launch a built-in ClawTeam team and let me watch it.
Good output direction
- choose
template-launch - use
template listif needed - use
launch ... --team ... --goal ... - monitor with
board attachorboard serve
Example 3: Runtime recovery
Input
A ClawTeam worker keeps dying after its first turn. What should I check?
Good output direction
- choose
monitor-recover - inspect team, board, task, inbox, and workspace state
- mention that long-running worker persistence is not guaranteed in every flow
- avoid pretending a generic orchestration skill owns the problem
Example 4: Honest route-out
Input
I just need a generic multi-agent implementation loop with planning and QA.
Good output direction
- choose
route-out - recommend
jeo,omc,omx, orohmg - explain that
clawteamis the ClawTeam runtime/operator surface, not the generic answer to every multi-agent request
Best practices
1. Pick one packet first instead of dumping every ClawTeam command family. 2. Verify the underlying agent CLI and backend before spawning workers. 3. Prefer tmux for visible operator control; use subprocess only when headless execution is the real need. 4. Use template launch only when the built-in archetype actually fits. 5. Treat provider/profile setup as its own path. 6. Keep worker persistence and config-application caveats explicit. 7. Keep clawteam distinct from orchestration routers, planning skills, and board-governance tools. 8. Update compact and discovery surfaces when the trigger wording changes materially.
References
- ClawTeam README
- PyPI: clawteam
- references/intake-packets-and-route-outs.md
- references/operator-modes-and-route-outs.md
- references/architecture.md
- references/agent-types.md
- references/use-cases.md
{
"skill_name": "clawteam",
"evals": [
{
"id": 1,
"prompt": "Use ClawTeam to split a full-stack feature across multiple agents.",
"expected_output": "Chooses manual-team mode, creates a team with team spawn-team, spawns workers with clawteam spawn tmux ..., uses task create/update or inbox commands, and finishes with board attach or board serve.",
"assertions": [
"manual-team mode selected or clearly implied",
"team spawn-team command shown",
"spawn tmux command shown",
"task create or task update command shown",
"board attach or board serve command shown"
]
},
{
"id": 2,
"prompt": "How do I launch a prebuilt ClawTeam team and watch it live?",
"expected_output": "Chooses launch-template mode, uses template list or launch <template>, and includes a monitoring command such as board attach or board serve.",
"assertions": [
"launch-template mode selected or clearly implied",
"template list or launch command shown",
"board attach or board serve command shown",
"does not bury the answer in manual-team setup unless justified"
]
},
{
"id": 3,
"prompt": "Set up ClawTeam with a non-default provider/model profile before spawning workers.",
"expected_output": "Chooses profile-setup mode and uses preset/profile commands before spawn.",
"assertions": [
"profile-setup mode selected or clearly implied",
"preset list/show or preset generate-profile command shown",
"profile doctor or profile test command shown",
"spawn with --profile shown or described"
]
},
{
"id": 4,
"prompt": "A ClawTeam worker keeps dying after its first turn. What should I check?",
"expected_output": "Chooses monitor-recover mode, gives board/team/task/inbox inspection commands, and mentions that long-running worker persistence may be fragile rather than guaranteed.",
"assertions": [
"monitor-recover mode selected or clearly implied",
"team status or board show/live/attach/serve command shown",
"task or inbox inspection command shown",
"caveat about long-running worker behavior mentioned"
]
},
{
"id": 5,
"prompt": "I just need a generic multi-agent implementation loop with planning and QA.",
"expected_output": "Routes away from clawteam to a more appropriate orchestration skill such as jeo, omc, omx, or ohmg.",
"assertions": [
"route-out to neighboring orchestration skill provided",
"explains that clawteam is the ClawTeam-specific operator surface",
"does not force ClawTeam commands for a generic orchestration request"
]
},
{
"id": 6,
"prompt": "I need a Kanban-style board for coding tasks, review queues, and worktree handoff — not ClawTeam runtime commands.",
"expected_output": "Routes away from clawteam to vibe-kanban or another board/governance owner instead of forcing ClawTeam board commands.",
"assertions": [
"route-out to vibe-kanban or equivalent board-governance owner provided",
"explains that clawteam owns the runtime/operator surface rather than generic board governance",
"does not present ClawTeam board commands as the default answer"
]
}
]
}
Agent types and spawn paths
ClawTeam works with CLI agents that already run correctly on their own.
Rule zero
Verify the raw agent command first.
claude --version
codex --version
cursor --helpIf the agent command does not work outside ClawTeam, fix that first.
Common spawn patterns
| Runtime path | Example | Best for |
|---|---|---|
| tmux + Claude | clawteam spawn tmux claude --team my-team --agent-name architect --task "Design the API schema" | interactive dev/research teams |
| tmux + Codex | clawteam spawn tmux codex --team my-team --agent-name tester --task "Write integration tests" | coding/test workers with live monitoring |
| subprocess + Cursor | clawteam spawn subprocess cursor --team my-team --agent-name reviewer --task "Review the UI copy" | headless / non-tmux workers |
| profile-based spawn | clawteam spawn tmux --profile claude-kimi --team my-team --agent-name researcher --task "Compare onboarding flows" | non-default providers/models |
| custom command | clawteam spawn subprocess python --team my-team --agent-name helper --task "Run the export check" | arbitrary CLI wrappers |
Role naming guidance
Use semantic names:
architectbackendtesterresearchercontent-editorbuild-reviewer
Avoid generic names like worker-1 unless the user truly does not care about ownership clarity.
Prompt / coordination expectations
Spawned workers are expected to:
- inspect their tasks
- update task status
- read and send inbox messages
- report idle or completion state
Representative operator commands:
clawteam task list my-team --owner backend
clawteam task update my-team 2 --status in_progress
clawteam task update my-team 2 --status completed
clawteam inbox send my-team leader "Auth flow is ready for review"
clawteam inbox receive my-team
clawteam lifecycle idle my-teamProvider-aware setup
When the blocker is provider/model/runtime configuration, use profiles and presets instead of improvising every spawn command:
clawteam preset list
clawteam preset generate-profile moonshot-cn claude --name claude-kimi
clawteam profile doctor claude
clawteam profile test claude-kimiCaveats
tmuxis the default happy path for visible teams.subprocessis useful but deserves more caution for long-running workers.- Do not assume advanced agent-definition files are fully honored without testing.
ClawTeam architecture
Overview
ClawTeam is a filesystem-first swarm runner. It combines:
- team state (
team,task,inbox,workspace,lifecyclecommands) - worker runtime backends (
tmuxorsubprocess) - workspace isolation (typically git worktrees)
- monitoring surfaces (
board show/live/attach/serve) - provider/runtime profiles (
preset,profile)
Core operator surfaces
Team lifecycle
clawteam team spawn-team my-team -d "Build the auth module" -n leader
clawteam team discover
clawteam team status my-team
clawteam team cleanup my-team --forceWorker spawning
# tmux backend
clawteam spawn tmux claude --team my-team --agent-name architect --task "Design the API schema"
clawteam spawn tmux codex --team my-team --agent-name tester --task "Write integration tests"
# subprocess backend
clawteam spawn subprocess cursor --team my-team --agent-name reviewer --task "Review the landing page copy"Task and inbox state
clawteam task create my-team "Implement auth flow" -o backend
clawteam task update my-team 2 --status in_progress
clawteam task update my-team 2 --status completed
clawteam task list my-team --status blocked
clawteam inbox send my-team backend "Wait for API spec handoff"
clawteam inbox receive my-team
clawteam inbox peek my-teamMonitoring
clawteam board show my-team
clawteam board live my-team --interval 3
clawteam board attach my-team
clawteam board serve --port 8080Workspace isolation
Typical runs give each worker its own git worktree / isolated workspace so parallel workers can operate without stomping on each other.
Useful commands:
clawteam workspace list my-team
clawteam workspace checkpoint my-team backend
clawteam workspace merge my-team backend
clawteam workspace cleanup my-team backendRuntime settings
Provider/model/runtime settings increasingly flow through presets and profiles rather than ad hoc environment juggling.
clawteam preset list
clawteam preset show moonshot-cn
clawteam preset generate-profile moonshot-cn claude --name claude-kimi
clawteam profile doctor claude
clawteam profile test claude-kimiOperational caveats
- Long-running worker persistence is not guaranteed in all backends. Upstream issue #148 documents keepalive problems for ongoing-job subprocess patterns.
- Parsed agent-definition/config files may not fully apply at runtime. Upstream issue #146 documents gaps between parsed definitions and actual spawn behavior.
- ClawTeam is strongest when the user truly wants explicit team/task/inbox/worktree state; generic orchestration requests may belong elsewhere.
ClawTeam intake packets and route-outs
Start from one packet
| Packet | Use when | Core commands / output | Route away when |
|---|---|---|---|
manual-team | The user wants explicit team creation, worker roles, tasks, inboxes, and dependency control | team spawn-team, spawn, task create/update/list, inbox send/peek/receive, board attach | the user really wants generic orchestration or planning |
template-launch | A built-in team/template already fits the request | template list, launch <template> --team ... --goal ..., board attach/serve | the template is a weak fit and manual roles are the real need |
monitor-recover | A team already exists and the question is visibility, stuck workers, blocked tasks, or workspace drift | team discover/status, board show/live/attach/serve, task list, inbox peek, workspace list | the job is broader platform debugging or cross-tool comparison |
profile-setup | Provider/model/profile/runtime setup is the blocker | preset list/show, preset generate-profile, profile wizard/doctor/test | the user is asking about generic model routing rather than ClawTeam |
route-out | The request is not really about ClawTeam’s runtime | short explanation + owner handoff | ClawTeam-specific commands are genuinely required |
Fast route-outs
- Generic multi-agent planning + implementation + QA →
jeo,omc,omx,ohmg - Board/work queue governance outside ClawTeam runtime control →
vibe-kanban - Planning / decomposition →
task-planning - Tool comparison or landscape research →
survey - Lightweight parallel fan-out without team/task/inbox/worktree state → built-in delegation / subagents
Backend reality
| Backend | Use when | Reality note |
|---|---|---|
tmux | You want visible workers and operator control | Usually the most truthful default for ClawTeam-style work |
subprocess | You need headless or non-interactive execution | Keep caveats explicit; long-running worker behavior may be fragile |
Reality checks to say out loud
- ClawTeam workflows still often involve tmux/worktree inspection and manual operator oversight.
- Worker persistence is not guaranteed in every backend or prompt shape.
- Provider/profile/config abstractions should be verified, not assumed.
- Cleanup, merge, and workspace hygiene may still be manual after the run.
ClawTeam operator modes and route-outs
Start with intake-packets-and-route-outs.md when you need the fastest packet choice. Use this document when the packet is already known and you want the more detailed mode table.
Choose one mode first
| Mode | Use when | Core commands | Do not blur into |
|---|---|---|---|
manual-team | The user wants explicit team creation, worker roles, tasks, inboxes, and dependency control | team spawn-team, spawn, task create/update/list, inbox send/receive, board attach/serve | generic orchestration wrappers, planning, board-only tools |
launch-template | The user wants a one-command prebuilt team | template list, launch <template> --team ... --goal ... | manual lifecycle walkthroughs unless needed after launch |
monitor-recover | A team already exists and the job is visibility, inspection, or runtime recovery | team discover/status, board show/live/attach/serve, task list, inbox peek/receive, workspace list, lifecycle idle | generic debugging or platform-comparison work |
profile-setup | Provider/model/runtime config is the real blocker | preset list/show, preset generate-profile, profile wizard/doctor/test | huge spawn examples before runtime health is proven |
Route-outs
Use another skill when the job is mainly:
- integrated planning → execution → QA orchestration:
jeo,omc,omx,ohmg - planning and decomposition:
task-planning - board/work queue control outside ClawTeam:
vibe-kanban - cross-platform landscape research or tool comparison:
survey - lightweight parallel subtasks without team/task/inbox/worktree state: built-in delegation/subagents
Backend choice
| Backend | Use when | Notes |
|---|---|---|
tmux | You want visible workers, tiled monitoring, and the usual interactive ClawTeam experience | Preferred default for most developer/operator flows |
subprocess | You need headless execution, non-interactive workers, or tmux is unavailable | Keep caveats explicit; long-running/keepalive flows may be fragile |
Reality notes
- Upstream issue #148 documents worker keepalive problems for ongoing-job subprocess flows. Do not present long-running workers as guaranteed.
- Upstream issue #146 documents agent-definition/config application gaps. Verify behavior instead of assuming all parsed config fields are honored.
- If the user wants ClawTeam because of the explicit team/task/inbox/worktree contract, stay in this skill. If they only want "multiple agents," route outward.
ClawTeam use cases
1. Fullstack feature split
Use manual-team when roles and dependencies matter.
clawteam team spawn-team shop -d "Ship invite flow" -n leader
clawteam spawn tmux claude --team shop --agent-name architect --task "Design invite API and schema"
clawteam spawn tmux claude --team shop --agent-name backend --task "Implement invite endpoints"
clawteam spawn tmux codex --team shop --agent-name tester --task "Write integration tests"
clawteam task create shop "Design invite API and schema" -o architect
clawteam task create shop "Implement invite endpoints" -o backend
clawteam task create shop "Write integration tests" -o tester --blocked-by 2
clawteam board attach shop2. Product / ops research swarm
Use manual-team when the team needs explicit parallel ownership with synthesis.
clawteam team spawn-team launch-research -d "Analyze onboarding friction and activation risks" -n leader
clawteam spawn tmux claude --team launch-research --agent-name user-research --task "Summarize interview patterns"
clawteam spawn tmux claude --team launch-research --agent-name analytics --task "Inspect funnel drop-offs"
clawteam spawn tmux codex --team launch-research --agent-name synthesis --task "Merge findings into one operator memo"
clawteam task create launch-research "Summarize interview patterns" -o user-research
clawteam task create launch-research "Inspect funnel drop-offs" -o analytics
clawteam task create launch-research "Merge findings into one memo" -o synthesis --blocked-by 1,23. Marketing / content studio
Use manual-team when content creation and QA can run in parallel but still need explicit review handoffs.
clawteam team spawn-team campaign -d "Ship launch-week content pack" -n lead
clawteam spawn tmux claude --team campaign --agent-name landing-page --task "Draft landing page updates"
clawteam spawn tmux claude --team campaign --agent-name email-sequence --task "Draft launch emails"
clawteam spawn tmux codex --team campaign --agent-name qa --task "Check links, UTMs, and publishing checklist"
clawteam board serve --port 80804. Game / simulation milestone swarm
Use manual-team when code, content, QA, and distribution roles all matter.
clawteam team spawn-team demo-milestone -d "Prepare streamer-ready demo build" -n lead
clawteam spawn tmux claude --team demo-milestone --agent-name gameplay --task "Polish tutorial and controller support"
clawteam spawn tmux claude --team demo-milestone --agent-name build --task "Prepare and package the demo build"
clawteam spawn tmux codex --team demo-milestone --agent-name qa --task "Run smoke checks and capture release blockers"5. One-command template launch
Use launch-template when the built-in archetype already fits.
clawteam template list
clawteam launch hedge-fund --team fund1 --goal "Analyze AAPL, MSFT, NVDA for Q2 2026"
clawteam board attach fund16. Provider-aware runtime setup
Use profile-setup when the runtime configuration is the actual blocker.
clawteam preset list
clawteam preset show moonshot-cn
clawteam preset generate-profile moonshot-cn claude --name claude-kimi
clawteam profile doctor claude
MOONSHOT_API_KEY=*** clawteam profile test claude-kimiNotes
- Prefer template launch when the archetype is already known.
- Prefer manual teams when dependencies, ownership, or mixed agents need to be explicit.
- Use monitoring commands (
board show/live/attach/serve) as the verification path, not just raw spawn output.
#!/usr/bin/env bash
# clawteam skill — installation and environment setup
set -euo pipefail
echo "=== ClawTeam Installation ==="
echo ""
# Check Python version
if ! command -v python3 &>/dev/null; then
echo "ERROR: Python 3.10+ is required."
echo " macOS: brew install python"
echo " Ubuntu: sudo apt install python3"
exit 1
fi
PY_VERSION=$(python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
PY_MAJOR=$(python3 -c "import sys; print(sys.version_info.major)")
PY_MINOR=$(python3 -c "import sys; print(sys.version_info.minor)")
if [[ "$PY_MAJOR" -lt 3 ]] || ([[ "$PY_MAJOR" -eq 3 ]] && [[ "$PY_MINOR" -lt 10 ]]); then
echo "ERROR: Python 3.10+ required, found: $PY_VERSION"
exit 1
fi
echo "✓ Python: $PY_VERSION"
# Check tmux
if ! command -v tmux &>/dev/null; then
echo "ERROR: tmux is required."
echo " macOS: brew install tmux"
echo " Ubuntu: sudo apt install tmux"
exit 1
fi
echo "✓ tmux: $(tmux -V)"
# Check git
if ! command -v git &>/dev/null; then
echo "ERROR: git is required."
exit 1
fi
echo "✓ git: $(git --version | head -1)"
# Install clawteam
echo ""
echo "Installing clawteam..."
pip install clawteam
echo ""
echo "✓ clawteam: $(clawteam --version 2>/dev/null || echo 'installed')"
# Check for at least one compatible agent
echo ""
echo "Checking for compatible agents..."
FOUND_AGENT=false
if command -v claude &>/dev/null; then
echo " ✓ Claude Code detected"
FOUND_AGENT=true
fi
if command -v codex &>/dev/null; then
echo " ✓ OpenAI Codex CLI detected"
FOUND_AGENT=true
fi
if command -v openclaw &>/dev/null; then
echo " ✓ OpenClaw detected"
FOUND_AGENT=true
fi
if [[ "$FOUND_AGENT" == "false" ]]; then
echo " ⚠ No compatible agent found."
echo " Install one of:"
echo " Claude Code: npm install -g @anthropic-ai/claude-code"
echo " Codex CLI: npm install -g @openai/codex"
fi
# Run doctor
echo ""
echo "Running environment check..."
clawteam doctor 2>/dev/null || true
echo ""
echo "=== Setup Complete ==="
echo ""
echo "Quick start:"
echo " clawteam spawn claude 'Build a REST API' --workers 3 --team my-team"
echo " clawteam status --team my-team"
echo " clawteam board --team my-team"
#!/usr/bin/env bash
# Spawn a ClawTeam from command line with a task description
# Usage: bash spawn-team.sh [team-name] [task] [worker-count] [agent-type]
set -euo pipefail
TEAM="${1:-my-team}"
TASK="${2:-Build a feature}"
WORKERS="${3:-3}"
AGENT="${4:-claude}"
echo "=== Spawning ClawTeam ==="
echo "Team: $TEAM"
echo "Task: $TASK"
echo "Workers: $WORKERS"
echo "Agent: $AGENT"
echo ""
# Verify clawteam is installed
if ! command -v clawteam &>/dev/null; then
echo "ERROR: clawteam not installed. Run: pip install clawteam"
exit 1
fi
# Spawn worker agents
echo "Spawning $WORKERS workers..."
clawteam spawn "$AGENT" "$TASK" \
--workers "$WORKERS" \
--team "$TEAM"
echo ""
echo "Team '$TEAM' spawned with $WORKERS workers."
echo ""
echo "Monitor your team:"
echo " clawteam status --team $TEAM"
echo " clawteam board --team $TEAM"
echo " clawteam monitor --team $TEAM"
echo ""
echo "Communicate with workers:"
echo " clawteam broadcast --team $TEAM 'New instructions here'"
echo ""
echo "Shut down when complete:"
echo " clawteam teardown --team $TEAM"
N:clawteam
D:Route explicit ClawTeam runtime requests into one honest operator packet before touching commands: manual-team, template-launch, monitor-recover, or profile-setup. Use when the user specifically wants ClawTeam's team/task/inbox/worktree/board workflow for parallel developer work, product/ops research, content operations, or game-production coordination. Not for generic multi-agent routing, board-only governance, or lightweight subtask fan-out when `jeo`, `omc`, `omx`, `ohmg`, `vibe-kanban`, or built-in delegation already fit.
G:clawteam multi-agent swarm orchestration tmux git-worktree autonomous python routing
U[6]:
Explicit ClawTeam runtime/operator workflows
Team/task/inbox/worktree state with named workers
Template launch, monitor/recover, and profile/preset setup
Developer workflow, product/ops, content, and game-production coordination
Honest backend reality for tmux vs subprocess
Route-outs for generic orchestration and board-governance requests
S[4]{n,action,details}:
1,Manual team packet,bash clawteam team spawn-team my-team -d "Build the auth module" -n leader && clawteam spawn tmux claude --team my-team --agent-name architect --task "Design the API schema" && clawteam task create my-team "Design the API schema" -o architect && clawteam board attach my-team
2,Template launch packet,bash clawteam template list && clawteam launch hedge-fund --team fund1 --goal "Analyze AAPL, MSFT, NVDA for Q2 2026" && clawteam board attach fund1
3,Monitor/recover packet,bash clawteam team discover && clawteam team status my-team && clawteam board show my-team && clawteam task list my-team --status blocked && clawteam inbox peek my-team
4,Profile setup packet,bash clawteam preset list && clawteam preset generate-profile moonshot-cn claude --name claude-kimi && clawteam profile doctor claude && clawteam spawn tmux --profile claude-kimi --team my-team --agent-name researcher --task "Compare onboarding flows"