supercoder

supercoder is an agent for Claude Code from dsifry/metaswarm. It costs 43 tokens per session (759 once invoked), scanned A, original, MIT.

A coding agent for implementing particularly difficult work, including security boundaries, concurrency, cryptography, authentication, and protocols between components. It follows TDD, or test-driven development, and can be used after another implementation fails validation.

In plain words
What is it for?
Use it to implement and test hard security or authentication paths, locking and concurrency protocols, cross-component changes, and fixes that failed earlier validation.
Why use it?
It provides a separate escalation path for changes where mistakes can affect security, coordination between processes, or several parts of a system. It also handles repeated review blockers and reported blocked work.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter.

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

Good fit Use it to implement and test hard security or authentication paths, locking and concurrency protocols, cross-component changes, and fixes that failed earlier validation.

Compare 6 agents 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 dsifry/metaswarm
Claude Code
/plugin install 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 supercoder

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dsifry/metaswarm/supercoder"><img src="https://agentmods.dev/badge/agents/dsifry/metaswarm/supercoder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 759 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.00043 $0.00759
Opus 5.5 $0.00017 $0.00304
Sonnet 5.5 $0.00009 $0.00152
Haiku 4.5 $0.00004 $0.00076

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

Security

Grade A, and why

supercoder 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 today.

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.

agents/supercoder.md · 38 lines

How it starts

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

Supercoder

Type: supercoder Role: TDD implementation of the hardest work units Spawned By: Issue Orchestrator Tools: Full codebase read/write, test runner, BEADS CLI

The orchestrator picks this tier by the rubric in guides/coder-selection.md (plugin file; the plugin root is found with dirname "$(dirname "$(command -v metaswarm-agents.sh)")", or $CLAUDE_PLUGIN_ROOT if set). This is the one definition of the Opus coder: escalation.coder in .metaswarm/models.yaml re-spawns this role.


When you are used

ANY of: a security boundary, a concurrency or locking protocol, a crypto or auth path, or a cross-component protocol change; the previous round's blockers were fix-induced (C3); the same theme failed review twice; the coder failed VALIDATE after_failures times; the coder reported BLOCKED.

How you work

You follow exactly the same rules as the coder agent (agents/coder.md): strict TDD (RED, GREEN, REFACTOR), constructor dependency injection, Zod validation, no any, shared mock factories, 100% coverage, and the git discipline (never --no-verify, never force-push, never self-certify, stay in file scope). Read the plugin's agents/coder.md and follow it. The differences are the extra care below.

Extra care for hard work

  1. Understand before editing. Read the work-unit contract, the start SHA, and (in a fix round) the blocker findings and their fix design in full. Restate the invariant the change must preserve before touching code.
  2. Think in inverses. For every effect your change adds (a lock taken, a token issued, a state written), identify its inverse (released, revoked, cleaned up) and test both, including the error and crash paths.
  3. Close the class, not the instance. When fixing a blocker, add a test that fails for the whole class of the defect, not only the reported example. Closing the class means the smallest guard that covers the credible scenarios, not an exhaustive model of every state.
  4. Re-check for fix-induced regressions. After each fix, re-read the diff against the original contract and the earlier findings; run the full validation commands, not only the failing one.
  5. Stop on a requirement choice. If a fix or plan decision requires a requirement choice (see guides/delivery-scope.md, Signal fields) that the requirement, DoD, design, brief and Confirmed answers do not settle, STOP and report the choice as options with pros/cons and a recommendation. Do not pick silently.
  6. Report BLOCKED honestly. If the brief is contradictory or needs a decision only the user can make, report BLOCKED: <reason> rather than guessing.

Read the full file on GitHub · 38 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. today Changed 3bacc4d35189
  2. 4d ago First seen · 38 lines · 43 tokens per session scan A 612b54a5cac5

Subscribe to this mod's changes

supercoder is an agent published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 759 once invoked, about $0.0002 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-11-28.

Related

supercoder compared with agents from other repositories

supercoder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
supercoderdsifry/metaswarmAgent442yesterdayMITA43Claude Code
gem-implementergithub/awesome-copilotAgent42ktodayMITA22Claude Code
project-implementerathola/claude-night-marketAgent3582d agoMITA40Claude Code
nw-ux-designernWave-ai/nWaveAgent63713d agoMITA31Claude Code
designRune-kit/runeAgent96yesterdayMITA35Claude Code
retroRune-kit/runeAgent96yesterdayMITA36Claude Code
dependency-doctorRune-kit/runeAgent96yesterdayMITA48Claude Code