Skip to main content
skill CX Codex

mutation-testing · trailofbits — Claude Code skill: mutation testing campaigns

A skill that walks the agent through mutation testing: setting up a mewt or muton campaign, reading surviving mutants, hunting bugs in untested code.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add trailofbits/skills --skill mutation-testing -a claude-code
Open on GitHub

What mutation-testing does

The skill does not run mutation testing itself. It picks the right workflow and loads the reference files that workflow needs. There are three paths: configuring or speeding up a campaign, hunting bugs in code the tests miss, and turning results into a formal report. Each path lists what else to read, such as the equivalence catalog or the report template.

It covers both mewt and muton, which share the same interface but use different config and database files (mewt.toml versus muton.toml). The blockchain reference loads only for Solidity, Move, FunC/Tolk, Cairo and Solana Rust targets. Results from another tool get a separate input-format reference.

The skill can read files, write, run shell commands and grep code — Read Write Bash Grep. It does not pin down flag behavior: mewt --help is treated as the source of truth, so an unfamiliar flag sends the agent to the help output. Check your mewt version against the 4.x examples before starting a campaign.

What it helps with

  • scope a mutation testing campaign to specific paths
  • trim a campaign whose estimate runs too long
  • sort surviving mutants into real test gaps and equivalent mutations
  • find bugs in code that tests never exercise
  • produce a formal report with severity tiers

Example prompts for the agent

  • Set up a mutation testing campaign for src/auth/** and tell me how long it will take
  • Go through the surviving mutants from the last run: which are test gaps and which are equivalent mutations
  • Write up the campaign results as a report grouped by severity

How to install mutation-testing

1Skills CLI (Vercel)

npx skills add trailofbits/skills --skill mutation-testing -a claude-code

2Manually: put the files in place

~/.claude/skills/mutation-testing/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/mutation-testing/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about mutation-testing

How do I install mutation-testing in Claude Code?

Run npx skills add trailofbits/skills --skill mutation-testing -a claude-code. The skill lands at ~/.claude/skills/mutation-testing/SKILL.md.

What does the mutation-testing skill do?

It chooses one of three mutation testing workflows — campaign setup, bug hunting, or reporting — and loads the matching references. The agent then works with mewt or muton on your paths and results.

How do mewt and muton differ here?

Their interfaces match; the file names do not. A muton project uses muton.toml and muton.sqlite, while the examples in the skill are written for mewt 4.x.

Similar skills

Everything for Testing and QA →

mutation-testing by other authors comes first.

From the same set77

let-fate-decide This skill uses a Tarot spread to suggest a direction when a request leaves several reasonable options open. It suits casual handoffs where the agent is asked to choose. CX Codex +1 4,700installs zeroize-audit Finds passwords, keys and tokens left in memory across C, C++ and Rust, and checks whether the compiler threw their wiping away. CX Codex +1 4,700installs diagramming-code Generates Mermaid diagrams from code graphs using Trailmark. Useful for visualizing call paths, module dependencies, and data flows. CX Codex +1 4,200installs dimensional-analysis Audits numeric code for unit confusion and decimal-scale errors, then adds dimensional comments. Use it when formulas or conversions need a unit-level review. CX Codex +1 4,200installs trailmark Builds and inspects multi-language code graphs to trace taint propagation, map attack surfaces, and prioritize security audits. CX Codex +1 4,000installs mermaid-to-proverif Turns a Mermaid sequence diagram of a crypto protocol into a ProVerif model — a .pv file you can check for secrecy, authentication and forward secrecy. CX Codex +1 3,900installs graph-evolution Compares Trailmark code graphs across two code snapshots to spot structural security changes. It catches attack path expansion and privilege shifts that text diffs overlook. CX Codex +1 3,900installs trailmark-structural Builds a Trailmark graph for a target directory and reports complexity, taint, blast radius, privilege boundaries, and attack surface data. CX Codex +1 3,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor