Litmus: mutation testing for evals
FreeNo executable scriptsNot checkedCheck whether an eval suite can fail. Use when someone asks if their plugin or skill evals are any good, wants a mutation score for a `claude plugin eval`…
by orensegal253 installs in other catalogsAbout this skill
litmus
litmus mutation-tests eval suites. It breaks the skill on purpose and checks
that the evals go red. It runs through the litmus command (on PATH inside
Claude Code when this plugin is enabled, or python3 -m litmus.cli).
Start with the free checks. They never call a model:
litmus vacuity <plugin-dir>: graders that provably cannot fail, and cases a do-nothing run would pass.litmus audit <plugin-dir>/evals/results/*/aggregate-result.json: cases that stayed green with the plugin removed, from runs the user already has.litmus mutate <plugin-dir> --dry-run: the mutants and the cost estimate.
Only run litmus mutate ... --yes when the user asked for a real run and
accepted the estimate. It runs claude plugin eval once per mutant on their
credential. Pass the same --allow-tools the suite needs, and a
--max-cost-usd ceiling.
When you report:
- Give the mutation score with killed, survived and inconclusive counts. INCONCLUSIVE is never a kill; say why each one was inconclusive.
- List every surviving mutant with its description: each is a part of the skill no eval checks. Some survivors are equivalent mutants (the line did not matter); say so when it is plausible, do not hide them.
- List VACUOUS graders and NULL_GREEN cases first; they are certain.
- Suggest the smallest grader change that would kill a survivor, for example a regex on the final message for the rule the mutant removed.
Exit codes: 0 pass, 1 the suite failed the bar (vacuous grader, null-green
case, or score below --min-score), 2 litmus could not evaluate. On 2, show
the litmus: error: line and fix the cause.
Install Litmus: mutation testing for evals in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the Litmus: mutation testing for evals skill do?
Check whether an eval suite can fail. Use when someone asks if their plugin or skill evals are any good, wants a mutation score for a `claude plugin eval` suite, suspects a grader always passes, or wants to know which parts of a skill their evals do not cover.
How do I install the Litmus: mutation testing for evals skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Litmus: mutation testing for evals skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic