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 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/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.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00044 | $0.00244 |
| Sonnet 5.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 1mo 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.
- 1mo 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 3mo ago), licensed MIT. It adds 110 tokens to every session and 609 once invoked, about $0.0004 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.
Other skills, from other repositories
bruno
Create version-controlled Bruno API collections, write Bru request files, and run API checks through the Bruno CLI in CI.
Playwright API Testing
API testing with Playwright APIRequestContext for REST and GraphQL endpoints.
API Test Suite Generator
Automatically generate comprehensive API test suites from OpenAPI specifications covering CRUD operations, error handling, authentication, pagination, and edge cases.
Contract Testing with Pact
Consumer-driven contract testing skill using Pact, covering consumer tests, provider verification, Pact Broker integration, and CI/CD workflows.
postman-test-script-generator
Write Postman test scripts (JavaScript) for pre-request logic and post-response assertions, and embed them directly into a Postman collection. Use this skill whenever the user wants to add tests to Postman requests, asks about "pm.test", "pm.expect", "Postman assertions", "test scripts", "chaining requests", "dynamic…
api-testing-rest
Comprehensive RESTful API testing patterns covering HTTP methods, status codes, request/response validation, authentication, error handling, and contract testing.