check-tests

check-tests is a skill for Claude Code from nortonx/ai-tooling-free. It costs 21 tokens per session (1,217 once invoked), scanned A, original, MIT.

A tool that examines branch changes and reports how well they are covered by tests.

In plain words
What is it for?
Use it to check the test coverage of a branch or narrow the review to a particular existing file or module.
Why use it?
It shows where changed behavior lacks tests, helping developers decide what should be tested before merging.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Good fit Use it to check the test coverage of a branch or narrow the review to a particular existing file or module.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nortonx/ai-tooling-free/check-tests
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 nortonx/ai-tooling-free --skill check-tests
Clone the repo
git clone --depth 1 https://github.com/nortonx/ai-tooling-free

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-tests

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nortonx/ai-tooling-free/check-tests"><img src="https://agentmods.dev/badge/skills/nortonx/ai-tooling-free/check-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,217 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.00021 $0.01217
Opus 5 $0.00010 $0.00609
Sonnet 5 $0.00004 $0.00243
Haiku 4.5 $0.00002 $0.00122

Measured 9d ago against content hash 24fe3fb5d7b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

check-tests 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 9d 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.

skills/check-tests/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Arguments

[<file-or-module>]

  • Optional. Narrows the scope to a specific file or module; default is the branch diff vs the resolved base branch (origin/HEAD, else main, else master).
  • If the value doesn't resolve to an existing file or directory, the skill stops and asks rather than silently falling back to the whole branch diff.
  • Examples: /check-tests, /check-tests src/auth.ts

Copilot CLI note: $ARGUMENTS doesn't substitute in skills — include the argument inline in your prompt.

Check Branch Tests

Analyze test coverage for this branch's changes.

Scope

Diff between this branch and the base branch. Resolve the base branch in this order:

  1. If the user's prompt names a branch explicitly, use it.
  2. Else git symbolic-ref refs/remotes/origin/HEAD if it resolves.
  3. Else main if it exists locally, else master.
  4. If neither exists, stop and ask which branch to diff against.

If $ARGUMENTS is non-empty and resolves to an existing file or directory, narrow the scope to it. If $ARGUMENTS is a string that doesn't resolve to a real path, stop and ask — do not silently fall back to the whole branch diff.

Task

For each changed file in the diff:

  1. Identify functions/methods that were added or modified
  2. Check whether adequate tests exist for those changes
  3. Flag untested code paths, missing edge cases, and regression gaps
  4. Check if test format is consistent with other existing tests in the project
  5. AAA adherence: flag tests missing clear Arrange / Act / Assert separation or with multiple logical assertions crammed in
  6. FIRST compliance: flag tests that are slow, order-dependent, non-repeatable (unmocked time.now / random), or rely on print instead of assertions
  7. Flaky-test smells: sleep / setTimeout / timing waits, unmocked clock or randomness, shared mutable state between tests
  8. Mock placement: flag mocks of the SUT or its internal helpers — mocks belong at boundaries (network, filesystem, clock, randomness) only
  9. Behavior vs implementation: flag assertions on private methods / internal data structures; public-contract assertions only
  10. Near-duplicate tests: flag pairs that differ only by input — should be parameterised
  11. Name quality: flag vague names like test_1, works, happy; expect should_<expected>_when_<condition> or given_<state>_when_<action>_then_<outcome>

Read the full file on GitHub · 97 lines

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. 9d ago First seen · 97 lines · 21 tokens per session scan A 24fe3fb5d7b7

Subscribe to this mod's changes

check-tests is a skill published in the GitHub repository nortonx/ai-tooling-free (1 stars, last pushed 25d ago), licensed MIT. It adds 21 tokens to every session and 1,217 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.

Related

Other skills, from other repositories

intuitive-tests

Use this skill whenever the user asks about unit test best practices, test organization, flat test suites, redundant tests, test refactors, pytest/JUnit/Jest/xUnit layout, test taxonomy, flaky tests, coverage quality, fixtures, mocks, parametrization, pruning existing UTs, or "which tests are worth keeping." It…

MiaoDX/intuitive-flow · 154 tokens

unit-test

A Go testing workflow for writing unit tests: small tests that check individual functions or components. It supports table-driven cases, where many inputs and expected results are organised in one test, and subtests.

johnqtcg/awesome-skills · 100 tokens

api-integration-test

Create, maintain, and run gated Go integration tests for internal APIs and service-to-service clients (HTTP/gRPC). Use for endpoint verification, contract checks with real runtime config, opt-in execution, timeout/retry safety, and integration failure triage in Go services.

johnqtcg/awesome-skills · 58 tokens

load-test

Performance load testing specialist for writing k6/vegeta/wrk scripts, defining SLOs, modeling scenarios (spike/soak/stress/breakpoint), analyzing results, and identifying bottlenecks. ALWAYS use when writing load test scripts, reviewing test results, designing test scenarios, setting performance SLOs, or diagnosing…

johnqtcg/awesome-skills · 121 tokens

e2e-test

Design, maintain, and execute reliable end-to-end tests for critical user journeys with Agent Browser as first choice for exploration and Playwright as the preferred code path for suites and CI. Use for E2E strategy, journey coverage, flaky test triage, artifact collection, CI gating, regression prevention, and…

johnqtcg/awesome-skills · 70 tokens

fuzzing-test

A Go testing guide for generating fuzz tests, which repeatedly try varied inputs to find crashes and unexpected behavior. It first checks whether the code is suitable for fuzzing.

johnqtcg/awesome-skills · 74 tokens