Clade control

From shenxingy/Clade · View interactive version

Clade control is an AI agent skill from the GitHub repository shenxingy/Clade. Start, stop, or manage Clade autonomous coding loops remotely

How to use this skill

Skill file

Clade — Control

Start, stop, or manage autonomous coding loops on a remote machine.

When to use

User wants to:

API

Endpoint: POST {CLADE_BASE_URL}/control

Headers:

Authorization: Bearer {CLADE_API_KEY}
Content-Type: application/json

Action: start

Start a new autonomous coding loop with a goal.

Request:

{
  "project": "/home/user/myproject",
  "action": "start",
  "goal": "Fix all failing tests and ensure 100% pass rate",
  "max_iter": 5,
  "max_workers": 4,
  "model": "sonnet"
}

Translating user intent to parameters:

The goal can be:

Response:

{
  "ok": true,
  "action": "start",
  "pid": 12345,
  "goal": "/home/user/myproject/.claude/monitor-goal.md",
  "max_iter": 5
}

Action: stop

Stop the currently running loop gracefully.

Request:

{
  "project": "/home/user/myproject",
  "action": "stop"
}

Response:

{"ok": true, "action": "stop", "sentinel": "/home/user/myproject/.claude/stop-start"}

Action: clear-blockers

Clear blockers so the loop can be restarted.

Request:

{
  "project": "/home/user/myproject",
  "action": "clear-blockers"
}

How to format the response

On start:

🚀 Loop started!
📋 Goal: {goal summary, first 80 chars}
⚙️ Config: {max_iter} iterations, {max_workers} workers, {model}
🔢 PID: {pid}

Use "status" to check progress.

On stop:

🛑 Stop signal sent. The loop will finish its current task and exit gracefully.

On clear-blockers:

🧹 Blockers cleared. You can now restart the loop.

Error handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.