/swarm:swarm-refine [the artefact to refine]from swarm
Hardens an existing artefact (code, doc, design, plan) by running parallel critics on different axes (correctness, performance, security, readability) then merging findings into one coherent revision.
Ships in swarm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Take one artefact and improve it by fanning out critics, each attacking a different axis at once, then merging their findings into a single revision. Where /swarm-bulldoze generates many solutions and keeps one, refine starts from one solution and makes it better. Use it to harden something that already exists: a function, a document, a design, an API. A plan document is an artefact too; reviewing a plan is this skill pointed at the plan file, not a separate skill.
The principles from swarm-principles apply. The artefact is shared, so critics read in parallel but changes are applied sequentially.
Easy to conflate, so be clear which you want:
If the user has a draft, it is almost always refine.
Critics run in parallel and read-only. Changes apply sequentially. Multiple agents editing the same artefact at once corrupt each other. Critics produce critiques, not edits. The orchestrator (or a single editing pass) applies the merged critique afterwards, resolving conflicts between critics on the way.
Read-only critique. Do not edit the artefact.
Artefact: <inline or path>
Your axis: <correctness | performance | security | readability | edge cases | ...>
Attack ONLY your axis. Ignore concerns outside it; another critic owns them.
Report back:
- Specific findings with locations (file:line or section)
- For each: what is wrong and the concrete fix
- Severity (blocking | worth fixing | nitpick)
Actionable only. No vague impressions.
## Refine: <artefact>
**Axes:** <list of critics run>
### Applied
- **[correctness]** <finding> → <fix applied> (`file:line`)
- **[security]** <...>
### Conflicts resolved
- <critic A wanted X, critic B wanted Y; chose X because ...>
### Declined
- <finding not applied, and why>
### Result
<the refined artefact, or a pointer to it>
### Cost
<N> critics, roughly <M>x a single review pass.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub blakecyze/skills --plugin swarm7 skills in this plugin
/swarm-bulldozeUse when the user wants to try several independent approaches to the same problem and keep the best one. Best-of-N generation. Expensive by design; respects the cost ceiling./swarm-executeUse when the user wants to run plans written by /swarm-improve, execute a plans/ backlog, or dispatch mechanical work to a cheaper model. The pair of /swarm-improve: it planned, this executes./swarm-exploreUse when the user wants to map a large codebase, gather context from many files at once, or investigate a problem space in parallel. Read-only fan-out. Never writes.2 plugins ship this exact skill · first indexed Jul 15, 2026