pan-swarm
Start or operate a foreman-driven Overdeck swarm with gated dispatch, merge, observation, and recovery commands.
от eltmon★ 36 звёзд на GitHub
Установить pan-swarm в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Pan Swarm
Use pan swarm only for a finalized, swarm-eligible xBRIEF. The resident parent work agent is the foreman. It owns decisions and drives deterministic CLI gates; the Deacon only runs janitor, liveness, and event-reporting duties.
Start or attach
pan swarm PAN-2203
This validates readiness, ensures the parent workspace, and spawns or messages agent-pan-2203 as the foreman. It does not dispatch slots. Re-running it attaches to the live foreman instead of creating a duplicate.
Foreman loop
- Read
.pan/continue.json, then runpan swarm status PAN-2203 --json. - Run
pan swarm dispatch PAN-2203 --jsonfor one safe wave. - Run
pan swarm wait PAN-2203 --timeout 300 --jsonuntil state changes. - Run
pan swarm merge PAN-2203 <slot> --jsononly for a completion-ready slot. - Run the parent feature-branch integration checks.
- Recover failures through
pan swarm recover; do not invent a direct state edit. - Repeat. If resolved
autoAdvanceis false, get operator acknowledgement before the next dispatch.
status is read-only. wait returns a structured delta instead of requiring transcript polling. The dispatch gate enforces DAG blockers, file-scope isolation, holds, capacity, and duplicate-slot checks. The merge gate verifies work before it writes item completion and clears the slot marker.
Recovery
pan swarm recover PAN-2203 1 --action retry
pan swarm recover PAN-2203 1 --action drop
pan swarm recover PAN-2203 1 --action handoff
pan swarm recover PAN-2203 1 --action reclaim
retryarchives the attempt and returns the item to gated dispatch.dropcompletes an item only after operator review confirms it is unnecessary.handoffpreserves the block for manual resolution.reclaimarchives and unblocks the slot, then assigns the item to the foreman for serial implementation.
Every action increments a durable counter by slot and failure class. A fourth automatic intervention is refused; only an operator may override it with --operator.
When a [swarm-event] reports a stopped, completed, or stalled slot, run status --json, reconcile the evidence, and choose the next gate. A stall message is detection only. The Deacon writes no stall recovery block.
Holds and cleanup
pan swarm freeze PAN-2203 --reason "investigating"
pan swarm stop PAN-2203 --reason "stop running slots"
pan swarm resume PAN-2203
pan swarm reset PAN-2203 --reason "clean restart"
Freeze writes swarm.hold; stop writes the hold before stopping slot agents. Resume clears the hold. Reset pushes unmerged slot branches before local deletion and leaves the hold set. Do not continue the foreman loop while held.
Completion
A slot finishes with pan done <issue>, which writes a durable completion marker. If the signal is missing, the configured completion classifier may nudge or infer completion from stable git evidence. The foreman still uses pan swarm merge; it never merges a live or unverified slot directly.
Context and handoff
Commit and push one item before advancing it. If context becomes unsafe, write current wave state and next actions to .pan/continue.json, then use the normal persistent-session handoff. The replacement foreman starts with status --json and resumes the same loop.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pan-swarm?
Start or operate a foreman-driven Overdeck swarm with gated dispatch, merge, observation, and recovery commands.
Как установить скилл pan-swarm?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pan-swarm запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…