check-coverage

check-coverage is a skill for Claude Code from TypedDevs/bashunit. It costs 13 tokens per session (335 once invoked), scanned A, original, MIT.

A tool for examining test coverage, meaning which parts of a program's code are exercised by tests. It focuses on shell projects with functions and command-line behavior.

In plain words
What is it for?
Use it to run available coverage checks, connect functions to their tests, identify critical gaps, and produce a report with suggested tests and file locations.
Why use it?
It reveals public functions, error paths, and conditional branches that tests do not cover.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to run available coverage checks, connect functions to their tests, identify critical gaps, and produce a report with suggested tests and file locations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/typeddevs/bashunit/check-coverage
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 TypedDevs/bashunit --skill check-coverage
Clone the repo
git clone --depth 1 https://github.com/TypedDevs/bashunit

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 check-coverage

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/typeddevs/bashunit/check-coverage"><img src="https://agentmods.dev/badge/skills/typeddevs/bashunit/check-coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 335 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00013 $0.00335
Opus 5.5 $0.00005 $0.00134
Sonnet 5.5 $0.00003 $0.00067
Haiku 4.5 $0.00001 $0.00034

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

Security

Grade A, and why

check-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.

.agnostic-ai/skills/check-coverage/SKILL.md · 15 lines

What it actually says

Check coverage

Repository paths are relative to the repository root. Measure the requested scope with ./bashunit --coverage <test-path>. For broad coverage, follow .github/workflows/coverage.yml: exclude tests/unit/coverage/ meta-tests and fixtures, then measure the selected unit tests with --coverage-paths src. Running coverage meta-tests under coverage double-instruments the engine and corrupts their assertions. Keep analysis separate from any later implementation gate.

  1. Map functions under src/ to direct tests and observed coverage. Search definitions with rg '^function ' src/ and usages of each relevant name under tests/. Public assertions may lack the bashunit:: prefix; inspect the public assertion and API surfaces and their loaded module entrypoints. A text match alone does not prove a test executes a function.
  2. Classify each relevant function as well tested, partially tested, or untested using success, edge, and failure-path evidence. State instrumentation limits, including shell-version differences, before treating an uncovered line as a missing test.
  3. Prioritize public APIs without tests, error paths, then complex conditionals. Aim for 90%+ public API coverage and tests for user-facing commands and error paths; trivial internal helpers are lower priority.
  4. Report measured totals and coverage by module, gaps with file and line evidence, and specific proposed test cases. Separate measured percentages from estimates. Do not change production code or tests unless the request includes implementation.
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. 5d ago Changed · -42 lines b2431ed22458
  2. 1mo ago First seen · 57 lines · 13 tokens per session scan A 07d7a56c4a92

Subscribe to this mod's changes

check-coverage is a skill published in the GitHub repository TypedDevs/bashunit (435 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 335 once invoked, about $0.0001 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

lovable

Lovable MCP tool usage — deploy projects, message agent, test with agent-browser. Minimize credits by delegating to local repo.

x-cmd/x-cmd · 30 tokens

agent-browser

Browser automation via Chrome/Chromium CDP — open, snapshot, click, screenshot. For testing web apps, mobile layouts, and automated interactions without Playwright/Puppeteer.

x-cmd/x-cmd · 39 tokens

verify-ui-change-in-cloud

Verifies user-facing Warp client changes by spawning a cloud agent with computer use to test Warp. Use only when the user explicitly requested computer-use verification or accepted an offer to run it, and ONLY in non-sandboxed environments and local environments. Triggers a cloud agent that runs the test-warp-ui skill.

warpdotdev/warp · 69 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens

tui-test

Control, inspect, test, and record real terminal apps with the tui-test CLI or its Rust, Python, and JavaScript APIs. Use for shells, TUI apps, text and style locators, keyboard or mouse input, terminal state, clipboard waits, screenshots, recordings, snapshots, and live terminal sessions.

microsoft/tui-test · 67 tokens

JUnit 5 Testing

Production-grade Java unit and integration testing with JUnit 5 covering assertions, parameterized tests, lifecycle hooks, Mockito mocking, nested tests, and extensions.

PramodDutta/qaskills · 36 tokens