lfe-mutation-verify

lfe-mutation-verify is a skill for Claude Code, Codex from StChiotis/Library-First-Engineering. It costs 66 tokens per session (1,212 once invoked), scanned A, original, MIT.

A reasoning-based check of whether existing tests would detect deliberately changed production behavior. Mutation testing means making hypothetical code changes to see whether tests fail as they should.

In plain words
What is it for?
Use it for critical, security-sensitive, or mission-critical code when you want to review test quality without running a mutation-testing tool.
Why use it?
It finds tests that pass by coincidence and important logic paths that lack tests able to distinguish correct from incorrect behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it for critical, security-sensitive, or mission-critical code when you want to review test quality without running a mutation-testing tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stchiotis/library-first-engineering/lfe-mutation-verify
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 StChiotis/Library-First-Engineering --skill lfe-mutation-verify
Clone the repo
git clone --depth 1 https://github.com/StChiotis/Library-First-Engineering

Made for: Claude Code, Codex.

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 lfe-mutation-verify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/stchiotis/library-first-engineering/lfe-mutation-verify"><img src="https://agentmods.dev/badge/skills/stchiotis/library-first-engineering/lfe-mutation-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,212 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.00066 $0.01212
Opus 5.5 $0.00026 $0.00485
Sonnet 5.5 $0.00013 $0.00242
Haiku 4.5 $0.00007 $0.00121

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

Security

Grade A, and why

lfe-mutation-verify 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 1mo 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.

.agents/skills/lfe-mutation-verify/SKILL.md · 101 lines

How it starts

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

LFE Mutation Verify — Prompt-Based Test Quality Reasoning

Position in Pipeline

  • Phase: 3 (Inspector sub-skill)
  • Persona: Inspector (read-only; no src/ writes)
  • Trigger: Invoked by /lfe-inspector Sub-Skill Dispatch when lfe-mutation-verify: true in .docs/quality/inspector-config.md
  • Output: .plans/checks/mutation_findings.md — aggregated by Inspector into critique.md

Mission

Reason about test quality by asking: "If we made this change to the production code, would the existing tests catch it?" This is the logical equivalent of a mutation testing tool, done entirely through LLM reasoning over the diff. It surfaces tests that pass for the wrong reason (coincidental correctness) and logic paths that have no discriminating test.

This skill is expensive in reasoning tokens. Enable selectively — critical business logic, security-sensitive paths, and mission-critical calculations.

Hard Rules

  1. Dispatch Context Required (refuse direct invocation): This skill is dispatched by /lfe-inspector Step 6 — it is not a Brain-typeable skill (per LLM_AGENT_GUIDE.md §8.8 Skill Invocation Authority). If invoked without .plans/builder_done.md AND .plans/tdd_report.md for the current slice, halt immediately and reply: "/lfe-mutation-verify is an Inspector sub-skill dispatched by /lfe-inspector. It cannot be run standalone. Run /lfe-inspector — the dispatcher will invoke this sub-skill if it is enabled in .docs/quality/inspector-config.md (or via an ## Inspector Overrides section in active_plan.md)." Direct invocation produces orphaned findings files and breaks the Inspector's aggregation logic.
  2. Prompt-Only: No test runner, no mutation framework, no code execution.
  3. Diff-Scoped: Reason only over implementation + test files in builder_done.md.
  4. Candidate Mutations: For each production function changed, propose 3–5 plausible mutations; reason whether any test would catch them.
  5. Severity: Escaped (no test catches the mutation) / Covered (mutation is caught by ≥1 test) / Partial (mutation is caught only by an integration test, not a unit test).

Read the full file on GitHub · 101 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. 1mo ago First seen · 101 lines · 66 tokens per session scan A e00144b637c7

Subscribe to this mod's changes

lfe-mutation-verify is a skill published in the GitHub repository StChiotis/Library-First-Engineering (46 stars, last pushed 3mo ago), licensed MIT. It adds 66 tokens to every session and 1,212 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

ai-prompt-regression-testing

Use when comparing prompt changes against a fixed evaluation set: record actual model settings, required checks, missing results, judge limitations and case-level regression evidence.

sickn33/agentic-awesome-skills · 37 tokens

promptfoo-redteam-setup

Create or refine a Promptfoo redteam config and generate probes from target behavior, code, or OpenAPI evidence. Use for purpose, trust boundaries, plugins, strategies, and grading guidance. Use promptfoo-provider-setup for connection work and promptfoo-redteam-run for an existing scan.

promptfoo/promptfoo · 65 tokens

promptfoo-provider-setup

Connect Promptfoo to a model, live HTTP API, local Python/JavaScript provider, or app code. Use for request/auth mapping, response parsing, OpenAPI setup, and connection smoke tests. Use promptfoo-evals for broader eval coverage and promptfoo-redteam-setup for attack selection.

promptfoo/promptfoo · 66 tokens

promptfoo-redteam-run

Execute, inspect, and rerun an existing Promptfoo redteam scan. Use for generated YAML, result exports, attack success rates, grader/target errors, filtered reruns, and CI gates. Use promptfoo-provider-setup for connections and promptfoo-redteam-setup for new scan plans.

promptfoo/promptfoo · 66 tokens

credit-note-fixer

Fix the tiny credit-note formatting bug and rerun the exact targeted test command.

openai/openai-agents-python · 21 tokens

discount-review

Inspect the discount policy fixture with a repeatable review checklist and helper script.

promptfoo/promptfoo · 18 tokens