swarm-protocol

swarm-protocol is a skill for Claude Code from viktorbezdek/skillstack. It costs 218 tokens per session (3,329 once invoked), scanned A, original, MIT.

An orchestration guide for running a brainstorm with several AI personas in parallel. Each persona represents a different viewpoint, such as product management, engineering, design, skepticism, or operations.

In plain words
What is it for?
Use it to choose personas for a topic, start parallel brainstorming agents, and pass their separate contributions to a later synthesis step.
Why use it?
It preserves independent opinions before they influence one another, which can reveal disagreement and alternative risks. It also specifies which recognised personas to use and how to coordinate their responses.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the brainstorm-swarm plugin — 4 skills, 1 command, 12 agents shipped together

Good fit Use it to choose personas for a topic, start parallel brainstorming agents, and pass their separate contributions to a later synthesis step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/viktorbezdek/skillstack/swarm-protocol
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add viktorbezdek/skillstack --skill swarm-protocol
Clone the repo
git clone --depth 1 https://github.com/viktorbezdek/skillstack

Made for: Claude Code.

Or install brainstorm-swarm, the plugin that ships this one along with the rest of its 4 skills, 1 command, 12 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for swarm-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/viktorbezdek/skillstack/swarm-protocol/github.svg)](https://agentmods.dev/skills/viktorbezdek/skillstack/swarm-protocol)
Your own site
<a href="https://agentmods.dev/skills/viktorbezdek/skillstack/swarm-protocol"><img src="https://agentmods.dev/badge/skills/viktorbezdek/skillstack/swarm-protocol/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for swarm-protocol

Your own site · 80×15
<a href="https://agentmods.dev/skills/viktorbezdek/skillstack/swarm-protocol"><img src="https://agentmods.dev/badge/skills/viktorbezdek/skillstack/swarm-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 218 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,329 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00218 $0.03329
Opus 5.5 $0.00087 $0.01332
Sonnet 5.5 $0.00044 $0.00666
Haiku 4.5 $0.00022 $0.00333

Measured 3mo ago against content hash 14a3dccde7b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swarm-protocol scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

brainstorm-swarm/skills/swarm-protocol/SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Swarm Protocol

A persona swarm is parallel by design. Spawning 6 subagents one at a time defeats the point — they all see each other's work and converge. The value is in the dissent that emerges when each sees only the topic.

This skill owns the orchestration logic. It teaches when to invoke a swarm, how to choose the right persona subset, how to spawn them in true parallel via the Task() tool, and how to handle the returned outputs (with the synthesis handed off to swarm-synthesis).

⛔ MUST USE — Canonical persona names (literal subagent types)

These are the 12 literal subagent types shipped in agents/. They are NOT examples or suggestions — they are the exact strings you pass to Task(subagent_type=...). DO NOT invent your own persona names (no "Visionary", no "Pragmatist", no "Synthesizer", no "Bear Case Analyst", no "Risk Manager", no "Technical Expert" — those are not in the canonical set).

brainstorm-swarm:pm                          # Product Manager
brainstorm-swarm:engineer                    # Implementation Engineer
brainstorm-swarm:designer                    # UX / Product Designer
brainstorm-swarm:skeptic                     # Devil's Advocate
brainstorm-swarm:user-advocate               # Customer voice
brainstorm-swarm:pre-mortem-specialist       # Imagined-failure analyst
brainstorm-swarm:junior                      # Naive questioner
brainstorm-swarm:veteran                     # War stories / pattern-matching
brainstorm-swarm:first-principles-thinker    # Strip back to fundamentals
brainstorm-swarm:constraint-setter           # Scope discipline
brainstorm-swarm:optimist                    # Yes-and / 10x version
brainstorm-swarm:operator                    # Production reality

Always refer to personas by these literal names (pm, engineer, designer, skeptic, user-advocate, pre-mortem-specialist, junior, veteran, first-principles-thinker, constraint-setter, optimist, operator). When a topic needs a perspective the canonical 12 don't cover (CFO, Compliance Officer, etc.), use the custom-personas skill — but always preserve the canonical names for the canonical roles.

Read the full file on GitHub · 249 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 249 lines · 218 tokens per session scan A 14a3dccde7b9

Subscribe to this mod's changes

swarm-protocol is a skill published in the GitHub repository viktorbezdek/skillstack (16 stars, last pushed 5mo ago), licensed MIT. It adds 218 tokens to every session and 3,329 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

swarm-protocol compared with skills from other repositories

swarm-protocol next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swarm-protocolviktorbezdek/skillstackSkill165mo agoMITA218Claude Code
agents-v2-pylingxling/awesome-skills-cnSkill3421mo agoMITA39Claude Code
analytics-productlingxling/awesome-skills-cnSkill3421mo agoMITA35Claude Code
api-security-best-practiceslingxling/awesome-skills-cnSkill3421mo agoMITA29Claude Code
analytics-trackinglingxling/awesome-skills-cnSkill3421mo agoMITA21Claude Code
antigravity-workflowslingxling/awesome-skills-cnSkill3421mo agoMITA41Claude Code
agent-tool-builderlingxling/awesome-skills-cnSkill3421mo agoMITA57Claude Code