metaswarm: Command for Claude Code

.claude/commands/update.md

update is a command for Claude Code from dsifry/metaswarm. It costs 14 tokens per session (283 once invoked), scanned A, original, MIT.

A command that checks whether a newer version of the metaswarm plugin is available and explains how to apply it.

In plain words
What is it for?
Use it with `/update` to inspect the installed version, check the marketplace, follow the appropriate update path, and verify the plugin afterward.
Why use it?
It gives you a way to check for updates and troubleshoot whether the plugin's skills still load correctly.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: mentions .claude-plugin; mentions Claude Code.

This is dsifry/metaswarm's own configuration. It tells Claude Code how to work on metaswarm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything metaswarm configures →

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the metaswarm plugin — 15 skills, 16 commands, 31 agents, 3 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to dsifry/metaswarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dsifry/metaswarm/main/.claude/commands/update.md
Clone the repo
git clone --depth 1 https://github.com/dsifry/metaswarm

Made for: Claude Code.

Or install metaswarm, the plugin that ships this one along with the rest of its 15 skills, 16 commands, 31 agents, 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 update

README.md
[![agentmods](https://agentmods.dev/badge/commands/dsifry/metaswarm/update/github.svg)](https://agentmods.dev/commands/dsifry/metaswarm/update)
Your own site
<a href="https://agentmods.dev/commands/dsifry/metaswarm/update"><img src="https://agentmods.dev/badge/commands/dsifry/metaswarm/update/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 update

Your own site · 80×15
<a href="https://agentmods.dev/commands/dsifry/metaswarm/update"><img src="https://agentmods.dev/badge/commands/dsifry/metaswarm/update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 283 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.00014 $0.00283
Opus 5.5 $0.00006 $0.00113
Sonnet 5.5 $0.00003 $0.00057
Haiku 4.5 $0.00001 $0.00028

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

Security

Grade A, and why

update 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 24d 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/commands/update.md · 30 lines

What it actually says

Update

Check for and apply metaswarm updates.

Usage

/update

Behavior

  1. Read current plugin version from .claude-plugin/plugin.json
  2. Check if the marketplace has a newer version available
  3. If an update is available, guide the user through applying it:
    • For marketplace installs: the plugin auto-updates via the marketplace system
    • For npm installs: suggest migrating to the plugin (/metaswarm:migrate)
  4. After update, regenerate the project's phase agents: MA="$(command -v metaswarm-agents.sh || echo "${CLAUDE_PLUGIN_ROOT:-$PLUGIN_ROOT}/bin/metaswarm-agents.sh")"; "$MA" generate (uses command -v metaswarm-agents.sh — the plugin bin/ is on PATH) (skip if the project has no .metaswarm/models.yaml). Exit 1 means a generated file was hand-edited; report it and use --force only if the user asks.
  5. Verify all skills load correctly

Notes

  • Marketplace-installed plugins auto-update when Claude Code syncs plugins
  • This command is primarily useful for checking the current version and troubleshooting
  • Replaces the old /metaswarm-update-version command
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. 24d ago Changed · +4 lines · +14 tokens per session 3b2364073c99
  2. 25d ago Changed · +1 lines 2f88a3e4f855
  3. 3mo ago First seen · 25 lines · 0 tokens per session scan A a9a6bec3fdfc

Subscribe to this mod's changes

update is a command published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 283 once invoked, about $0.0001 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-08-30.

Related

update compared with commands from other repositories

update next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
updatedsifry/metaswarmCommand442yesterdayMITA14Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code