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 bestdeejay-design/agent-skills --skill coverage-analyzergit clone --depth 1 https://github.com/bestdeejay-design/agent-skillsWrote 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/bestdeejay-design/agent-skills/coverage-analyzer)<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/coverage-analyzer"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/coverage-analyzer/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/bestdeejay-design/agent-skills/coverage-analyzer"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/coverage-analyzer.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.00078 | $0.01831 |
| Opus 5.5 | $0.00031 | $0.00732 |
| Sonnet 5.5 | $0.00016 | $0.00366 |
| Haiku 4.5 | $0.00008 | $0.00183 |
Grade A, and why
coverage-analyzer 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 2mo 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 — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Coverage Analyzer — coverage.py XML → readable analysis
Load this skill when you need to turn a coverage.xml report into a
human-readable coverage analysis: overall line/branch percent, files with
zero coverage, the 10 worst-covered files, a delta vs a previously stored
baseline, and a PASS/FAIL verdict against a threshold for CI.
The analyzer is pure Python 3 stdlib (xml.etree.ElementTree, json,
argparse) — no dependencies, no network. It reads the exact XML format that
coverage.py emits via coverage xml
(Cobertura-style DTD), so it works with any tool that produces that format
(pytest-cov --cov-report=xml, coverage run -m pytest && coverage xml).
The analyzer script
scripts/coverage_analyzer.py — pure Python 3 stdlib (no dependencies).
| Mode | Command |
|---|---|
| Basic analysis | python3 coverage_analyzer.py --xml coverage.xml |
| Delta vs stored baseline | python3 coverage_analyzer.py --xml coverage.xml --baseline baseline.json |
| Threshold gate (CI) | python3 coverage_analyzer.py --xml coverage.xml --threshold 80 |
| Store current totals as baseline | python3 coverage_analyzer.py --xml coverage.xml --save-baseline baseline.json |
Output sections
- Total —
line-rate(andbranch-ratewhen branches were actually measured; abranch-rate="0"withbranches-valid="0"is treated as "not measured", not as 0%), file count,files_with_zero_lines(files with line-rate == 0) with their names - Worst 10 files — lowest line-rate first, ascending
- Delta vs baseline — per-file
before → after → Δtable plus atotalrow; files absent from the baseline are markednew - Verdict —
PASS/FAILwhen--thresholdis given
Exit codes
| Code | Meaning |
|---|---|
0 |
analysis succeeded (threshold PASS, or no threshold) |
1 |
parse/read error, or threshold FAIL |
2 |
internal error |
Usage example (typical)
# 1. Produce the XML (coverage.py installed):
coverage run -m pytest && coverage xml
# 2. Analyze:
python3 coverage_analyzer.py --xml coverage.xml
# 3. Store a baseline on the first run:
python3 coverage_analyzer.py --xml coverage.xml --save-baseline baseline.json
# 4. On later runs, diff against the baseline and gate CI:
python3 coverage_analyzer.py --xml coverage.xml --baseline baseline.json --threshold 80
What ships with it
3 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.
- 2mo ago Changed · +5 lines 3b6abceb33a5
- 3mo ago First seen · 162 lines · 78 tokens per session scan A 4bf92e9f92e2
coverage-analyzer is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 78 tokens to every session and 1,831 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-31.
coverage-analyzer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coverage-analyzerbestdeejay-design/agent-skills | Skill | 5 | 2mo ago | MIT | A | 78 | Claude Code |
| browser-usebrowser-use/browser-use | Skill | 123k | today | MIT | A | 54 | Claude Code, Codex |
| composioComposioHQ/composio | Skill | 31k | today | MIT | A | 95 | Claude Code, Codex |
| refitYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 61 | Claude Code |
| ketchup-videoYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 40 | Claude Code |
| minimal-code-disciplineYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 41 | Claude Code |
| python-releaseComposioHQ/composio | Skill | 31k | today | MIT | A | 53 | Claude Code, Codex |