mutation-test

A testing tool that deliberately makes small changes to production code and checks whether the tests detect them. It uses the project's configured mutation-testing engine or an AI-guided method for additional behavior-focused changes.

In plain words
What is it for?
It helps evaluate tests after they are written, before a release, or when a test suite has high line coverage but may be shallow.
Why use it?
Line coverage only shows which lines ran; it does not show whether tests would catch broken behavior. This finds missed cases and adds an assertion when a real testing gap is confirmed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/greglas75/zuvo/mutation-test
Any agent
npx skills add greglas75/zuvo --skill mutation-test
Clone the repo
git clone --depth 1 https://github.com/greglas75/zuvo

Made for: Claude Code, Codex.

Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 19,776 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00190 $0.19776
Opus 5 $0.00095 $0.09888
Sonnet 5 $0.00038 $0.03955
Haiku 4.5 $0.00019 $0.01978

Measured 2d ago against content hash 27b47cdc8577, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mutation-test 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 2d 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.

skills/mutation-test/SKILL.md · 1,370 lines

How it starts

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

zuvo:mutation-test -- LLM-Guided Mutation Testing

Intelligent mutation testing that targets meaningful behavioral gaps rather than random code changes. For each production file, the LLM generates mutations in 7 categories (boundary, logic, null, error, state, async, security), runs only the tests that cover that file, and closes the gaps it finds: every survivor is triaged as a real gap or an equivalent mutant, and each real gap gets the missing assertion added and re-probed in the same run.

Scope: Production files that have associated test files. Measures how well existing tests detect real behavioral changes. When to use: After writing tests, before releases, when mutation score is unknown, when test suite feels shallow despite high line coverage. Out of scope: Writing a test suite from scratch (use zuvo:write-tests), fixing systematic test anti-patterns across many files (use zuvo:fix-tests), auditing test quality without execution (use zuvo:test-audit), code quality review (use zuvo:review). Adding the single missing assertion that a surviving mutant exposes is IN scope — that is the point of finding it.

Argument Parsing

Parse $ARGUMENTS as: [path | full | continue] [--max N] [--category CATEGORY] [--runner MODE] [--break N] [--no-install] [--dry-run] [--quick] [--report-only]

Flag Env equivalent Effect
[path] Scope to a specific directory or file
continue Resume an interrupted run from its checkpoint (Phase 3.0). Re-runs nothing already resolved.
full All production files that have test coverage
--max N Max total LLM mutations to execute (default: 50). Does not bound the native runner, which mutates exhaustively by design.
--category CATEGORY Only generate LLM mutations of this category: BOUNDARY, LOGIC, NULL, ERROR, STATE, ASYNC, SECURITY
--runner MODE ZUVO_MUTATION_RUNNER auto (default) / native / llm / hybrid — see 0.1d
--break N ZUVO_MUTATION_BREAK Fail the run when the final score_triaged is below N% (4.2c — evaluated after the 4.2b fix loop, not at 4.1). The flag overrides the env value; both are recorded with their source.
--no-install ZUVO_MUTATION_NO_INSTALL=1 or ZUVO_NO_INSTALL=1 Never offer to install a mutation runner (disables the 0.1c consent gate). Detection still runs.
--dry-run Generate mutations and show the plan, but do not execute any. Also suppresses 0.1c entirely.
--quick Max 3 LLM mutations per file, max 20 total
--report-only Report the score; do NOT fix surviving gaps (skips 4.2b). The only way to skip the fix loop.

Read the full file on GitHub · 1,370 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. 2d ago First seen · 1,370 lines · 190 tokens per session scan A 27b47cdc8577

Subscribe to this mod's changes

mutation-test is a skill published in the GitHub repository greglas75/zuvo (6 stars, last pushed 2d ago), licensed MIT. It adds 190 tokens to every session and 19,776 once invoked, about $0.0010 per session on Opus 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-31.

Related

Other skills, from other repositories

ring:adopting-lib-commons-huma-wrapper

Adopting the lib-commons/v5 shared Huma (OAS 3.1) OpenAPI wrapper + RFC 9457 problem model (commons/net/http/{openapi,problem}) in a Lerian Go service: wire openapi.New/ServeSpec + problem.Install (central >=500 scrub) on BOTH runtime and spec-gen paths, the per-rail problem.MapError flex seam, and rename-only spec…

LerianStudio/ring · 142 tokens

ring:applying-composition-patterns

React composition patterns that scale. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or during architecture review. Skip for simple components with 1-2 props…

LerianStudio/ring · 68 tokens

ring:searching-code

Forensic code search and analysis with optional Chain of Draft (CoD) ultra-concise mode. Five-phase methodology (clarification, planning, execution, analysis, synthesis) with severity assessment. Use for targeted investigation of specific patterns, bugs, or vulnerabilities. Skip for broad architecture mapping (use…

LerianStudio/ring · 74 tokens

ring:exploring-codebases

Exploring a codebase across phases: scopes the target, detects architecture, components, and layers, deep-dives each discovered perspective, then synthesizes findings into actionable guidance with file:line evidence. Use to understand how a feature or system works before planning changes, or to orient on an unfamiliar…

LerianStudio/ring · 91 tokens

ring:opening-pull-requests

Open a GitHub Pull Request with automatic base branch detection, scope allowlist enforcement, PR template filling, and post-create base verification. Replaces ring:generating-pr-descriptions. Use after pushing a branch when ready to open a PR. Skip if the branch is not yet pushed or there are uncommitted changes …

LerianStudio/ring · 83 tokens

ring:cleaning-comments

Cleaning redundant and obvious comments following clean code principles while preserving meaningful documentation. Supports git scope filtering (staged, unstaged, branch, commit-range). Use when code has excessive comments, during code review, or post-refactor cleanup. Skip when reviewing documentation files or…

LerianStudio/ring · 64 tokens