Install
openclaw skills install teamclaw-orchestratorOrchestrate a virtual AI software team to build features, fix bugs, or complete any software task. Use when the user wants to delegate work to a multi-role team (developer, architect, QA, etc.), check team progress, review task results, or answer worker clarifications. Triggers: "build me ...", "create a ...", "team status", "assign to team", "teamclaw", "have the team ...", "delegate this to ...", "what are the workers doing".
openclaw skills install teamclaw-orchestratorOrchestrate a virtual software team through natural conversation. Submit requirements, monitor progress, review deliverables, and answer clarifications — all without leaving your chat.
Activate when the user:
TeamClaw must be running in controller mode. Detect the controller URL:
# Default controller URL
TEAMCLAW_URL="http://127.0.0.1:9527"
# Health check — verify the controller is running
curl -sf "$TEAMCLAW_URL/api/v1/health"
If the health check fails, tell the user to start TeamClaw first (install the teamclaw-setup skill for guidance).
When the user describes what they want built, submit it to the controller intake:
curl -s -X POST "$TEAMCLAW_URL/api/v1/controller/intake" \
-H "Content-Type: application/json" \
-d '{"message": "<user requirement here>"}'
The controller will:
Response fields:
controllerRun.id — run identifier for trackingcontrollerRun.status — running, completed, failedresult — the controller agent's orchestration outputImportant: The intake call may take 30-180 seconds as the controller agent plans and decomposes the work. Use --max-time 300 with curl for large requirements.
curl -s "$TEAMCLAW_URL/api/v1/team/status"
Key response fields:
workers — map of all workers with their status (idle, busy, offline)tasks — map of all tasks with status (pending, assigned, in-progress, completed, failed)pendingClarificationCount — number of unanswered questions from workerscontrollerRuns — orchestration run historycurl -s "$TEAMCLAW_URL/api/v1/tasks"
curl -s "$TEAMCLAW_URL/api/v1/tasks/<taskId>/execution"
Returns the task with full execution log (lifecycle events, progress updates, errors).
curl -s "$TEAMCLAW_URL/api/v1/workers"
When a task completes, its result contract contains structured deliverables:
# Get the task to see its resultContract
curl -s "$TEAMCLAW_URL/api/v1/tasks/<taskId>"
The resultContract includes:
summary — what was accomplisheddeliverables[] — list of files, notes, or artifacts produceddiscoveredPatterns[] — patterns noticed during executionsuggestedNextSteps[] — recommended follow-up actionsWorkers may need clarification to proceed. Check and answer them:
# List pending clarifications
curl -s "$TEAMCLAW_URL/api/v1/clarifications"
# Answer a clarification
curl -s -X POST "$TEAMCLAW_URL/api/v1/clarifications/<clarificationId>/answer" \
-H "Content-Type: application/json" \
-d '{"answer": "<your answer>", "answeredBy": "user"}'
For fine-grained control, create tasks directly:
curl -s -X POST "$TEAMCLAW_URL/api/v1/tasks" \
-H "Content-Type: application/json" \
-d '{
"title": "Implement user login",
"description": "Create a login form with email/password auth",
"priority": "high",
"assignedRole": "developer"
}'
Valid roles: pm, architect, developer, qa, release-engineer, infra-engineer, devops, security-engineer, designer, marketing.
Valid priorities: low, medium, high.
# Direct message to a role
curl -s -X POST "$TEAMCLAW_URL/api/v1/messages/direct" \
-H "Content-Type: application/json" \
-d '{
"from": "user",
"toRole": "developer",
"content": "Please also add input validation"
}'
# Broadcast to all workers
curl -s -X POST "$TEAMCLAW_URL/api/v1/messages/broadcast" \
-H "Content-Type: application/json" \
-d '{
"from": "user",
"content": "Deadline moved up — prioritize core features"
}'
When presenting results to the user:
After intake submission: Summarize what the controller planned — how many tasks, which roles assigned, estimated workflow.
For status checks: Show a concise table of workers and tasks:
Workers: 3 active (developer: busy, qa: idle, architect: idle)
Tasks: 5 total (2 completed, 1 in-progress, 2 pending)
Clarifications: 1 pending
For completed tasks: Highlight the deliverables, key files changed, and suggested next steps.
For clarifications: Present the question clearly and ask the user to provide an answer.
TeamClaw also provides a web dashboard for visual monitoring:
Open in browser: $TEAMCLAW_URL/ui
Mention this to users who prefer a visual overview.
| Issue | Solution |
|---|---|
| Health check fails | Ensure TeamClaw plugin is enabled in controller mode: openclaw plugins list |
| No workers available | Check processModel config; single-process creates workers automatically |
| Intake times out | Increase taskTimeoutMs in TeamClaw config; ensure AI model is responsive |
| Task stuck in pending | No idle worker for the assigned role; check GET /api/v1/workers |
| Clarification blocking | Answer pending clarifications via POST /api/v1/clarifications/:id/answer |
Read references/api-quick-ref.md for the complete endpoint reference when you need exact request/response formats.