swarm-operations

swarm-operations is a skill for Claude Code from Jamie-BitFlight/claude_skills. It costs 81 tokens per session (2,175 once invoked), scanned A, original, MIT.

A reference for the tools Claude Code provides to create teams, start agents, manage tasks, exchange messages, and shut teams down. It also documents the expected inputs, outputs, and common error-handling patterns.

In plain words
What is it for?
Use it to look up tool parameters, message formats, task operations, plan approvals, and shutdown procedures.
Why use it?
It prevents mistakes when calling multi-agent orchestration tools or debugging why a team workflow did not behave as expected.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it to look up tool parameters, message formats, task operations, plan approvals, and shutdown procedures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamie-bitflight/claude_skills/swarm-operations
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 Jamie-BitFlight/claude_skills --skill swarm-operations
Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/claude_skills

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-operations

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamie-bitflight/claude_skills/swarm-operations"><img src="https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/swarm-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,175 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 21
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00081 $0.02175
Opus 5.5 $0.00032 $0.00870
Sonnet 5.5 $0.00016 $0.00435
Haiku 4.5 $0.00008 $0.00217

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

Security

Grade A, and why

swarm-operations 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.

.claude/skills/swarm-operations/SKILL.md · 349 lines

How it starts

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

Swarm Operations

API reference for multi-agent orchestration tools in Claude Code v2.1.45.


Tools Overview

flowchart TD
    Start([What do you need to do?]) --> Q1{Operation type?}
    Q1 -->|Create a team| TC[TeamCreate]
    Q1 -->|Send a message| SM[SendMessage]
    Q1 -->|Clean up team| TD[TeamDelete]
    Q1 -->|Spawn an agent| Task[Agent tool]
    Q1 -->|Manage work items| TT[TaskCreate / TaskUpdate / TaskList / TaskGet]

TeamCreate -- Create a Team

TeamCreate({
  team_name: "feature-auth",
  description: "Implementing OAuth2 authentication"
})

Creates:

  • ~/.claude/teams/feature-auth/config.json
  • ~/.claude/tasks/feature-auth/ directory
  • You become the team leader

SendMessage -- All Inter-Agent Communication

SendMessage handles direct messages, broadcasts, shutdown, and plan approval.

Direct Message (type "message")

SendMessage({
  type: "message",
  recipient: "security-reviewer",
  content: "Please prioritize the authentication module. The deadline is tomorrow.",
  summary: "Prioritize auth module"
})

Required fields: type, recipient, content, summary

IMPORTANT: Your text output is NOT visible to teammates. You MUST use SendMessage to communicate.

Broadcast (type "broadcast")

SendMessage({
  type: "broadcast",
  content: "Status check: Please report your progress",
  summary: "Requesting status from all"
})

Required fields: type, content, summary

WARNING: Broadcasting is expensive -- sends N separate messages for N teammates. Prefer direct message to specific teammates.

When to broadcast:

  • Critical issues requiring immediate team-wide attention
  • Major announcements affecting everyone

When NOT to broadcast:

  • Responding to one teammate
  • Normal back-and-forth
  • Information relevant to only some teammates

Shutdown Request (type "shutdown_request")

Leader requests teammate to exit:

SendMessage({
  type: "shutdown_request",
  recipient: "security-reviewer",
  content: "All tasks complete, wrapping up"
})

Read the full file on GitHub · 349 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. 3mo ago First seen · 349 lines · 81 tokens per session scan A 8bc99d2b8f5d

Subscribe to this mod's changes

swarm-operations is a skill published in the GitHub repository Jamie-BitFlight/claude_skills (67 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 2,175 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-09-03.

Related

swarm-operations compared with skills from other repositories

swarm-operations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swarm-operationsJamie-BitFlight/claude_skillsSkill671mo agoMITA81Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code