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/oumaimah-qa/qios/api-spec-generatornpx skills add oumaimah-QA/QIOS --skill api-spec-generatorgit clone --depth 1 https://github.com/oumaimah-QA/QIOSWrote 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/oumaimah-qa/qios/api-spec-generator)<a href="https://agentmods.dev/skills/oumaimah-qa/qios/api-spec-generator"><img src="https://agentmods.dev/badge/skills/oumaimah-qa/qios/api-spec-generator.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.1 | $0.00110 | $0.00609 |
| Opus 5 | $0.00055 | $0.00304 |
| Sonnet 5 | $0.00022 | $0.00122 |
| Haiku 4.5 | $0.00011 | $0.00061 |
Grade A, and why
api-spec-generator 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.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Spec Generator
Purpose
Turn any API description into a structured, importable collection for Postman or Bruno — with environment variables, auth, and test assertions pre-configured and ready to use.
Input Accepted
- Swagger / OpenAPI spec (JSON or YAML)
- List of endpoints with methods and body descriptions
- Single endpoint with headers, body, and auth
- Existing collection to extend or update
Output Options
Ask the user which format:
- Postman → Collection v2.1 JSON (import via File → Import in Postman)
- Bruno →
.brufiles +bruno.jsonmanifest - Both → generate both formats
Generation Process
Step 1 — Parse all endpoints: method, path, params, body schema, auth type.
Step 2 — Define environment variables:
{{base_url}} Base API URL
{{token}} Bearer auth token
{{admin_token}} Admin-level token (if needed)
{{user_id}} Dynamic user reference
Step 3 — For each endpoint generate:
- 1 happy path request (valid data, full headers)
- 1 negative case (missing required field or no auth)
- Pre-request script for Bearer auth
- Test assertions script
Step 4 — Assertions template (per request):
pm.test("Status code correct", () => pm.response.to.have.status(expectedCode));
pm.test("Response time < 2000ms", () => pm.expect(pm.response.responseTime).to.be.below(2000));
pm.test("Content-Type is JSON", () =>
pm.expect(pm.response.headers.get("Content-Type")).to.include("application/json")
);
pm.test("Response body has expected field", () => {
const body = pm.response.json();
pm.expect(body).to.have.property("expected_field");
});
References
references/api-standards.md— Naming, organization, and assertion conventionsexamples/input-swagger.json— Example Swagger inputexamples/output-postman.json— Example Postman v2.1 outputexamples/output-bruno/— Example Bruno collection outputscripts/generate-collection.sh— CLI scaffold script
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago First seen · 80 lines · 110 tokens per session scan A 4e761f405f65
api-spec-generator is a skill published in the GitHub repository oumaimah-QA/QIOS (3 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 609 once invoked, about $0.0006 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.
Other skills, from other repositories
BDD/Cucumber Patterns
Behavior-Driven Development skill using Cucumber, covering feature files, step definitions, Gherkin best practices, data tables, scenario outlines, and hooks.
JMeter Load Testing
Load and performance testing skill using Apache JMeter, covering test plans, thread groups, assertions, listeners, timers, and distributed testing.
bruno
Comprehensive operational skill specification for Anthropic Claude to automate, script, troubleshoot, and optimize Bruno API Client, Bru markup language (.bru), CLI runner (@usebruno/cli), and CI/CD test pipelines.
BDD Gherkin Testing Patterns
Behavior-Driven Development with Gherkin syntax, step definitions, scenario outlines, data tables, and living documentation generation.
Playwright API Testing
API testing with Playwright APIRequestContext for REST and GraphQL endpoints.
Cypress E2E Testing
Cypress end-to-end testing with custom commands, intercepts, and component testing.