swarm
Skill9 starsChanged 37 days agoMITView on GitHub
Fan out N parallel workers, drain them, and return one report. Use for /swarm, 'swarm this', or parallel coverage, races, gauntlets, and exploration.
91 other projects use a version of this, 49 of them edited.
Adopted by
Most recently taken up by
- sammyjoyce/prime-pstackedited, first seen Nov 15, 2026
- pronvis/skillsedited, first seen Nov 15, 2026
- upamune/skillsedited, first seen Nov 15, 2026
- niksavis/basiclytheir own version, first seen Nov 8, 2026
- endqwerty/endstackedited, first seen Nov 8, 2026
- tristanphvn/keeledited, first seen Nov 8, 2026
Other versions91 projects use a version of this.
Word for word · 0
None found.
Edited · 49
- backnotprop/pstack★ 3.8k47% same
- moeru-ai/xsai★ 66747% same
- uzairansaruzi/p3-stack★ 12664% same
- dsebban/skills★ 7140% same
- overextended/skills★ 2239% same
- creedants/pstack-t3★ 1833% same
- painhardcore/pstack★ 1853% same
- Scino/fstack★ 1851% same
- mariusflorescu/pstack-t3★ 1340% same
- adjohn/pstack★ 960% same
39 more not listed
Wrote their own version · 42
- langchain-ai/langchain-skills★ 1.3ksame name
- zaxbysauce/opencode-swarm★ 519same name
- ZaxbyHub/opencode-swarm★ 518same name
- guaardvark/guaardvark★ 306same name
- iha2/superlite★ 249same name
- apple-ouyang/book-to-skill★ 148same name
- jtaroreh/agystack★ 128same name
- cj-vana/claude-swarm★ 110same name
- TheOnlyFusionCube/potetos-for-everyone★ 21same name
- jmylchreest/aide★ 19same name
32 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository64 other files it gives its agents.
- architectSkill
- arenaSkill
- automate-meSkill
- benchmark-checklistSkill
- blast-radiusSkill
- broSkill
- correctSkill
- create-formal-verification-skillSkill
- create-verification-skillSkill
- deslopSkill
- documentation-impactSkill
- figure-it-outSkill
- howSkill
- interrogateSkill
- in-your-own-wordsSkill
- ketchupSkill
- ketchup-videoSkill
- maintain-formal-verification-skillSkill
- maintain-verification-skillSkill
- make-bot-uiSkill
- no-commentsSkill
- poteto-helpSkill
- poteto-modeSkill
- poteto-tddSkill
- poteto-teachSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-migrate-callers-then-delete-legacy-apisSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-type-system-disciplineSkill
- pr-recapSkill
- pstack-harnessSkill
- recallSkill
- reflectSkill
- runtime-probesSkill
- setup-pstackSkill
- sharpenSkill
- show-me-your-workSkill
- spec-probesSkill
- statechartSkill
- technical-writingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 87 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
Keep a compact result table, one-line evidenced issues, and explicit gaps or dropouts.
“Common” is measured: kept by at least 6 in 10 of the 87 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Swarm
Fan out N parallel workers. They may cover separate slices, race the same brief, or mix both. The parent waits, aggregates, and returns one report.
Start
Open a worklist 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. - Set N from the user or derive it from the shape. N is total workers, not how many run at once.
- Pick each worker's role by what it does. Call the Skill tool with
pstack-harnessfor the spawn. Its Spawn a role section resolves the role and builds this CLI's spawn call.- A worker that runs something and reports what it saw uses the
swarm workersrole, defaultsonnet. ItsPASSorISSUEScomes from a command's output or an observed result. Gate, live, regression, and perf lanes, coverage slices, and exploration partitions are this kind. - A worker that reads code, a diff, or another artifact and judges it uses the
trail reviewerrole, defaultopus. Audit and review lanes are this kind, and so is a worker that both runs something and judges the work. Before you spawn it, find the model that wrote the work, because Spawn a role passes it as--work-modeland the resolver picks a different model in the work model's family for this role when the config allows one andtrail reviewer stepis notoff. When that model is unknown, run the role as resolved and say so in the report. - For a model race, name each arm's model up front. A named arm overrides both roles.
- A worker that runs something and reports what it saw uses the
- 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.
Phase B: Fan out
Spawn all N workers in one message with no persona, in the background, and with the spawn call Spawn a role builds from each worker's step 4 role.
A worker that must start from another pushed branch gets a worktree at that branch's SHA, named in its brief.
Every brief stands alone. Include the goal, scope, exact slice or race arm, how to verify, and what to report. Reports use PASS, ISSUES, or BLOCKED with evidence. A worker that can prove a defect reports ISSUES and lists every issue it can prove, not only the first.
For races, call the Skill tool with arena, then follow its required-arm rule. For coverage, a missing required slice makes the report incomplete. Retain useful results and record the gap. A discretionary worker may drop out with a recorded limitation.
Phase C: Aggregate
Read the terminal results. Drop a result that does not record the SHAs and method its brief names, and respawn that worker once. After a second miss, record a gap. A gap does not count as a pass. For coverage, every required slice needs a result. For a race, apply the selection rule declared up front. Use first pass, rank all, or best-of. Do not paste raw worker dumps.
Keep a compact result table, one-line evidenced issues, and explicit gaps or dropouts.
Phase D: Report
Return one consolidated in-chat report with a result table, issue one-liners, gaps or dropouts, and the race rule when used.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

