mmt

mmt is a command for Claude Code from ANcpLua/ancplua-claude-plugins. It costs 31 tokens per session (928 once invoked), scanned A, original, MIT.

A command that runs a complete test-quality review on selected files, a directory, a file pattern, or the current Git changes. It reviews architecture, rates existing tests, rewrites weak ones, and closes meaningful behavior branches.

In plain words
What is it for?
It helps run a mutation-minded testing pass on a change or code area, including structural review, test judgement, test rewrites, and branch-focused test work.
Why use it?
It replaces ad hoc attempts to raise coverage with a staged process that first checks whether the code and tests can reveal real bugs.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool.

Part of the mutation-minded-testing plugin — 4 skills, 1 command, 4 agents shipped together

Good fit It helps run a mutation-minded testing pass on a change or code area, including structural review, test judgement, test rewrites, and branch-focused test work.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ancplua/ancplua-claude-plugins/mmt
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.

Clone the repo
git clone --depth 1 https://github.com/ANcpLua/ancplua-claude-plugins

Made for: Claude Code.

Or install mutation-minded-testing, the plugin that ships this one along with the rest of its 4 skills, 1 command, 4 agents.

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 mmt

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/mmt"><img src="https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/mmt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 928 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.00031 $0.00928
Opus 5.5 $0.00012 $0.00371
Sonnet 5.5 $0.00006 $0.00186
Haiku 4.5 $0.00003 $0.00093

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

Security

Grade A, and why

mmt 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 19d 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.

plugins/mutation-minded-testing/commands/mmt.md · 112 lines

How it starts

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

/mmt — Mutation-Minded Testing

Runs the full behavior-first test-quality pass on $ARGUMENTS (a file, directory, glob, or — if omitted — the current git diff).

Coverage is a floor. Kill power is the signal. This command will not add tests whose only purpose is to raise a number.

Scope resolution

  • $ARGUMENTS empty → use git diff --name-only as the scope.
  • $ARGUMENTS is a file or glob → use it.
  • $ARGUMENTS is a directory → recurse into it.

If the scope contains no source files, stop and say so. Do not run the workflow on an empty set.

Phase 1 — Architecture review

Spawn the architecture-reviewer agent with the scope. Collect its ranked list of structural smells that force weak tests.

Gate: if the reviewer returns findings ranked as blocking (a structural issue that makes any mutation-resistant test impossible in the target), pause the workflow and surface those findings first. Do not proceed to write tests against a broken shape.

Phase 2 — Test judgement

Spawn the senior-tester-judge agent with the scope. Collect per-test verdicts (STRONG / ACCEPTABLE / WEAK / KILL) and the suite-level triage table.

Phase 3 — Test rewrite

Spawn the expressive-verifier-improver agent with the judge's WEAK and KILL entries. Rewrites are applied to the files directly (agent has Edit and Write). For each rewrite, the agent names the specific mutation the new test catches.

If any test case cannot be rewritten without a structural change, the agent hands it back to Phase 1 (architecture-reviewer) for that specific seam.

Phase 4 — Branch closure

Spawn the branch-coverage-implementer agent with the scope. It:

  1. Enumerates semantic branches.
  2. Confirms each is covered by a STRONG or ACCEPTABLE test from Phase 2 or 3.
  3. Writes new high-signal tests for the gaps.
  4. Runs the project's coverage (and mutation-testing tool if configured).
  5. Reports remaining branches by bucket: architectural / dead-code / unreachable.

Read the full file on GitHub · 112 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. 19d ago First seen · 112 lines · 31 tokens per session scan A 73790df43530

Subscribe to this mod's changes

mmt is a command published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 928 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-10-01.