TeamClaw

Teamclaws@teamclaws

OpenClaw virtual software team orchestration plugin - controller, role-based workers, Web UI with internet tunnel sharing

Skills

Tools

teamclaw_ask_peer
teamclaw_assign_task
teamclaw_broadcast
teamclaw_create_task
teamclaw_get_team_status
teamclaw_list_tasks
teamclaw_report_progress
teamclaw_request_clarification
teamclaw_request_kickoff
teamclaw_request_parallel_help
teamclaw_request_review
teamclaw_send_message
teamclaw_submit_manifest
teamclaw_submit_result_contract
teamclaw_suggest_handoff
teamclaw_teamauto_propose
teamclaw_teamauto_status
teamclaw_teamauto_sweep

Readme

@teamclaws/teamclaw

TeamClaw is an OpenClaw plugin that turns multiple roles into a collaborative virtual software team.

It supports:

  • controller / worker modes
  • externally registered workers
  • adaptive kickoff planning for medium/complex work, with per-role assessments before task creation
  • clarifications, workspace browsing, controller UI visibility, and a matching desktop client
  • Git-based collaboration
  • on-demand worker provisioning with process, docker, and kubernetes
  • GitHub OAuth device-flow login and TeamAuto: scheduled issue/PR sweeps, joint multi-role full reviews, and write tasks delivered as pull requests from task-isolated git worktrees (read/write collaboration contract)
  • checkpoint/resume: interrupted tasks continue where they stopped after a restart, reusing the same session and worktree

Install

The recommended install is the official ClawHub registry (the default source for openclaw plugins install on OpenClaw 2026.10+ - no extra flags or source prefixes needed):

bash
openclaw plugins install @teamclaws/teamclaw

OpenClaw walks you through the capability consent prompt; for scripts/CI, accept the declared capabilities non-interactively:

bash
openclaw plugins install --accept-capabilities @teamclaws/teamclaw

Note: the freshly published 2026.11.x builds ship compiled runtime output (dist/index.js). Until a pending package clears ClawHub's security scan, latest may still resolve to the legacy 2026.3.x artifact, which predates compiled entries - retry after the scan completes.

For a guided setup that also configures workspaces, workers, and auth, run:

bash
npx -y @teamclaws/teamclaw install

The guided installer handles OpenClaw's install consent automatically: it starts with the legacy break-glass flag and, on OpenClaw 2026.10+ hosts where that flag is a deprecated no-op, retries with --accept-capabilities when the host requires capability consent. TeamClaw legitimately needs host orchestration capabilities that the built-in scanner marks as critical.

This installer can:

  • install/update the TeamClaw plugin in OpenClaw
  • detect your local openclaw.json
  • let you choose the installation mode
  • support dedicated worker-only installs with --install-mode worker
  • let you choose a model from the models already defined in OpenClaw
  • let you choose the OpenClaw workspace directory
  • default TeamClaw to a dedicated teamclaw agent/workspace instead of reusing main
  • copy the effective host model into the dedicated TeamClaw agent config when independent mode is used
  • bootstrap TeamClaw auth profiles from the host OpenClaw auth store when available
  • prefill Docker/Kubernetes provisioning with the published TeamClaw runtime image
  • prefill Docker workspace persistence with a named volume and Kubernetes persistence with a PVC name

By default, guided install now uses an independent TeamClaw agent/workspace layout:

  • agent:teamclaw:* sessions
  • sibling workspace such as ~/.openclaw/workspace-teamclaw

In practice, this means TeamClaw keeps its own agent state, workspace, and auth-profile copy instead of reusing the host main agent. Use this default unless you explicitly need legacy compatibility with a shared main workspace.

For advanced compatibility only, you can force the legacy shared-main layout:

bash
npx -y @teamclaws/teamclaw install --agent-mode main

If you only want to install the plugin manually, use:

Legacy hosts (<2026.10) that predate the ClawHub-by-default registry can still install from npm, forcing the legacy consent flag:

bash
openclaw plugins install --dangerously-force-unsafe-install npm:@teamclaws/teamclaw

Then enable and configure TeamClaw in your openclaw.json.

The published TeamClaw runtime image also preinstalls the clawhub CLI, so containerized workers can discover and install skills from ClawHub without an extra bootstrap step.

Maintainer release flow

For maintainers, TeamClaw now uses two release paths:

  1. npm package — published by GitHub Actions via .github/workflows/teamclaw-plugin-npm-release.yml
  2. ClawHub code plugin + bundled skills — published manually from the CLI

The npm publish workflow runs automatically when:

  • a tag matching v* is pushed
  • or relevant package files change on main (src/**, .github/workflows/teamclaw-plugin-npm-release.yml, scripts/sync-teamclaw-plugin-manifest.mjs, scripts/teamclaw-package-check.mjs, scripts/teamclaw-npm-publish.sh)

It also supports workflow_dispatch for a specific commit SHA on main.

Before the first real npm publish, GitHub must already be configured for npm trusted publishing with the npm-release environment and this workflow file.

Before either release path, sync and validate the generated plugin manifest:

bash
npm --prefix src run manifest:sync
npm --prefix src run release:check

Preview the ClawHub release commands without publishing:

bash
npm --prefix src run release:clawhub:dry-run

When ready to publish to ClawHub, log in first and then run:

bash
clawhub login
bash scripts/teamclaw-clawhub-release.sh --publish

The ClawHub release helper publishes the @teamclaws/teamclaw code plugin from src/ and then publishes only the bundled skills under src/skills/. Update each skill's frontmatter version: in src/skills/*/SKILL.md before a real publish if that skill changed.

Recommended first setup

For a first-time setup, the safest path is:

  1. Start with single-host process provisioning
  2. Validate the workflow with a small smoke-test task
  3. Expand to external workers, Docker, or Kubernetes after the basics are working

When on-demand provisioning is enabled, TeamClaw now treats controller startup as a readiness phase, not just a process-up check. During that warm-up, /api/v1/health returns a non-OK status until the controller has verified writable runtime paths and successfully brought the configured startup worker roles online. If workerProvisioningRoles is empty, startup readiness defaults to waiting for a warm developer worker.

Internet tunnel sharing

The Web UI ships with zero-config internet sharing (header Tunnel button): managed *.teamclaw.dev (GitHub login, gate token), self-hosted Cloudflare tunnels via connector token (TEAMCLAW_TUNNEL_TOKEN env or UI input), and anonymous one-off tunnels (*.trycloudflare.com via cloudflared). See the repo README's "Internet tunnel" section for the full matrix.

Documentation