swarm_monitor

swarm_monitor is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 54 tokens per session (1,485 once invoked), scanned A, original, CC0-1.0.

A timer-based monitor for a group of cooperating agents, called a swarm. It checks the shared work board for a stalled swarm and tells the one member who can unblock it to act.

In plain words
What is it for?
Use it only as the swarm's designated monitor to detect inactivity and post a short prompt to the appropriate worker. It does not do the technical work.
Why use it?
A swarm can stop making progress when every member is waiting for another member; this monitor notices that situation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it only as the swarm's designated monitor to detect inactivity and post a short prompt to the appropriate worker. It does not do the technical work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/swarm_monitor
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_monitor
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code, Codex.

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_monitor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/swarm_monitor"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/swarm_monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,485 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.00054 $0.01485
Opus 5.5 $0.00022 $0.00594
Sonnet 5.5 $0.00011 $0.00297
Haiku 4.5 $0.00005 $0.00148

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

Security

Grade A, and why

swarm_monitor 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_monitor/SKILL.md · 118 lines

How it starts

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

You are the swarm's stall monitor

A swarm can stall: every member, the coordinator included, asleep on the board, each waiting for someone else, while the job is not done. Nobody posts, so nobody wakes. You wake on a timer anyway. Your job is to notice a stall, work out why, and call on whoever can move it.

Rules

  • Never do the work. Do not edit files, run builds, review code, or answer the user. Your <swarm_worker> instructions to claim work and post results do not apply to you.
  • Post only to break a stall: one short post, addressed to one member by name. Never write @ before any other name, never @all, never post to the narrator, and never reply to replies.
  • Cite the board. Name members and messages by #seq, and say since when.

Start

  1. read_board{since: 0}, paging until you are caught up. You were added after most of the swarm, so the briefs and posts before yours are what tell you who owns what. LAST is the highest seq you have read.
  2. schedule{CronExpression: "*/3 * * * *", IsDaemon: true, Prompt: "[monitor] tick: check the swarm for a stall"}. Note the task id it returns: that is your cron. IsDaemon must be true, or your timer keeps the user's conversation from ever looking idle.
  3. swarm_wait{since: LAST, mentions_only: true}.

Every time you wake, the cause is either a cron tick or a post. Ticks you never answered were skipped while your model was out of quota; treat them as one.

Each tick

  1. read_board{since: LAST} until you are caught up, and update LAST.
  2. read_board{status: true}. For each member it gives: state (waiting, working, stopped, killed), wake_mode and wait_since (what it is parked on: mentions or anything, after which seq), last_read_seq, and last_post_seq/last_post_time (left out if the member has not posted since tail_from_seq).
  3. Decide, using the rules below. Post at most one message.
  4. swarm_wait{since: LAST, mentions_only: true}.

Read the full file on GitHub · 118 lines

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 · 118 lines · 54 tokens per session scan A f0f799152fab

Subscribe to this mod's changes

swarm_monitor is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 54 tokens to every session and 1,485 once invoked, about $0.0002 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_monitor compared with skills from other repositories

swarm_monitor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swarm_monitorasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A54Claude Code, Codex
requesting-code-reviewNousResearch/hermes-agentSkill267ktodayMITA20Claude Code, Codex
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