### Verify Installation and Automated Setup Source: https://github.com/win4r/clawteam-openclaw/blob/main/README.md Commands to verify the successful installation of ClawTeam and its integration with OpenClaw, or alternatively, running the automated installation script. ```bash clawteam --version clawteam config health openclaw skills list | grep clawteam # Automated installer bash scripts/install-openclaw.sh ``` -------------------------------- ### Install ClawTeam from Source Source: https://github.com/win4r/clawteam-openclaw/blob/main/README.md Clones the repository and installs the package in editable mode. Includes an optional step for P2P transport support via ZeroMQ. ```bash git clone https://github.com/win4r/ClawTeam-OpenClaw.git cd ClawTeam-OpenClaw pip install -e . pip install -e ".[p2p]" ``` -------------------------------- ### Clawteam JSON Output Examples Source: https://github.com/win4r/clawteam-openclaw/blob/main/skills/clawteam/SKILL.md Examples demonstrating how to use the `--json` flag with clawteam commands for machine-readable output. This output can be piped to tools like `jq` for further processing. ```bash clawteam --json team discover clawteam --json board show my-team clawteam --json task list my-team --status pending # Combine with jq for scripting: clawteam --json board show my-team | jq '.taskSummary' clawteam --json task list my-team | jq '.[].subject' ``` -------------------------------- ### Install ClawTeam CLI Source: https://github.com/win4r/clawteam-openclaw/blob/main/skills/clawteam/SKILL.md Installs the ClawTeam CLI using pip. Requires Python 3.10+. For P2P transport support, install with the 'p2p' extra. ```bash pip install clawteam ``` ```bash pip install clawteam[p2p] ``` -------------------------------- ### Live Kanban Board (Bash) Source: https://github.com/win4r/clawteam-openclaw/blob/main/skills/clawteam/references/cli-reference.md Starts a live-updating kanban board for a specified team. The board auto-refreshes at a configurable interval. Press Ctrl+C to stop the live view. ```bash clawteam board live [--interval 2.0] ``` -------------------------------- ### ClawTeam CLI - Manual Team Setup Source: https://github.com/win4r/clawteam-openclaw/blob/main/skills/openclaw/SKILL.md Manually create and configure an agent team, define tasks, and spawn agents. ```APIDOC ## ClawTeam CLI - Manual Team Setup ### Description Provides a step-by-step guide to manually set up an agent team, including creating tasks with dependencies, spawning agents, and monitoring their progress. ### Method CLI Command ### Endpoint N/A (CLI command) ### Parameters #### 1. Create Team - **team spawn-team** (command) - Required - Command to create a new team. - **** (string) - Required - The name of the team to create. - **-d ""** (string) - Required - A description for the team. - **-n ** (string) - Required - The name of the leader agent for the team. #### 2. Create Tasks - **task create ** (command) - Required - Command to create a task within a team. - **""** (string) - Required - The subject or title of the task. - **-o ** (string) - Required - The agent name assigned to own this task. - **-d ""** (string) - Optional - A detailed description of the task. - **--blocked-by ** (string) - Optional - The ID of a task that must be completed before this task can start. #### 3. Spawn Agents - **spawn** (command) - Required - Command to spawn an agent. - **-t ** (string) - Required - The name of the team the agent belongs to. - **-n ** (string) - Required - The name of the agent to spawn. - **--task ""** (string) - Required - The description of the task the agent will work on. - **--workspace** (flag) - Optional - Enables git worktree isolation for the agent. - **--repo /path/to/repo** (string) - Optional - Specifies the repository path when using `--workspace`. #### 4. Monitor - **board show ** (command) - Displays a Kanban view of the team's tasks. - **board attach ** (command) - Attaches to all agent tmux windows for side-by-side monitoring. - **board serve --port ** (command) - Starts a web-based dashboard. ### Request Example ```bash # 1. Create team clawteam team spawn-team my-team -d "Build a web app" -n leader # 2. Create tasks clawteam task create my-team "Design API schema" -o architect # Returns task ID, e.g., abc123 clawteam task create my-team "Implement auth" -o backend --blocked-by abc123 clawteam task create my-team "Build frontend" -o frontend --blocked-by abc123 clawteam task create my-team "Write tests" -o tester # 3. Spawn agents clawteam spawn -t my-team -n architect --task "Design the API schema for a web app" clawteam spawn -t my-team -n backend --task "Implement OAuth2 authentication" clawteam spawn -t my-team -n frontend --task "Build React dashboard" # 4. Monitor clawteam board show my-team ``` ### Response #### Success Response - CLI commands will output status messages and task IDs upon successful execution. #### Response Example (CLI output indicating successful team/task creation, agent spawning, or board display) ``` -------------------------------- ### Verify System Prerequisites Source: https://github.com/win4r/clawteam-openclaw/blob/main/README.md Checks the installed versions of Python, tmux, and the chosen CLI coding agent to ensure compatibility with ClawTeam requirements. ```bash python3 --version tmux -V openclaw --version ``` -------------------------------- ### Process ClawTeam Output with JSON Source: https://context7.com/win4r/clawteam-openclaw/llms.txt Examples of using the --json flag combined with jq to parse and manipulate team data and task lists in shell scripts. ```bash clawteam task list my-team --json | jq '.[] | {id, subject, status}' clawteam team status my-team --json | jq '.members[].name' TASKS=$(clawteam task list my-team --status pending --json) echo "$TASKS" | jq -r '.[].id' | while read id; do clawteam task update my-team "$id" --status in_progress done ``` -------------------------------- ### Manage Task Dependencies with Clawteam CLI Source: https://github.com/win4r/clawteam-openclaw/blob/main/skills/clawteam/references/workflows.md Demonstrates how to create a chain of dependent tasks where completion of one task automatically unblocks the next. Requires the Clawteam CLI installed and configured for the target team. ```bash clawteam task create team "Task A" -o alice clawteam task create team "Task B" -o bob --blocked-by aaa clawteam task create team "Task C" -o carol --blocked-by bbb clawteam task update team aaa --status completed clawteam task update team bbb --status completed ``` -------------------------------- ### Configure OpenClaw Templates with TOML Source: https://github.com/win4r/clawteam-openclaw/blob/main/docs/superpowers/specs/2026-03-21-per-agent-model-assignment-design.md Examples of defining agent models within a TOML configuration file. Shows both explicit per-agent overrides and the use of the 'auto' model strategy. ```toml [template] name = "code-review" command = ["openclaw"] model = "sonnet-4.6" [template.leader] name = "lead-reviewer" model = "opus" [[template.agents]] name = "security-reviewer" model = "codex" [[template.agents]] name = "style-checker" [template] name = "hedge-fund" command = ["openclaw"] model_strategy = "auto" [template.leader] name = "portfolio-manager" [[template.agents]] name = "quant-analyst" model_tier = "strong" [[template.agents]] name = "data-collector" ``` -------------------------------- ### Implement configuration unit tests Source: https://github.com/win4r/clawteam-openclaw/blob/main/docs/superpowers/plans/2026-03-21-per-agent-model-assignment.md Test cases for verifying default configuration values, custom model assignments, and round-trip serialization of ClawTeamConfig. ```python def test_default_model_empty(self): cfg = ClawTeamConfig() assert cfg.default_model == "" def test_model_tiers_empty(self): cfg = ClawTeamConfig() assert cfg.model_tiers == {} def test_custom_model_config(self): cfg = ClawTeamConfig(default_model="opus", model_tiers={"strong": "gpt-5.4"}) assert cfg.default_model == "opus" assert cfg.model_tiers["strong"] == "gpt-5.4" def test_model_config_roundtrip(self): cfg = ClawTeamConfig(default_model="opus", model_tiers={"strong": "gpt-5.4"}) save_config(cfg) loaded = load_config() assert loaded.default_model == "opus" assert loaded.model_tiers == {"strong": "gpt-5.4"} ``` -------------------------------- ### Set Up Team and Tasks with ClawTeam CLI Source: https://github.com/win4r/clawteam-openclaw/blob/main/skills/clawteam/SKILL.md Demonstrates setting environment variables for agent identity, creating a team, adding tasks with assigned workers, and viewing the team's task board. ```bash # Set identity for the current session export CLAWTEAM_AGENT_ID="leader-001" export CLAWTEAM_AGENT_NAME="leader" export CLAWTEAM_AGENT_TYPE="leader" # Create team clawteam team spawn-team my-team -d "Project team" -n leader # Create tasks 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 # View board clawteam board show my-team ``` -------------------------------- ### Configure OpenClaw Integration Source: https://github.com/win4r/clawteam-openclaw/blob/main/README.md Installs the ClawTeam skill for OpenClaw and updates the execution approval configuration to allowlist mode, preventing agent blocking during command execution. ```bash mkdir -p ~/.openclaw/workspace/skills/clawteam cp skills/openclaw/SKILL.md ~/.openclaw/workspace/skills/clawteam/SKILL.md python3 -c " import json, pathlib p = pathlib.Path.home() / '.openclaw' / 'exec-approvals.json' if p.exists(): d = json.loads(p.read_text()) d.setdefault('defaults', {})['security'] = 'allowlist' p.write_text(json.dumps(d, indent=2)) " openclaw approvals allowlist add --agent "*" "*/clawteam" ``` -------------------------------- ### Configure and Launch Agents Source: https://github.com/win4r/clawteam-openclaw/blob/main/README.md Commands for managing global configuration and launching agent teams using templates. ```bash clawteam config show clawteam config set transport p2p clawteam config health clawteam launch