fallow-mutation

fallow-mutation is a skill for Claude Code from fallow-rs/fallow-skills. It costs 129 tokens per session (2,105 once invoked), scanned A, original, MIT.

A mutation-testing tool for JavaScript and TypeScript that makes small changes to source code and runs the project's tests against each change. A changed version that survives shows a behavior the tests do not detect.

In plain words
What is it for?
Use it to check tests for a file, branch, change, or pull request, find surviving mutations, and decide which tests to add or remove.
Why use it?
Passing tests do not prove that the tests would catch a real bug. Mutation testing exposes weak or redundant tests so you can improve the test suite.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fallow plugin — 6 skills shipped together

Good fit Use it to check tests for a file, branch, change, or pull request, find surviving mutations, and decide which tests to add or remove.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fallow-rs/fallow-skills/fallow-mutation
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 fallow-rs/fallow-skills --skill fallow-mutation
Clone the repo
git clone --depth 1 https://github.com/fallow-rs/fallow-skills

Made for: Claude Code.

Or install fallow, the plugin that ships this one along with the rest of its 6 skills.

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 fallow-mutation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fallow-rs/fallow-skills/fallow-mutation"><img src="https://agentmods.dev/badge/skills/fallow-rs/fallow-skills/fallow-mutation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,105 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.00129 $0.02105
Opus 5.5 $0.00052 $0.00842
Sonnet 5.5 $0.00026 $0.00421
Haiku 4.5 $0.00013 $0.00211

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

Security

Grade A, and why

fallow-mutation 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 17d 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.

claude-directory/fallow/skills/fallow-mutation/SKILL.md · 164 lines

How it starts

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

Fallow Mutation: test the tests of TypeScript and JavaScript

fallow mutation makes small edits to the code (mutants) and runs the project tests against each one. A mutant that no test detects survived: the code can be wrong there while the tests pass. You write the tests.

To add tests, do the loop below. To remove, merge or refactor tests, read references/test-suite-changes.md.

When not to use

  • Rust code: use the cargo-fallow skill (cargo fallow mutants).
  • A pass or fail verdict for a PR: use the fallow skill (fallow audit). fallow audit and fallow review never start a run.

Agent rules

  1. A run executes the project tests many times, and the tests can write files or call other systems. Start a run when the user asks for better tests, for a check of the tests, for a removal of tests, or for mutation testing. In each other task, show the plan of step 1 and ask. Only the CLI starts a run: the MCP tools mutation_plan, mutation_inspect and mutation_tasks run no test.
  2. Use --format json --quiet and parse stdout as JSON. Exit code 0 means that the run finished, also with survivors. Exit code 1 means a score below --min-score. Exit code 2 means an error, with a message in the JSON. On exit code 2 and on a partial run, read references/run-control.md. Read fallow mutation --help before you use a flag that these files do not name.
  3. Keep each report and the verdict document out of the tracked tree, and do not commit them or the run journal. Use .fallow/ when .fallow/.gitignore exists after the plan of step 1, else the system temp directory. A > redirect or a -o path in another project directory makes the worktree dirty, and a run then exits 2.
  4. Start a run in the foreground and wait for the result. Do not end your turn while a run is in progress. When your shell has a command timeout, pass a --time-budget some minutes shorter than it, and continue with --resume until the run is complete.
  5. When another run or another agent uses the same machine, pass --concurrency 2. Do not start two runs in one project at the same time.
  6. Do not pass --allow-side-effects. Fallow skips the mutants in a function that writes to a file system, a process, a network or a database. Such a mutant can remove the guard of a real write. The check does not follow calls into helpers. Pass the flag only when the user asks for it and the tests cannot reach a real system.

Read the full file on GitHub · 164 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 17d ago First seen · 164 lines · 129 tokens per session scan A c2d25e9a9914

Subscribe to this mod's changes

fallow-mutation is a skill published in the GitHub repository fallow-rs/fallow-skills (145 stars, last pushed today), licensed MIT. It adds 129 tokens to every session and 2,105 once invoked, about $0.0005 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-11-14.

Related

fallow-mutation compared with skills from other repositories

fallow-mutation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fallow-mutationfallow-rs/fallow-skillsSkill145todayMITA129Claude Code
random-numberrivet-dev/sandbox-agentSkill1.7k11d agoApache-2.0A24Claude Code, Codex
cmux-browsermanaflow-ai/cmuxSkill29ktodaynoneA39Codex
cmux-customizationmanaflow-ai/cmuxSkill29ktodaynoneA87Codex
cmux-workspacemanaflow-ai/cmuxSkill29ktodaynoneA43Codex
cmux-custom-sidebarmanaflow-ai/cmuxSkill29ktodaynoneA85Claude Code, Codex
cmux-testingmanaflow-ai/cmuxSkill29ktodaynoneA37Codex