swarm-operations

swarm-operations is a skill for Claude Code, Codex from ellmos-ai/build-your-users-mind. It costs 64 tokens per session (1,404 once invoked), scanned A, original, MIT.

A collection of five ways to coordinate multiple AI agents working at the same time or in levels. The patterns cover central task assignment, hierarchies, shared-file coordination, agreement-based decisions, and specialist teams.

In plain words
What is it for?
Use it to plan agent teams for research, large projects, refactoring, data crawling, reviews, decisions, or work spanning several fields.
Why use it?
It helps structure work across several agents so tasks, results, and decisions do not become disorganized.

Skill for Claude CodeCodex

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

Good fit Use it to plan agent teams for research, large projects, refactoring, data crawling, reviews, decisions, or work spanning several fields.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ellmos-ai/build-your-users-mind/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 ellmos-ai/build-your-users-mind --skill swarm-operations
Clone the repo
git clone --depth 1 https://github.com/ellmos-ai/build-your-users-mind

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ellmos-ai/build-your-users-mind/swarm-operations/github.svg)](https://agentmods.dev/skills/ellmos-ai/build-your-users-mind/swarm-operations)
Your own site
<a href="https://agentmods.dev/skills/ellmos-ai/build-your-users-mind/swarm-operations"><img src="https://agentmods.dev/badge/skills/ellmos-ai/build-your-users-mind/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/ellmos-ai/build-your-users-mind/swarm-operations"><img src="https://agentmods.dev/badge/skills/ellmos-ai/build-your-users-mind/swarm-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,404 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.00064 $0.01404
Opus 5 $0.00032 $0.00702
Sonnet 5 $0.00013 $0.00281
Haiku 4.5 $0.00006 $0.00140

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

skills/swarm-operations/SKILL.md · 99 lines

How it starts

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

Swarm Operations: 5 patterns for multi-agent systems

Coordination strategies for AI agents working in parallel or hierarchically — from simple task distribution to emergent swarm patterns.

Bundled dependency of build-your-users-mind. The module's stage-2 classification uses pattern 2 (Hierarchy) + pattern 3 (Stigmergy): domain leads direct chunk workers, and agents coordinate through shared files rather than direct messaging.


Overview of the 5 patterns

# Pattern Agents Coordination Best for
1 Epstein method 3-5 Central (orchestrator) Knowledge building, research
2 Hierarchy swarm 5-20 Tree structure Large projects, refactoring
3 Stigmergy 3-10 Decentralized (environment) Exploration, data crawling
4 Consensus 3-7 Peer-to-peer Decisions, review
5 Specialist swarm 3-8 Hub-and-spoke Cross-domain

Pattern 1: Epstein method

Principle: one orchestrator distributes subtasks to specialized workers; results are collected, deduplicated and merged into a whole. Roles: Orchestrator (split, distribute, synthesize) · Worker (handle subtask, return structured result) · Validator (optional, quality/consistency check). Use when: research with several independent aspects, knowledge building, multi-source extraction. Limits: orchestrator is a single point of failure; overhead below 3 subtasks; dependent subtasks hard to parallelize.

Pattern 2: Hierarchy swarm

Principle: tree of boss nodes coordinating sub-teams; each boss knows only its direct reports. Levels: Project boss (overall plan, final result) · Team lead (coordinate a subarea) · Worker (single task). Implementation: decompose into 2-4 areas → one lead per area → leads assign workers → aggregate bottom-up (worker → lead → boss). Use when: large projects (>10 files), refactoring across modules, documenting whole systems, natural hierarchy. Limits: cross-level communication overhead; the big picture can be lost at lower levels; needs ≥5 agents to pay off.

Read the full file on GitHub · 99 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. 10d ago First seen · 99 lines · 64 tokens per session scan A 55b994ee0780

Subscribe to this mod's changes

swarm-operations is a skill published in the GitHub repository ellmos-ai/build-your-users-mind (3 stars, last pushed 4d ago), licensed MIT. It adds 64 tokens to every session and 1,404 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

trulens-evaluation-setup

Configure feedback functions and selectors for TruLens evaluations.

truera/trulens · 17 tokens

self-improver

Review affiliate campaign results and improve strategy. Triggers on: "review my results", "what went wrong", "how to improve conversions", "analyze my campaign", "affiliate retrospective", "why am I not converting", "improve my strategy", "what should I change", "campaign review", "optimize my approach", "learn from…

Affitor/affiliate-skills · 87 tokens

md-review

Run the standard markdown review loop end-to-end with the mdxg-redline CLI: send a markdown document to a human reviewer, wait (via Bash polling) for the feedback.json they export, then apply their location-aware inline comments back into the markdown and revise it. Always use this skill when the user wants…

oubakiou/mdxg-redline · 178 tokens

decision-avatar

Bei vorhandenem und ausdrücklich autorisiertem lokalem Entscheidungsprofil: wiederkehrende Entscheidungen aus belegtem Feedback vorhersagen, Konfidenz kalibrieren und Vorhersage, Entscheidung und Ausführung strikt trennen.

ellmos-ai/skills · 49 tokens

build-your-users-mind

Verweist auf das öffentliche, anbieterneutrale Modul build-your-users-mind: ein datenschutzbewusstes Verfahren zum Aufbau eines empirischen Theory-of-Mind-Präferenzmodells eines autorisierten Nutzers aus dessen eigenen Interaktionsprotokollen. Verwenden, wenn eine zuständige Person ein Entscheidungsavatar-Profil…

ellmos-ai/skills · 97 tokens

ai-feedback-design-principles

Audit and redesign AI-generated feedback for pedagogical quality, timing, and learning impact. Use when building or reviewing automated feedback in digital learning tools.

GarethManning/education-agent-skills · 36 tokens