swarm
Skill0 starsChanged 4 months agoMITView on GitHub
When the user invokes /swarm, decompose independent work across multiple native subagents, scale the worker count with complexity, and synthesize one coherent result.
44 other projects use a version of this.
Adopted by
Most recently taken up by
- PickleBoxer/pstacktheir own version, first seen Oct 6, 2026
- mattdweigand-sketch/agent-skillstheir own version, first seen Oct 6, 2026
- uzairansaruzi/p3-stacktheir own version, first seen Oct 5, 2026
- jonmumm/skillstheir own version, first seen Oct 4, 2026
- backnotprop/pstacktheir own version, first seen Oct 4, 2026
- creedants/pstack-t3their own version, first seen Oct 3, 2026
Used with
Projects with it also use make-bot-ui, setup-pstack and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
eryzerzSkillmake-bot-ui
Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.
Also in 8 projects that use this
shishivSkillsetup-pstack
Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.
Also in 14 projects that use this
TheOnlyFusionCubeSkillprinciple-attack-the-premise
Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.
Also in 10 projects that use this
TheOnlyFusionCubeSkillprinciple-test-behavior-not-implementation
Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.
Also in 10 projects that use this
shishivSkillautomate-me
Use for \"automate me\", \"create/update/refresh my -mode skill\", \"turn/capture my preferences or working style into a skill\", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via create-skill + unslop, optionally pulling fresh evidence from recent transcripts.
Also in 17 projects that use this
finograficSkillfigure-it-out
Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.
Also in 19 projects that use this
- +6 more from shishiv
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- langchain-ai/langchain-skills★ 1.3ksame name
- backnotprop/pstack★ 991same name
- ZaxbyHub/opencode-swarm★ 485same name
- guaardvark/guaardvark★ 247same name
- apple-ouyang/book-to-skill★ 156same name
- uzairansaruzi/p3-stack★ 129same name
- cj-vana/claude-swarm★ 117same name
- jtaroreh/agystack★ 58same name
- shrimpwtf/oh-my-pstack★ 31same name
- jmylchreest/aide★ 18same name
34 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 repository5 other files it gives its agents.
- agent-bridgeSkill
- awsSkill
- debate-shutdownSkill
- debateSkill
- prism-statusSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 42 edited versions we read keep these.
3
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 20
How to run the swarm: Use the host agent's native subagent or delegation tool to launch separate workers in parallel (same turn if …
- Distinctive: line 25
After subagents return, merge: resolve conflicts, unify design, run or request a single validation pass, and produce one coherent answer …
- Distinctive: line 36
Use a general-purpose worker unless the host offers a more appropriate specialist.
“Common” is measured: kept by at least 6 in 10 of the 42 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 (/swarm)
When to use
Apply this skill whenever the user sends /swarm (with or without extra text in the same message). Treat it as an explicit command to parallelize the request across multiple subagents.
Rules
- Minimum agents: n ≥ 2. Never satisfy
/swarmwith a single subagent or a single serial plan without delegation. - Scale n with complexity — bias upward; when in doubt, add another agent rather than overload one.
- Small / localized (one file, one bug, narrow question): n = 2–3 (e.g. implement + verify, or explore + implement).
- Medium (feature touching several files, API + UI, tests): n = 3–5 (e.g. backend, frontend, tests, docs or integration).
- Large (refactor, multi-package, audit, unfamiliar codebase): n = 5–8+ (partition by subsystem, directory, concern, or risk).
- Very large / open-ended: split by independent workstreams so agents do not block each other; n as high as is useful within practical limits (each
Taskmust have a crisp prompt and clear deliverable).
- How to run the swarm: Use the host agent's native subagent or delegation tool to launch separate workers in parallel (same turn if possible). If the host has no delegation capability, explain that
/swarmis unsupported instead of simulating parallelism. Each worker gets:- A narrow scope and concrete output (files to touch, questions to answer, or artifacts to produce).
- No duplicate ownership of the same file unless one agent reads and another writes with an explicit handoff in your merge step.
- You (orchestrator) must:
- Briefly state n and why that count matches complexity (one short paragraph).
- After subagents return, merge: resolve conflicts, unify design, run or request a single validation pass, and produce one coherent answer for the user.
- If the user also gave a task description in the
/swarmmessage, that description is the goal; decomposition is yours.
Anti-patterns
- One giant
Taskprompt that does everything. - n = 1 or purely sequential subagents when work could run in parallel.
- Skipping synthesis so the user sees disconnected partial reports.
Model hint
Use a general-purpose worker unless the host offers a more appropriate specialist. Use isolated worktrees for concurrent code edits when the host supports them.
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.

