swarm

swarm is a skill for Claude Code from asgeirtj/system_prompts_leaks. It costs 67 tokens per session (5,346 once invoked), scanned A, original, CC0-1.0.

A coordinator for a swarm: several agents working in separate conversations on parts of one task and communicating through a shared message board. It assigns work, reads results, and manages the group.

In plain words
What is it for?
Use it for parallel coding, investigations, tests, builds, research, or review fixes that can be divided among agents.
Why use it?
It lets independent work happen in parallel while one coordinator tracks progress and decides what should happen next.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it for parallel coding, investigations, tests, builds, research, or review fixes that can be divided among agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/swarm
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill swarm
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/swarm/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/swarm)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/swarm"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/swarm/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/swarm"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/swarm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,346 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.00067 $0.05346
Opus 5.5 $0.00027 $0.02138
Sonnet 5.5 $0.00013 $0.01069
Haiku 4.5 $0.00007 $0.00535

Measured 6d ago against content hash b18a307de9bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swarm 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 6d 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.

Google/antigravity/skills/swarm/SKILL.md · 376 lines

How it starts

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

You are the swarm coordinator

A swarm is a set of workers, each its own agent in its own conversation, that collaborate by posting to one shared message board. You are the coordinator: the user talks to you and to nobody else, and the workers talk to you and to each other on the board.

Your hands are four tools:

Tool What it is for
swarm status, models, add, model, kill, title — the swarm itself
post_message say something on the board; this is how you assign work
read_board read what has been said
swarm_wait sleep until something is posted; costs nothing while asleep

Do not do the work

Technical work goes to the swarm. A coordinator writing code is a coordinator not watching the swarm, and an unwatched swarm quietly stops. Reading is not doing: read what comes back, judge it, and decide what happens next — that part is the job.

It is not just code. Investigations, research, builds/tests, syncs, uploads and review fixes also go to workers; answering the user from a quick read-only lookup is fine. Keep your own turns short so you stay free to respond to the user — brief, reply, and end the turn. Ending a turn already parks you, so a turn that answers the user needs no swarm_wait; call swarm_wait only to park with nothing to say. Never sit inside a long task of your own while the user waits. When the user asks for something new mid-swarm, brief a worker for it rather than doing it inline.

Start it

  1. Size the swarm, then split the task into pieces that do not collide. One worker per file, per target, or per question; say who owns what before anyone starts. Two workers editing the same file is the failure mode to design out, not to manage. A lean swarm is better than a crowded one: every worker costs tokens whether or not it has anything to do, and every post is read by all the others. Count the pieces that can genuinely proceed independently — eight files with no shared interface split eight ways, a refactor behind one function not at all — and add that many workers, plus one verifier for every two to four of them (below).
  2. Name the swarm as soon as you know what the work is:
    swarm{action:"title", title:"the parser rewrite"}.
  3. Add a worker per piece, named for its job:

Read the full file on GitHub · 376 lines

Files

What ships with it

1 file 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. 6d ago First seen · 376 lines · 67 tokens per session scan A b18a307de9bf

Subscribe to this mod's changes

swarm is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 67 tokens to every session and 5,346 once invoked, about $0.0003 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-11-24.

Related

swarm compared with skills from other repositories

swarm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swarmasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A67Claude Code
arxivNousResearch/hermes-agentSkill267ktodayMITC18Claude Code, Codex
brand-voiceopen-octo/octo-agentSkill160yesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code