A-Eyes: Skill for Claude Code

.claude/skills/coverage/SKILL.md

coverage is a skill for Claude Code from florian-priegnitz/A-Eyes. It costs 23 tokens per session (320 once invoked), scanned A, original, MIT.

A test-coverage workflow for Vitest, a JavaScript and TypeScript test runner. It produces a report showing how much of each file's code is exercised by tests and checks an 80% per-file requirement.

In plain words
What is it for?
Use it to run coverage, find files below 80%, review uncovered line ranges, suggest missing test cases, and optionally create an HTML report.
Why use it?
It identifies files with insufficient tests and highlights uncovered areas that may block a release.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

This is florian-priegnitz/A-Eyes's own configuration. It tells Claude Code how to work on A-Eyes itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything A-Eyes configures →

Reuse

Borrowing it

Nothing to install: this file belongs to florian-priegnitz/A-Eyes. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/florian-priegnitz/A-Eyes/main/.claude/skills/coverage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/florian-priegnitz/A-Eyes

Made for: Claude Code.

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 coverage

README.md
[![agentmods](https://agentmods.dev/badge/skills/florian-priegnitz/a-eyes/coverage/github.svg)](https://agentmods.dev/skills/florian-priegnitz/a-eyes/coverage)
Your own site
<a href="https://agentmods.dev/skills/florian-priegnitz/a-eyes/coverage"><img src="https://agentmods.dev/badge/skills/florian-priegnitz/a-eyes/coverage/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 coverage

Your own site · 80×15
<a href="https://agentmods.dev/skills/florian-priegnitz/a-eyes/coverage"><img src="https://agentmods.dev/badge/skills/florian-priegnitz/a-eyes/coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 320 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.00023 $0.00320
Opus 5 $0.00012 $0.00160
Sonnet 5 $0.00005 $0.00064
Haiku 4.5 $0.00002 $0.00032

Measured 8d ago against content hash 0aeb349db88d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 8d 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.

.claude/skills/coverage/SKILL.md · 42 lines

What it actually says

Coverage Report

Run the test suite with coverage and report results against the 80% threshold.

Steps

  1. Run vitest with V8 coverage:

    npx pnpm exec vitest run --coverage --coverage.provider=v8 2>&1
    
  2. Parse the output and report:

    • Overall coverage percentage
    • Files below 80% highlighted as ⚠️
    • Files at 80-90% as ✓
    • Files above 90% as ✅
  3. If $ARGUMENTS contains --open, also run:

    npx pnpm exec vitest run --coverage --coverage.reporter=html 2>&1
    

    And report the path to the HTML report.

  4. Summary line:

    Coverage: XX% overall | N files below threshold | N files above 90%
    
  5. If any file is below 80%, list them with their current coverage and suggest which test cases are likely missing (based on uncovered line ranges if available).

Threshold

The project requires minimum 80% line coverage per file (non-functional requirement in ROADMAP.md). Flag any file below this as a blocker for release.

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. 8d ago First seen · 42 lines · 23 tokens per session scan A 0aeb349db88d

Subscribe to this mod's changes

coverage is a skill published in the GitHub repository florian-priegnitz/A-Eyes (0 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 320 once invoked, about $0.0001 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.