Install
openclaw skills install epic-ai-swarm-orchestrationProduction playbook and portable runtime for parallel AI coding swarms using Codex, Gemini, DeepSeek, and optional Claude. Use when orchestrating multi-agent coding work, packaging/installing the swarm on another OpenClaw host, spawning parallel builders with review/integration loops, managing duty-table model rotation, or diagnosing swarm runtime health. Triggers on phrases like "run the swarm", "spawn agents", "AI swarm", "multi-agent build", "package the swarm", "install swarm", "duty table", "model rotation", "parallel coding agents".
openclaw skills install epic-ai-swarm-orchestrationPortable OpenClaw skill + runtime for running parallel AI coding agents with tmux worktrees, duty-table model selection, token-limit fallback, review loops, integration watcher, and heartbeat notifications.
~/workspace/swarm, duty tables, model fallback, pulse checks, or pending notifications.Do not bypass the runtime scripts. For real swarm work use:
~/workspace/swarm/spawn-agent.sh~/workspace/swarm/spawn-batch.sh~/workspace/swarm/check-agents.sh, ~/workspace/swarm/pulse-check.shDo not use bare background claude, codex, gemini, deepseek, or OpenClaw subagents as a substitute for the swarm pipeline unless explicitly debugging the runtime itself.
From the installed skill directory:
bash install.sh
bash doctor.sh
Default install target: ~/workspace/swarm.
What install.sh does:
~/workspace/swarm/.templates/ without bundling secrets.roles/swarm-lead/{ROLE.md,TOOLS.md,HEARTBEAT.md} into the OpenClaw workspace.swarm-lead to roles/active.json unless --no-activate is used.Useful installer options:
bash install.sh --dry-run
bash install.sh --target /custom/swarm/path --workspace /custom/openclaw/workspace
bash install.sh --force # replace config/state templates after backup
bash install.sh --no-role # scripts only
bash install.sh --no-activate # copy role but do not activate it
Then authenticate provider CLIs on that host and run:
~/workspace/swarm/assess-models.sh --dry-run
~/workspace/swarm/assess-models.sh
doctor.sh --probe-models runs live provider probes; skip it unless the operator is okay spending provider quota.
Required CLIs on PATH:
bash, python3git — worktrees, branches, commitstmux — isolated agent sessionsRecommended integrations:
gh — GitHub status/CI/release checksopenclaw — local notification delivery where configuredModel CLIs: install/authenticate at least one of:
codexgeminideepseekclaude optional legacy fallback in some watcher pathsCredentials are host-local. This package intentionally does not bundle API keys, OAuth tokens, Telegram targets, duty-table state, logs, endorsements, or task history.
~/workspace/swarm/
spawn-agent.sh
spawn-batch.sh
notify-on-complete.sh
integration-watcher.sh
queue-watcher.sh
pulse-check.sh
check-agents.sh
assess-models.sh
fallback-swap.sh
model-fallback.sh
try-model.sh
duty-table.json
swarm.conf
active-tasks.json
pending-notifications.txt
logs/
endorsements/
Bundled resources:
scripts/ — runtime scripts copied by install.shtemplates/ — clean config/state defaultsroles/swarm-lead/ — OpenClaw role filesreferences/workflow.md — 3-phase workflowreferences/tools.md — command syntaxreferences/duty-table.md — model rotation/fallback detailsreferences/eor-template.md — end-of-run report templateUse role-based tasks so the duty table chooses the actual model:
~/workspace/swarm/spawn-batch.sh /path/to/project batch-id "Batch description" /tmp/tasks.json
Example tasks.json:
[
{"id":"fix-auth", "description":"Fix login redirect", "role":"builder", "reasoning":"high"},
{"id":"ui-polish", "description":"Polish mobile layout", "role":"builder"}
]
Each task runs in its own tmux session/worktree. notify-on-complete.sh launches reviewer/fixer loops and records handoff logs.
spawn-batch.sh starts integration-watcher.sh, which waits for all sessions, merges branches, runs verification, persists work logs/ESR, and writes notifications.
On heartbeat, the swarm-lead role should:
~/workspace/swarm/pending-notifications.txt.~/workspace/swarm/pulse-check.sh.tmux ls for active/completed agent sessions.HEARTBEAT_OK if nothing is actionable.SWARM_MAX_CONCURRENT queueing for large batches.model-fallback.sh.pulse-check.sh.Read only what you need: