Claude
Skills
Sign in
โ† Back

claw-control

Included with Lifetime
$97 forever

Complete AI agent operating system with Kanban task management, multi-agent coordination, human approval gates, and autonomous task discovery via heartbeat polling. Use when setting up multi-agent coordination, task tracking, or configuring an agent team. Includes theme selection (DBZ, One Piece, Marvel, etc.), workflow enforcement (all tasks through board), browser setup, GitHub integration, and memory enhancement (Supermemory, QMD).

AI Agentsscriptsassets

What this skill does


# Claw Control - Agent Operating System (v2)

Complete setup for AI agent coordination with real-time Kanban dashboard, featuring autonomous task discovery, multi-agent collaboration, and human approval gates.

## What This Skill Does

1. **Deploy Claw Control** - Three paths: one-click, bot-assisted, or fully automated
2. **Theme your team** - Pick a series (DBZ, One Piece, Marvel, etc.)
3. **Enforce workflow** - ALL tasks go through the board, no exceptions
4. **Configure agent behavior** - Update AGENTS.md and SOUL.md
5. **Setup browser** - Required for autonomous actions
6. **Setup GitHub** - Enable autonomous deployments
7. **Enhance memory** - Integrate Supermemory and QMD

---

## ๐Ÿš€ v2 Features Overview

Claw Control v2 includes powerful new capabilities for multi-agent orchestration:

| Feature | Description |
|---------|-------------|
| **Task Comments** | Collaborate on tasks with POST/GET /api/tasks/:id/comments |
| **Task Context** | Rich context field for passing additional data to agents |
| **Task Deliverables** | deliverable_type + deliverable_content for concrete outputs |
| **Agent Heartbeat Polling** | Autonomous task discovery via PUT /api/agents/:id/heartbeat |
| **Human Approval Gates** | requires_approval, approved_at, approved_by for quality control |
| **Multi-Agent Assignment** | Multiple agents can work on one task with roles (lead/contributor/reviewer) |
| **Task Subtasks** | Break down complex tasks with POST/GET/PUT/DELETE /api/tasks/:id/subtasks |

### Jarvis Multi-Agent Pattern (Best Practices)

The Jarvis pattern enables truly autonomous multi-agent systems:

- **15-min Heartbeat Polling**: Each agent polls every 15 minutes to discover and claim tasks
- **Hierarchical Structure**: Coordinator โ†’ Specialists (coordinator delegates, specialists execute)
- **Self-Discovery**: Agents query the board for unassigned tasks and claim them autonomously
- **Collaborative Tasks**: Multiple agents can contribute to a single task
- **Deliverable-First**: Every task MUST have a clear deliverable

---

## โš ๏ธ CRITICAL: The Golden Rules

**After setup, you MUST follow these rules EVERY TIME:**

### Before Doing ANY Work:
1. **Create a task on Mission Control** - Even for small things
2. **Spawn a sub-agent** - Use `sessions_spawn` to delegate
3. **Never do the work yourself** - Coordinator coordinates, agents execute

### The Workflow (No Exceptions):
```
User Request โ†’ Create Task โ†’ Spawn Agent โ†’ Agent Works โ†’ Review โ†’ Complete
```

### If You Catch Yourself Working:
**STOP!** Ask: "Did I create a task? Did I spawn an agent?"
If no โ†’ Go back and do it properly.

### If You Catch An Agent Breaking Rules:
**PAUSE** and enforce:
- Working without a task? โ†’ "Is this on the board?"
- Acting solo? โ†’ "Did you delegate/query/verify?"
- Skipping review? โ†’ "Let's check before marking complete"

**Your role is COORDINATOR.** Coordinate, review, verify, **ENFORCE**. Never execute.

### โš ๏ธ CRITICAL: How Subagents Work

When users ask about "agents" or "subagents", explain clearly:

**The agents are NOT just UI labels โ€” they are REAL autonomous executors.**

- We use `sessions_spawn` to create isolated sub-agent sessions
- Each subagent runs independently with its own model & context
- They execute tasks in parallel and report back when complete
- This is actual distributed computing, not visualization

**Example:** When a user asks "Build X", we:
1. Create a task on Mission Control
2. Spawn a subagent via `sessions_spawn` 
3. Subagent executes autonomously (code, research, deployment, etc.)
4. Results report back to the main session

**Never tell users agents are "just UI representations" โ€” they are real autonomous workers.**

### ๐Ÿ”’ Repo Hierarchy (For claw-control maintainers)

| Repo | Purpose | Direct Push? |
|------|---------|--------------|
| `claw-control-trip/` | Internal testing | โœ… Yes |
| `claw-control` (public) | Production OSS | โŒ PR only after internal test |

**Rule:** Test ALL changes in `claw-control-trip/` FIRST, then PR to public `claw-control`.

### ๐Ÿ“ Commit Message Convention

```
[#TASK_ID] Brief description

Example:
[#129] Add workflow enforcement to SKILL.md
```

If you committed without a task: **CREATE ONE RETROACTIVELY** and link it.

### ๐Ÿšจ Orphan Work Protocol

If work was done without a task on Mission Control:
1. STOP and create the task NOW
2. Mark it with what was done
3. Set status to `completed`
4. Don't let it happen again

### ๐Ÿ“ข Feed Protocol (Communication)

All significant updates go to the agent feed via `POST /api/messages`:

```bash
curl -X POST <BACKEND_URL>/api/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: <API_KEY>" \
  -d '{"agent_id": 1, "message": "โœ… Task #X completed: Brief summary"}'
```

**When to post:**
- โœ… Task completions
- ๐Ÿš€ Major milestones  
- ๐Ÿ” Audit results
- ๐Ÿ“ฆ Deployment updates
- ๐Ÿšง Blockers or questions
- ๐Ÿ’ก Discoveries or insights

**Agent IDs (for themed teams):**
- ID 1 = Coordinator (Goku, Luffy, Tony, etc.)
- ID 2 = Backend (Vegeta, Zoro, Steve, etc.)
- IDs 3-6 = Other specialists

### ๐Ÿ’“ Heartbeat Orphan Detection

During heartbeats, scan for work done without tasks:

```
1. Check recent git commits - do they all have [#TASK_ID]?
2. Check for PRs without linked tasks
3. Check for completed work not reflected on board
4. If orphan found โ†’ CREATE TASK RETROACTIVELY
```

**Self-Check Questions:**
- "Is this task on the board?"
- "Did I spawn an agent or am I doing it myself?"
- "Does my commit have `[#TASK_ID]` in the message?"

---

## Setup Flow

Walk the human through each step. Be friendly and conversational - this is a setup wizard, not a tech manual.

### Step 1: Deploy Claw Control

**First, check browser status:** `browser action=status`

Then present:

---

๐Ÿฆž **Let's get Claw Control running!**

**One-click deploy:**
๐Ÿ‘‰ [railway.app/deploy/claw-control](https://railway.app/deploy/claw-control?referralCode=VsZvQs)

**Or self-host:**
๐Ÿ“ฆ [github.com/adarshmishra07/claw-control](https://github.com/adarshmishra07/claw-control)

---

**Already deployed?** Share your backend URL + API key (if set).

**Want me to deploy for you?**

*[If browser available:]*
> Just say "deploy for me" - I'll handle everything!

*[If no browser:]*
> I need either:
> - ๐ŸŒ **Browser access** โ†’ [Setup guide](https://docs.openclaw.ai/tools/browser)
> - ๐Ÿ”‘ **Or a token** (GitHub OR Railway):
>   - GitHub: github.com/settings/tokens (scopes: repo, workflow)
>   - Railway: railway.app/account/tokens

---

#### Token Deployment Logic (Internal Reference)

**If user provides Railway token:**
- Deploy directly via Railway GraphQL API
- Create project, services, configure env vars, generate domains

**If user provides GitHub token:**
1. Check if browser available and user logged into Railway
2. If yes โ†’ Use browser to complete OAuth + deploy
3. If no โ†’ Guide user to sign up on Railway with GitHub, then deploy

**Railway GraphQL deployment flow:**
```graphql
# Create project
mutation { projectCreate(input: { name: "claw-control" }) { id } }

# Create service from repo
mutation { serviceCreate(input: { projectId: "$ID", name: "backend", source: { repo: "adarshmishra07/claw-control" } }) { id } }

# Generate domain
mutation { domainCreate(input: { serviceId: "$ID" }) { domain } }
```

**After deployment, collect:**
- Backend URL (e.g., https://claw-control-backend-xxx.up.railway.app)
- Frontend URL (e.g., https://claw-control-frontend-xxx.up.railway.app)
- API Key (if they set one)

---

### โš ๏ธ CRITICAL: Store & Test API Connection

**YOU MUST DO THIS BEFORE PROCEEDING:**

1. **Ask for the Backend URL:**
```
I need your Claw Control backend URL to connect.
Example: https://claw-control-backend-xxxx.up.railway.app

What's your backend URL?
```

2. **Ask for API Key (if they set one):**
```
Did you set an API_KEY when deploying? 
If yes, share it. If no or unsure, we'll try without.
```

3. **Store in TOOLS.md:**
```markdown
## Claw Control
- Backend URL: <their_url>
- API Key: <thei
Files: 137
Size: 1507.8 KB
Complexity: 91/100
Category: AI Agents

Related in AI Agents