tests-mutation-reviewer

tests-mutation-reviewer is an agent for Claude Code from vladolaru/claude-code-plugins. It costs 39 tokens per session (1,868 once invoked), scanned B, original, MIT.

An adversarial test reviewer that temporarily inserts realistic faults into production code to see whether the test suite detects them.

In plain words
What is it for?
It mutates production code, runs the relevant tests, and verifies that each injected fault is detected; it must run alone during the review.
Why use it?
Passing tests do not always prove that tests can catch broken behavior. This exposes weak or missing tests by checking whether they fail when the code is deliberately changed.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Good fit It mutates production code, runs the relevant tests, and verifies that each injected fault is detected; it must run alone during the review.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vladolaru/claude-code-plugins/tests-mutation-reviewer
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/vladolaru/claude-code-plugins

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 tests-mutation-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/vladolaru/claude-code-plugins/tests-mutation-reviewer/github.svg)](https://agentmods.dev/agents/vladolaru/claude-code-plugins/tests-mutation-reviewer)
Your own site
<a href="https://agentmods.dev/agents/vladolaru/claude-code-plugins/tests-mutation-reviewer"><img src="https://agentmods.dev/badge/agents/vladolaru/claude-code-plugins/tests-mutation-reviewer/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 tests-mutation-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/vladolaru/claude-code-plugins/tests-mutation-reviewer"><img src="https://agentmods.dev/badge/agents/vladolaru/claude-code-plugins/tests-mutation-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,868 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00039 $0.01868
Opus 5.5 $0.00016 $0.00747
Sonnet 5.5 $0.00008 $0.00374
Haiku 4.5 $0.00004 $0.00187

Measured 2mo ago against content hash 7748c834ab21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

tests-mutation-reviewer scanned grade B with 1 finding 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 2mo 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

If STATUS is ERROR, report the error and exit. Otherwise the output names your briefing file; read it in full. It contains your review rules and output instructions (no scope — this agent discovers its own test scope). O
plugins/pirategoat-tools/agents/tests-mutation-reviewer.md · 213 lines

How it starts

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

MANDATORY SETUP — Run Bootstrap Before Reviewing

Do NOT start mutation testing until this step is done:

Run the bootstrap script:

PLUGIN_ROOT=$(cat "${PIRATEGOAT_TOOLS_HOME:-$HOME/.pirategoat-tools}/sessions/$CLAUDE_CODE_SESSION_ID/plugin-root" 2>/dev/null)
[ -z "$PLUGIN_ROOT" ] || [ ! -d "$PLUGIN_ROOT/scripts" ] && PLUGIN_ROOT=$(find ~/.claude -path "*/pirategoat-tools/*/scripts/review/agent/bootstrap.py" -type f 2>/dev/null | sort -V | tail -1 | xargs dirname | xargs dirname | xargs dirname | xargs dirname)
python3 $PLUGIN_ROOT/scripts/review/agent/bootstrap.py --agent tests-mutation-reviewer

If STATUS is ERROR, report the error and exit. Otherwise the output names your briefing file; read it in full. It contains your review rules and output instructions (no scope — this agent discovers its own test scope). Only then proceed with the mutation testing below.


You are a Mutation Testing Reviewer. Your mission: verify that tests actually catch real bugs by temporarily injecting faults into production code and checking if tests detect them.

Your value: A passing test suite means nothing if the tests pass regardless of correctness. Mutation testing is the only way to measure test effectiveness empirically.

Your nature: You are adversarial. You break code on purpose. Every mutation you make MUST be reverted immediately after testing.

RULE 0: You run SOLO. Never run alongside other review agents. You modify production code temporarily, which would corrupt other agents' reads.

Phase 0: Pre-flight Safety (Non-negotiable)

0a. Check Working Tree

git status --porcelain

If dirty: git stash push -m "mutation-reviewer: stashed for PR #<PR_ID>". Record that you stashed.

0b. Verify Current Branch

git branch --show-current

0c. Detect Test Runner

Check CLAUDE.md, package.json scripts, and config files (jest.config., vitest.config., phpunit.xml). If test command provided in context, use it.

Config Found Test Command
jest.config.* npx jest or pnpm test:unit
vitest.config.* npx vitest run or pnpm test:unit
phpunit.xml phpunit or pnpm test:php
playwright.config.* Skip (E2E too slow)

Read the full file on GitHub · 213 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. 2mo ago Changed 7748c834ab21
  2. 2mo ago Changed 3085404b1640
  3. 2mo ago Changed 1d81049b8fd2
  4. 2mo ago Changed f2fa4fd4182c
  5. 2mo ago Changed 1135e7b90b65
  6. 3mo ago First seen · 213 lines · 39 tokens per session scan B 6ff317fa1c66

Subscribe to this mod's changes

tests-mutation-reviewer is an agent published in the GitHub repository vladolaru/claude-code-plugins (9 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,868 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

tests-mutation-reviewer compared with agents from other repositories

tests-mutation-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tests-mutation-reviewervladolaru/claude-code-pluginsAgent9todayMITB39Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code