From multi-fleet
Chain orchestration — multi-step task dependencies across fleet nodes with automatic sequencing
How this skill is triggered — by the user, by Claude, or both
Slash command
/multi-fleet:fleet-chainThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Chains are ordered sequences of tasks dispatched across fleet nodes. Each step runs only after the previous step succeeds. If any step fails, the chain halts.
Chains are ordered sequences of tasks dispatched across fleet nodes. Each step runs only after the previous step succeeds. If any step fails, the chain halts.
curl -sf -X POST http://127.0.0.1:8855/chain \
-H "Content-Type: application/json" \
-d '{
"chain_id": "deploy-v2",
"steps": [
{"node": "mac1", "task": "Run test suite", "timeout_s": 300},
{"node": "mac2", "task": "Build artifacts", "timeout_s": 600},
{"node": "mac1", "task": "Deploy to staging", "timeout_s": 120}
]
}'
Response: {"chain_id": "deploy-v2", "status": "running", "steps": 3}
curl -sf http://127.0.0.1:8855/chains | python3 -m json.tool
Returns: {"chains": {"deploy-v2": {...}}, "count": 1}
curl -sf http://127.0.0.1:8855/chain/deploy-v2 | python3 -m json.tool
Returns: {"chain_id": "...", "status": "running|done|failed", "current": 1, "total": 3, "steps": [...], "results": [...]}
Each step in the steps array:
| Field | Required | Default | Description |
|---|---|---|---|
node | No | self | Target node ID (e.g. mac2) |
task | Yes | — | Task prompt sent to the target |
timeout_s | No | 300 | Max seconds for this step |
POST /chain → running → step 0 dispatched → step 0 done → step 1 dispatched → ... → done
→ step N fails → chain status = "failed"
Chains use the same task dispatch mechanism as fleet-send type=task. Each step is sent via send_with_fallback (8-priority channel cascade). Timeouts are per-step.
Env vars:
FLEET_ACK_TIMEOUT_S — ACK timeout for chain step delivery (default 60s)FLEET_ACK_MAX_RETRIES — retry count before marking step as failed (default 3)Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub supportersimulator/multi-fleet --plugin multi-fleet