autoframe: Skill for Claude Code

.claude/skills/api-coverage/SKILL.md

api-coverage is a skill for Claude Code from kint4/autoframe. It costs 37 tokens per session (347 once invoked), scanned A, original, MIT.

A map of which API endpoints and request methods are covered by API tests. An API is the interface that lets software systems communicate.

In plain words
What is it for?
Reading API test files or an API specification, matching tests to endpoints and methods, and listing coverage gaps in priority order.
Why use it?
It reveals endpoints that are untested or missing important success, authentication, invalid-input, or error cases.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is kint4/autoframe's own configuration. It tells Claude Code how to work on autoframe 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 autoframe configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kint4/autoframe. 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/kint4/autoframe/main/.claude/skills/api-coverage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kint4/autoframe

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kint4/autoframe/api-coverage"><img src="https://agentmods.dev/badge/skills/kint4/autoframe/api-coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 347 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.00037 $0.00347
Opus 5.5 $0.00015 $0.00139
Sonnet 5.5 $0.00007 $0.00069
Haiku 4.5 $0.00004 $0.00035

Measured 2mo ago against content hash 21110da5155a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

.claude/skills/api-coverage/SKILL.md · 44 lines

What it actually says

/api-coverage — Map API Test Coverage

Type: API Description: Maps API endpoints against existing API tests, showing which endpoints and methods are tested and which are missing.


Input Format

Optional:

  • A list of endpoints (pasted, OpenAPI/Swagger spec, or via connector)
  • A feature scope

With no input, map all existing API specs under tests/api/.

Output Format

A coverage table:

Endpoint Method Tested Cases covered (success / auth / invalid / error)

Plus a prioritized list of gaps with the suggested skill to close each.

Step-by-Step Instructions

  1. Enumerate every *.api.spec.ts under tests/api/.
  2. Parse each test to extract the endpoint, method, and which case types it covers (success / 401 / 400 / error).
  3. If an endpoint list or OpenAPI spec was provided, align tests to it; otherwise infer the endpoint set from existing tests.
  4. Mark each endpoint+method as fully tested, partially tested (missing case types), or untested.
  5. Render the coverage table.
  6. List gaps in priority order and recommend /new-api-spec to close each.

Rules

  • A method isn't "covered" unless success, auth failure, and invalid input are all tested.
  • Read specs, don't execute them.
  • Be explicit about assumptions when no endpoint list is provided.
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. 2mo ago First seen · 44 lines · 37 tokens per session scan A 21110da5155a

Subscribe to this mod's changes

api-coverage is a skill published in the GitHub repository kint4/autoframe (8 stars, last pushed 4mo ago), licensed MIT. It adds 37 tokens to every session and 347 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-31.