swarm
Installation
SKILL.md
Swarm
Dispatch contract. Resolve each worker descriptor through provider-dispatch.md. The parent starts native and external lanes; workers never route themselves. On Codex, resolve remaining Claude tool names via codex-tools.md.
Start
Open a todolist with one entry per phase before launching anything.
- Frame
- Fan out
- Aggregate
- Report
Phase A: Frame
- State the done predicate and the artifact or report the swarm must return.
- Choose the shape. Partition into slices, race N workers on identical briefs, or mix both. For a race or mixed shape, declare
first pass,rank all, orbest-ofbefore spawning. - Pick the worker descriptor from
swarm workersin the current harness's pstack model sheet when present. Otherwise use its role default. For a model race, name each arm's descriptor up front. Pick each subagent's effort for the job, per the Subagents section of the poteto-mode skill. - Give each worker its own writable output when it writes. When workers verify or measure commits, each brief names the exact SHAs. A measurement brief also names the method (sample count, what one sample is, order). The worker records both in its result.