Borrowing it
Nothing to install: this file belongs to getappz/agentflare. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/getappz/agentflare/master/.claude/skills/openapi-documentation/SKILL.mdgit clone --depth 1 https://github.com/getappz/agentflareWrote 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/getappz/agentflare/openapi-documentation)<a href="https://agentmods.dev/skills/getappz/agentflare/openapi-documentation"><img src="https://agentmods.dev/badge/skills/getappz/agentflare/openapi-documentation/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/getappz/agentflare/openapi-documentation"><img src="https://agentmods.dev/badge/skills/getappz/agentflare/openapi-documentation.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.00078 | $0.00772 |
| Opus 5.5 | $0.00031 | $0.00309 |
| Sonnet 5.5 | $0.00016 | $0.00154 |
| Haiku 4.5 | $0.00008 | $0.00077 |
Grade A, and why
openapi-documentation 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.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenAPI Documentation
Write OpenAPI 3.0 specs that are accurate enough to generate a working client from, not just descriptive prose that happens to be near the code.
When to use
- Creating or updating an OpenAPI/Swagger spec for a REST API.
- An endpoint's request/response shape, auth requirement, or error surface changed and the spec needs to catch up.
- Skip for non-HTTP internal APIs/functions, and skip for GraphQL (which has its own schema/introspection story, not OpenAPI's).
Key responsibilities
- Create OpenAPI 3.0-compliant specifications — validate against the spec, not just "looks right."
- Document every endpoint with both a summary and a fuller description — the summary is what shows up in a collapsed list view, so it has to stand alone.
- Define request/response schemas accurately, including every field's type and whether it's required.
- Include authentication and security schemes — an endpoint's auth requirement is part of its contract, not an implementation detail to omit.
- Provide a real example for every operation — a schema without an example makes the reader reconstruct a valid payload by hand.
Best practices
- Use descriptive summaries and descriptions — "Get user" tells a reader nothing an endpoint path didn't already say; "Get a user's profile, including their current subscription tier" does.
- Include example requests and responses, not just one or the other.
- Document every realistic error response (400/401/403/404/409/5xx), not just the 200 case — the error surface is as much a contract as success.
- Use
$reffor reusable components (schemas, responses, parameters) — duplicated inline schemas drift out of sync with each other. - Follow the OpenAPI 3.0 specification strictly, not "close enough" — strict compliance is what makes codegen and client tooling actually work.
- Group endpoints logically with tags so the generated docs UI is navigable, not one flat list.
Structure
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.
- 2mo ago First seen · 94 lines · 78 tokens per session scan A f146e9530d1f
openapi-documentation is a skill published in the GitHub repository getappz/agentflare (2 stars, last pushed today), licensed Apache-2.0. It adds 78 tokens to every session and 772 once invoked, about $0.0003 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
boundary-validation
This skill should be used when the user asks to "validate input", "parse request data", "add Zod schema", or creates API endpoints and system boundaries.
consistency
This skill should be used when reviewing code for naming or pattern inconsistencies.
documentation
This skill should be used when reviewing for documentation drift or stale comments.
java
This skill should be used when the user works with Java files (.java), asks about "records", "sealed classes", "streams", or discusses modern Java patterns.
patterns
This skill should be used when the user asks to "create an API endpoint", "add CRUD operations", "implement event handlers", "set up logging", or adds database operations, REST/GraphQL APIs, pub/sub.
typescript
This skill should be used when the user works with TypeScript files (.ts/.tsx), asks about "generics", "type guards", "utility types", "discriminated unions", or discusses type safety.