nw-mutation-test

nw-mutation-test is a skill for Claude Code from nWave-ai/nWave. It costs 30 tokens per session (756 once invoked), scanned A, original, MIT.

A testing technique that deliberately makes small changes, or mutations, to implementation code and checks whether the test suite detects them. The results show how well tests would catch realistic bugs.

In plain words
What is it for?
Use it after implementing a feature to measure test quality for the changed files and identify weak test cases.
Why use it?
A passing test suite can still miss important failures. Mutation testing exposes tests that pass without checking the behavior they are meant to protect.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it after implementing a feature to measure test quality for the changed files and identify weak test cases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nwave-ai/nwave/nw-mutation-test
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.

Any agent
npx skills add nWave-ai/nWave --skill nw-mutation-test
Clone the repo
git clone --depth 1 https://github.com/nWave-ai/nWave

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 nw-mutation-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-mutation-test/github.svg)](https://agentmods.dev/skills/nwave-ai/nwave/nw-mutation-test)
Your own site
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-mutation-test"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-mutation-test/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 nw-mutation-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-mutation-test"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-mutation-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 756 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00030 $0.00756
Opus 5.5 $0.00012 $0.00302
Sonnet 5.5 $0.00006 $0.00151
Haiku 4.5 $0.00003 $0.00076

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

Security

Grade A, and why

nw-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 27d 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.

nWave/skills/nw-mutation-test/SKILL.md · 76 lines

How it starts

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

Mutation Test

Mutation testing is disabled by default. This skill runs only after an explicit on-demand invocation or when the project itself declares Mutation Testing Strategy: nightly-delta.

It is a standalone diagnostic outer loop, not a DELIVER phase, rigor knob, completion gate, workflow state or substitute for semantic acceptance tests.

Input authority

  • Explicit probe: use the named production diff.
  • Nightly delta: use production files changed since the last successful mutation run.
  • Never infer targets from docs/feature/, feature-delta, a progress ledger, filenames alone or the implementation agent's claims.

If the diff is empty, report not-applicable and stop. If a target is missing, outside the repository or not production code, fail loudly before starting a mutation tool.

Execution

  1. Detect the project's language and existing mutation runner. Do not impose a Python-specific tool on another language.
  2. Prove the target's ordinary tests pass with the project's declared runner.
  3. Snapshot the user's worktree status.
  4. Create a dedicated disposable worktree or copy and run all mutations there. Never mutate, reset or restore the user's worktree.
  5. Compare the user's status with the snapshot and discard only the disposable target.

Each invocation binds the actual production delta/commit snapshot, ordinary-GREEN baseline, oracle/support/source identities and native build/discovery graph. Allocate distinct process, workspace, mutable config, build/temp/cache and result paths with provenance; parallel probes cannot share fixed files or cache identity. Tests must participate in that native graph, not a disconnected Python harness. The repository's nightly Python adapter supports its declared Python/mutmut 3.8 contract only; it is not a cross-stack runner. Empty/unsupported target sets, driver no-ops, zero generated mutants or interrupted attempts are never PASS100.

No supported runner is an honest indeterminate, not a fabricated PASS.

Read the full file on GitHub · 76 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. 27d ago Changed · -52 lines · -3 tokens per session 9e71922991c2
  2. 2mo ago First seen · 128 lines · 33 tokens per session scan A effe610a3005

Subscribe to this mod's changes

nw-mutation-test is a skill published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 30 tokens to every session and 756 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-09-03.

Related

nw-mutation-test compared with skills from other repositories

nw-mutation-test next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-mutation-testnWave-ai/nWaveSkill63611d agoMITA30Claude Code
java-testing-junit-mockitomakifbaysal/tasktrooperSkill123todayApache-2.0A46Claude Code, Codex
test-writingandreaswasita/copilot-agents-dojoSkill562mo agoMITA11Claude Code, Codex
principle-test-behavior-not-implementationmichael-denyer/pstack-claudeSkill5.0ktodayMITA50Claude Code, Codex
temporal-python-testingwshobson/agentsSkill43k6d agoMITA45Claude Code
test-automationa5c-ai/babysitterSkill1.9k29d agoMITA0Claude Code, Codex
JUnit 5 TestingPramodDutta/qaskillsSkill25227d agoMITA36Claude Code, Codex