claw-control
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).
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: <theiRelated in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts โ single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score โฅ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.