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 agentmods add skills/sumithr/sumo-qa/sumo-qa-measuring-coveragenpx skills add sumithr/sumo-qa --skill sumo-qa-measuring-coveragegit clone --depth 1 https://github.com/sumithr/sumo-qaWrote 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/sumithr/sumo-qa/sumo-qa-measuring-coverage)<a href="https://agentmods.dev/skills/sumithr/sumo-qa/sumo-qa-measuring-coverage"><img src="https://agentmods.dev/badge/skills/sumithr/sumo-qa/sumo-qa-measuring-coverage.svg" alt="Measured on agentmods" 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.00076 | $0.01496 |
| Opus 5 | $0.00038 | $0.00748 |
| Sonnet 5 | $0.00015 | $0.00299 |
| Haiku 4.5 | $0.00008 | $0.00150 |
Grade A, and why
sumo-qa-measuring-coverage 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 5d 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 — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Measuring coverage & mutation
Turn a repo's coverage/mutation run into evidence the QA report can cite. The report reads .sumo-qa/coverage.json and .sumo-qa/mutation.json; this skill produces them. The host (you) runs the tool and reads its output; the MCP tools only validate + persist.
Announce at start: "Measuring coverage/mutation and recording it for the report."
Output discipline (mandatory)
Inherits the global discipline from using-sumo-qa: never surface internal taxonomy labels; spend output on findings not framing; one question per turn; no preamble or closing pleasantries.
The Iron Law
MEASURED, REPORTED, NEVER GATED. Coverage and mutation are evidence the report shows — they never become a pass/fail gate and never flip a readiness verdict. A 100% coverage signal does not make a risk "covered" or a blocked verdict "ready". If you catch yourself treating a percentage as a safety threshold, stop.
When to Use
- "run coverage and put it in the report", "measure coverage", "what's my coverage" (when the report should carry it)
- "run mutation testing", "record the survivors", "get mutation into the scorecard"
- As a follow-on to a QA rollout, before
sumo_qa_generate_qa_report, when you want the Coverage/Mutation rows populated instead of "not available".
NOT for: live PostToolUse mutation-survivor routing (that is #127's router — a different concern; see sumo-qa-strengthening-tests). Reading a saved report ≠ running the router.
Checklist
- Detect (configured tooling only). Inspect for tooling the project already pins — coverage:
pyproject [tool.coverage]/--covin pytest addopts /.coveragerc,package.jsonjest--coverage/nyc/c8,go test -cover, a committedcoverage.xml(Cobertura) /coverage.json(coverage.py) /lcov.info; mutation:[tool.mutmut]/mutmut, Stryker (stryker.conf.*,mutation.json), PIT (mutations.xml). Neverpip install/npm ia tool. Nothing configured → stop, report "not available" (step 5). Configured but unrun → offer a scoped run; if declined, fall back. - Run the detected command, scoped. Run the project's own command, preferring a machine-readable report and scoping to changed code when a diff is in play (e.g.
pytest --cov=<pkg> --cov-report=json;mutmut run+ its results summary). A run that errors (missing dep, misconfig) → report it plainly and fall back; never mask it. - Collect (LLM reads any format). Read the output — JSON, XML, lcov, or console text — and extract: coverage →
line_percent+ a compactdetailnaming uncovered/weak changed files/functions (tie gaps to.sumo-qa/diff-impact.jsonwhen present — changed code, not global vanity totals); mutation →survivors+killed+ adetailon where notable survivors live. Setfreshness="fresh"(you just ran it),source_tool= what you ran,generated_at= an ISO-8601 timestamp. - Persist. Coverage →
sumo_qa_record_coverage(root, coverage={...}); mutation →sumo_qa_record_mutation(root, mutation={...}). Each validates and writes the artifact, or returns an error envelope (fix the payload, don't hand-write the file). Then tell the user to (re)runsumo_qa_generate_qa_reportto see the Coverage/Mutation rows populate. - Fallback (no tool / no run). Report concisely: "Coverage/mutation not available — no coverage tool is configured in this repo." Record nothing. A first-class outcome, never a workflow failure, never a reason to invent a number.
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.
- 5d ago First seen · 62 lines · 76 tokens per session scan A faab1bc3111d
sumo-qa-measuring-coverage is a skill published in the GitHub repository sumithr/sumo-qa (6 stars, last pushed today), licensed Apache-2.0. It adds 76 tokens to every session and 1,496 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
specflow-use
To connect Rosetta with Grid Dynamics SpecFlow MCP; only when SpecFlow is mentioned and the MCP is installed.
planning-and-task-breakdown
Breaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.
qa-knowledge
To run QA engineering — requirements/gap analysis, scenario & spec design, test implementation, failure triage — over the QA knowledge base.
ue-mcp-epic-routing
Use when deciding between ue-mcp's native category actions and Epic's wrapped ToolsetRegistry tools (the epic actions, incl. the Blueprint graph DSL) for a task in Unreal. Pulls in when authoring Blueprint graph bodies, or any time both a native action and an epic action could do the job and you need to pick.
frontmcp-setup
Use when starting, scaffolding, or organizing a FrontMCP project. Covers creating a new project (CLI scaffold or manual) for Node, Vercel, and other targets; standalone versus Nx-monorepo layout, naming conventions, generators, and dependency rules; composing multiple @App classes, ESM packages, and remote MCP servers…