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.
npx skills add pnakhat/qa-ai-repo --skill jest-coverage-mutationgit clone --depth 1 https://github.com/pnakhat/qa-ai-repoWrote 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.
[](https://agentmods.dev/skills/pnakhat/qa-ai-repo/jest-coverage-mutation)<a href="https://agentmods.dev/skills/pnakhat/qa-ai-repo/jest-coverage-mutation"><img src="https://agentmods.dev/badge/skills/pnakhat/qa-ai-repo/jest-coverage-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.
<a href="https://agentmods.dev/skills/pnakhat/qa-ai-repo/jest-coverage-mutation"><img src="https://agentmods.dev/badge/skills/pnakhat/qa-ai-repo/jest-coverage-mutation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00130 | $0.02794 |
| Opus 5.5 | $0.00052 | $0.01118 |
| Sonnet 5.5 | $0.00026 | $0.00559 |
| Haiku 4.5 | $0.00013 | $0.00279 |
Grade A, and why
jest-coverage-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 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.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Jest Coverage & Mutation Testing
Coverage tells you what code ran during tests. Mutation testing tells you
whether your tests would catch a bug in that code. You need both: coverage to
find untested code, mutation to find weakly tested code (executed but not
asserted). See reference.md for config, a worked survivor example, and commands.
Evidence-driven execution
Read verification.md before selecting the workflow or reporting results. It defines domain-specific failure probes, evidence requirements, and limits on what a passing run proves.
Coverage vs mutation — what each proves
| Question | Coverage answers | Mutation answers |
|---|---|---|
| Did this line execute in a test? | ✅ yes/no | — |
| Did a test assert on its behavior? | ❌ can't tell | ✅ yes/no |
| Would a real bug here be caught? | ❌ can't tell | ✅ yes/no |
Is the boundary (> vs >=) pinned down? |
❌ can't tell | ✅ yes/no |
| Cost to run | cheap (one pass) | expensive (N re-runs) |
Coverage is the floor (find code no test touches). Mutation score is the quality bar (find code no test verifies). Report the mutation score, never coverage % alone.
The core idea
- Line/branch coverage can be 100% with zero real assertions — a test that calls a function but checks nothing still "covers" it.
- Mutation testing deliberately introduces small faults ("mutants") into the
source (e.g.
>→>=,+→-,true→false, remove a statement) and re-runs the tests. If a test fails, the mutant is killed (good). If tests still pass, the mutant survived — a real bug would have slipped through. - Mutation score = detected / valid = (Killed + Timeout) / (Killed + Timeout
- Survived + NoCoverage). Invalid mutants (CompileError, RuntimeError) and Ignored ones are excluded. Stryker also reports a covered score that drops NoCoverage from the denominator — quote the full score; the covered score flatters suites with untested files. This is your real test-effectiveness metric.
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.
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.
- 1mo ago Changed · +4 lines 8357415470b8
- 1mo ago Changed · +55 lines 25ee5778b3a3
- 1mo ago Changed · +1 lines 445ca777902c
- 3mo ago First seen · 120 lines · 130 tokens per session scan A aa6beb18955d
jest-coverage-mutation is a skill published in the GitHub repository pnakhat/qa-ai-repo (2 stars, last pushed 1mo ago), licensed MIT. It adds 130 tokens to every session and 2,794 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-08-31.
jest-coverage-mutation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| jest-coverage-mutationpnakhat/qa-ai-repo | Skill | 2 | 1mo ago | MIT | A | 130 | Claude Code |
| test-masterJeffallan/claude-skills | Skill | 13k | today | MIT | A | 104 | Claude Code |
| migrate-xunit-to-xunit-v3dotnet/skills | Skill | 6.4k | today | MIT | A | 149 | Claude Code |
| go-testingGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 26 | Claude Code, Codex |
| dart-testdartsim/dart | Skill | 1.2k | yesterday | BSD-2-Clause | A | 18 | Claude Code, Codex |
| test-generatorrshankras/claude-code-apple-skills | Skill | 918 | 22d ago | MIT | A | 33 | Claude Code |
| restore-internals-seams-in-finally-blocks-after-each-testZaxbyHub/opencode-swarm | Skill | 549 | today | MIT | A | 26 | OpenCode |