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/kint4/autoframe/new-api-specnpx skills add kint4/autoframe --skill new-api-specgit clone --depth 1 https://github.com/kint4/autoframeWrote 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/kint4/autoframe/new-api-spec)<a href="https://agentmods.dev/skills/kint4/autoframe/new-api-spec"><img src="https://agentmods.dev/badge/skills/kint4/autoframe/new-api-spec.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 | $0.00041 | $0.00704 |
| Opus 5 | $0.00020 | $0.00352 |
| Sonnet 5 | $0.00008 | $0.00141 |
| Haiku 4.5 | $0.00004 | $0.00070 |
Grade A, and why
new-api-spec scanned grade A with 1 finding 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 3d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
2. **Probe the endpoint first** (one `curl` per case) to learn its real semantics before 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.
/new-api-spec — Generate an API Test File
Type: API Description: Generates a Playwright API test file for a given endpoint, covering success, error, auth failure, and invalid input with response schema validation.
Input Format
The user provides:
- An endpoint path (e.g.
/api/users) - The HTTP methods to cover (GET / POST / PUT / DELETE)
- Optionally, the expected response shape and auth requirement
Ask up to 3 clarifying questions if the schema or auth model is unclear.
Output Format
An API test file at tests/api/[feature-name]/[feature].api.spec.ts following the API conventions in CLAUDE.md:
- Imports
test, expectfrom@playwright/test - Uses the
requestfixture - Validates status code and response schema with
toMatchObject - Uses
process.env.API_TOKENfor auth — never hardcoded - Covers success, error, auth failure (401), and invalid input (400)
Step-by-Step Instructions
- Read the API test conventions in CLAUDE.md.
- Probe the endpoint first (one
curlper case) to learn its real semantics before writing assertions. Two common deviations from the template:- Some APIs always answer HTTP 200 and embed the real status in the body
(e.g.
{"responseCode": 405}). Assert on the body field, and note the quirk in a comment at the top of the spec. - Some APIs serve JSON with a
text/htmlcontent type — useJSON.parse(await response.text())instead ofresponse.json()if parsing fails.
- Some APIs always answer HTTP 200 and embed the real status in the body
(e.g.
- Match the API's actual auth model. Bearer tokens are the template default, but
not universal — if auth is credential-based (e.g. a
verifyLoginendpoint), the "auth failure" case is wrong/missing credentials, not a missing header. - Determine the feature folder (kebab-case) and file name with the
.api.spec.tssuffix. - For each method, generate tests covering:
- Success — valid request → expected status + schema (
toMatchObject). - Auth failure — no/invalid token → 401 (or the API's credential-failure equivalent).
- Invalid input — bad payload → 400.
- Error/edge — not found, conflict, unsupported method, etc., as relevant.
- Success — valid request → expected status + schema (
- Read auth tokens and URLs from environment variables only. Use
data/factories/for request payloads that need realistic data. - Group tests in a
test.describe('[Endpoint] API')block. - Save to
tests/api/[feature-name]/[feature].api.spec.ts. - Suggest
/api-coverageto see overall API coverage.
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.
- 3d ago First seen · 62 lines · 41 tokens per session scan A adc2639b899a
new-api-spec is a skill published in the GitHub repository kint4/autoframe (6 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 704 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
qawolf-cli
Manage QA Wolf through the qawolf CLI. Use when asked to create, update, or list coverage requests, bug reports, or maintenance reports; start a run of flows or tags on the QA Wolf platform or read a run's results; list, set, or delete environment variables; manage environments, flows, or tags; request automation of…
k6-load-testing
Comprehensive k6 load testing skill for API, browser, and scalability testing. Write realistic load scenarios, analyze results, and integrate with CI/CD.
playwright-cli
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Cypress E2E Testing
Cypress end-to-end testing with custom commands, intercepts, and component testing.
Playwright E2E Testing
Comprehensive Playwright end-to-end testing patterns with Page Object Model, fixtures, and best practices.
playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.