swarm-coordinate

swarm-coordinate is a skill for Claude Code from miopea/swarm-legacy. It costs 46 tokens per session (513 once invoked), scanned A, a copy of file-organizer-skill-hardened, MIT.

A read-only coordination check for a group of worker agents. It surveys which workers are idle and which tasks are waiting, then suggests who could take each task.

In plain words
What is it for?
Use it to check worker status, find unassigned work, review peer messages, and get delegation suggestions.
Why use it?
It makes the shared work queue easier to understand without creating or assigning tasks itself.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to check worker status, find unassigned work, review peer messages, and get delegation suggestions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miopea/swarm-legacy/swarm-coordinate
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 miopea/swarm-legacy --skill swarm-coordinate
Clone the repo
git clone --depth 1 https://github.com/miopea/swarm-legacy

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/miopea/swarm-legacy/swarm-coordinate"><img src="https://agentmods.dev/badge/skills/miopea/swarm-legacy/swarm-coordinate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 513 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 86% copy Near-identical to another mod 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.00046 $0.00513
Opus 5 $0.00023 $0.00257
Sonnet 5 $0.00009 $0.00103
Haiku 4.5 $0.00005 $0.00051

Measured 12d ago against content hash 8991a5f66250, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

swarm-coordinate 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 12d 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.

Origin

This is a copy

86% identical to file-organizer-skill-hardened — 68 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

src/swarm/hooks/skills/swarm-coordinate/SKILL.md · 40 lines

What it actually says

/swarm-coordinate — Suggest a delegation

Survey the swarm and recommend where pending work could go. Advisory only — this skill never creates or dispatches tasks. Cross-worker task creation is reserved for the operator and the Queen.

Workflow

  1. Call mcp__swarm__swarm_task_status with filter="all" to see the full board state. Note each worker's current task (if any).

  2. Call mcp__swarm__swarm_task_status with filter="unassigned" to see the queue of queen-eligible work.

  3. Optionally call mcp__swarm__swarm_check_messages if peer warnings or findings would change a delegation choice.

  4. Identify:

    • Idle workers — peers in RESTING/SLEEPING with no ACTIVE task.
    • Open tasks — tasks in UNASSIGNED/ASSIGNED waiting for a worker.
  5. Output a tight delegation suggestion as plain text. Use this shape:

    Idle workers: <list, or "none">
    Pending tasks: <list with task numbers + short titles, or "none">
    Suggested delegations:
    - Send task #<N> "<title>" to <worker> — <one-line reason>
    - Send task #<M> "<title>" to <worker> — <one-line reason>
    

    If there are no idle workers OR no pending tasks, say so plainly and stop.

Constraints

  • Never call mcp__swarm__swarm_create_task from this skill. Cross-worker dispatch crosses the Queen-only authority boundary.
  • Suggestions must reference real task numbers and real worker names — never invent.
  • If the operator wants to act on a suggestion, they invoke swarm_create_task themselves, or the suggesting worker uses /swarm-handoff <worker> <description>.
  • Output is text only; no side effects, no PTY injections, no messages sent.
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. 12d ago First seen · 40 lines · 46 tokens per session scan A 8991a5f66250

Subscribe to this mod's changes

swarm-coordinate is a skill published in the GitHub repository miopea/swarm-legacy (9 stars, last pushed 13d ago), licensed MIT. It adds 46 tokens to every session and 513 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to file-organizer-skill-hardened, differing in 68 lines, and is treated as a copy.

Related

Other skills, from other repositories