Use it when
- When a thorough review, research, analysis or audit needs several perspectives on one problem, or to compose a custom swarm such as a migration or architecture review
Pick another skill
Not for the standard review or research swarm (ab-review-swarm, ab-deep-research), sequential tasks (ab-autonomous-loop), tasks that modify shared state (ab-wave-orchestration), or when one perspective is enough (start a single helper).
ab-review-swarmSpecialized reviewers in parallel, findings validated and merged into one P1/P2/P3 reportab-deep-researchResearches a topic with five helpers in parallel and writes one synthesized briefab-autonomous-loopRuns a plan's tasks with no checkpoints: verify, tick, commit, retry after a written reflection, stop on a circuit breaker or a risk scoreab-wave-orchestrationGroups dependent tasks into waves of parallel helpers with an integration check between wavesName it in your tool
Every tool also picks a skill on its own when your request matches its description. Naming it picks it for sure.
Claude Code
/ab-swarm-orchestrationCodex
$ab-swarm-orchestrationIn Codex's pickerSwarm OrchestrationRun parallel specialists and merge their findings
Antigravity
/ab-swarm-orchestrationGrok Build
/ab-swarm-orchestrationPi
/skill:ab-swarm-orchestrationCursor CLI
/ab-swarm-orchestrationHermes
/ab-swarm-orchestrationAmp
use the ab-swarm-orchestration skillAsk for it in plain words.
What it does
Starts several read-only specialist helpers at once on the same input, each on one dimension such as quality, security, performance or a research angle, then hands all their outputs to a synthesizer that merges them into one report.
Select the members
Decide which perspectives the task needs and which specialists provide them, and check
blueprint.local.mdfor project-specific overrides.Prepare the shared context
Every member gets the same base context: the code, diff or files to analyze; the project’s conventions and standards; its own focus area; and one output format for all, so the synthesizer can merge the results.
Start every member at once
Every member starts from here, all at once, since starting them one after another gives up the speed that is the point of a swarm; a sibling skill’s reviewer runs from its prompt file, because the ab-review-swarm skill cannot run a chosen subset of its reviewers.
Collect results
Wait for every member to return before acting on any result: the synthesizer needs all the outputs, and a partial set skews its report.
Synthesize
Hand every output to one synthesizer: the ab-review-swarm skill’s findings-synthesizer prompt file for findings-shaped output, which is what the integration checker and the deployment verifier return too; the ab-deep-research skill’s research-synthesizer for a research swarm.
Act on the results
Present the synthesized report and offer the next step.
Helpers it starts
Each helper is a prompt file in references/agents/. Where the tool has subagents, the helper runs in its own context with only the inputs the file names; elsewhere the main session follows the file itself.
Prompt files in references/agents/
integration-checkerComponent wiring, connection validation
SKILL.md
The instructions the agent follows, from skills/ab-swarm-orchestration/SKILL.md.
Read SKILL.md on GitHubIts references/ folder
Swarm Orchestration
A swarm is a group of specialist helpers started at the same time, each looking at the same input from its own angle, whose outputs a synthesizer merges into one report. Many focused passes catch more than one broad scan, because each specialist looks only for its own class of problem. The run is done when every member has returned and the synthesized report is with the user or the calling skill. Unlike the ab-wave-orchestration skill, which orders dependent tasks, a swarm’s members do not depend on each other and change no files.
The swarm’s shape is drawn in references/ § Swarm Architecture.
Step 1: Select the members
Decide which perspectives the task needs and which specialists provide them, and check blueprint.local.md for project-specific overrides. Pre-built review, research and custom swarms, with the skill that carries each member’s prompt file: references/ § Pre-Built Swarm Configurations. Size the swarm by references/ § Scaling Guidelines, and weigh its cost by references/ § Cost Awareness: for a small change, one code reviewer is usually enough.
Step 2: Prepare the shared context
Every member gets the same base context: the code, diff or files to analyze; the project’s conventions and standards; its own focus area; and one output format for all, so the synthesizer can merge the results. Then check the plan against references/ § Common Mistakes.
Step 3: Start every member at once
Every member starts from here, all at once, since starting them one after another gives up the speed that is the point of a swarm; a sibling skill’s reviewer runs from its prompt file, because the ab-review-swarm skill cannot run a chosen subset of its reviewers. Members only read, and none starts helpers of its own.
Helper step. Start a helper (subagent) for this step if you can, with the prompt file named below (its absolute path when the helper can read it, else its full text) and the listed inputs; leave its model and effort at the session’s. If you cannot start one, follow the prompt file yourself. Either way, return its Output section, and note which path ran in the run’s provenance record if there is one.
Prompt: references/ for the integration checker; for a member another skill carries, that skill’s prompt file for the member, in the agents folder under its references, next to this skill’s folder (references/ § Pre-Built Swarm Configurations names the skill for each member); for a member with no prompt file, the task packet below, one per member. Inputs: the member’s focus, the shared context from Step 2, and the one output format from Step 2 (findings as P1/P2/P3 with file:line, or the research shape for a research swarm).
[member]: [focus]. Context: [shared context]. Read only; start no helpers of your own. Report findings as P1/P2/P3 with file:line locations.
Step 4: Collect results
Wait for every member to return before acting on any result: the synthesizer needs all the outputs, and a partial set skews its report.
Step 5: Synthesize
Hand every output to one synthesizer: the ab-review-swarm skill’s findings-synthesizer prompt file for findings-shaped output, which is what the integration checker and the deployment verifier return too; the ab-deep-research skill’s research-synthesizer for a research swarm. It removes duplicates, resolves contradictions and produces one report. Raw outputs from several members repeat each other and bury the findings that matter, so a swarm always ends in a synthesis.
Step 6: Act on the results
Present the synthesized report and offer the next step.
Asking the user. Ask with your question tool if you have one, offering at most three options; otherwise ask in plain text with a numbered list. In a headless or unattended run nobody will answer: take the default named below, say so in your output, and log it in the run state’s decisions if there is a run state.
Options: for review findings, fix them with the ab-resolve-in-parallel skill; for research findings, go on to the ab-writing-plans skill; or stop here. Default when nobody answers: stop and return the report for the calling skill or the user to act on.
How swarms differ from team work in the ab-orchestrate skill: references/ § Swarms vs Team Work.