swarm

swarm is a command for Claude Code from Volpestyle/swarm-mcp. It costs 15 tokens per session (319 once invoked), scanned A, original, MIT.

A read-only command for inspecting the state of swarm-mcp, including instances, tasks, key-value entries, and recent messages.

In plain words
What is it for?
Checking swarm-mcp status, listing instances or tasks, viewing key-value entries, and reading recent messages.
Why use it?
It provides a compact view of swarm-mcp activity without changing its state, and includes a fallback when the main command is unavailable.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/james.volpe/volpestyle/swarm-mcp/src/cli.ts.

Part of the swarm plugin — 1 command, 3 hooks shipped together

Good fit Checking swarm-mcp status, listing instances or tasks, viewing key-value entries, and reading recent messages.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Volpestyle/swarm-mcp
Claude Code
/plugin install swarm

Made for: Claude Code.

Or install swarm, the plugin that ships this one along with the rest of its 1 command, 3 hooks.

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/commands/volpestyle/swarm-mcp/swarm.svg)](https://agentmods.dev/commands/volpestyle/swarm-mcp/swarm)
Your own site
<a href="https://agentmods.dev/commands/volpestyle/swarm-mcp/swarm"><img src="https://agentmods.dev/badge/commands/volpestyle/swarm-mcp/swarm.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 319 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.00015 $0.00319
Opus 5 $0.00008 $0.00160
Sonnet 5 $0.00003 $0.00064
Haiku 4.5 $0.00002 $0.00032

Measured 7d ago against content hash 8e8a01cc68dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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.

integrations/claude-code/commands/swarm.md · 29 lines

What it actually says

You are answering a /swarm slash command. The argument selects which view to print -- treat it as read-only inspection. Default subcommand is status.

Subcommand: $ARGUMENTS

Run the matching command below, then reply with a compact summary (no narration about how you ran it). Show counts first, then the first few rows.

  • status (default): !swarm-mcp inspect --json -- summarize instances, tasks, kv keys, and recent messages.
  • instances: !swarm-mcp instances --json
  • tasks: !swarm-mcp tasks --json
  • kv: !swarm-mcp kv list --json
  • messages: !swarm-mcp messages

If swarm-mcp is not on $PATH, fall back to whichever resolves first:

  • !bun run /Users/james.volpe/volpestyle/swarm-mcp/src/cli.ts <subcommand> ...
  • !node /Users/james.volpe/volpestyle/swarm-mcp/dist/cli.js <subcommand> ...

If neither runs, surface a one-line install hint pointing to integrations/claude-code/README.md and stop.

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. 7d ago First seen · 29 lines · 15 tokens per session scan A 8e8a01cc68dc

Subscribe to this mod's changes

swarm is a command published in the GitHub repository Volpestyle/swarm-mcp (1 stars, last pushed 3mo ago), licensed MIT. It adds 15 tokens to every session and 319 once invoked, about $0.0001 per session on Opus 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-31.