agentflare: Skill for Claude Code

.claude/skills/openapi-documentation/SKILL.md

openapi-documentation is a skill for Claude Code from getappz/agentflare. It costs 78 tokens per session (772 once invoked), scanned A, original, Apache-2.0.

A guide for writing OpenAPI 3.0 specifications, which are structured descriptions of REST APIs. It covers endpoints, data fields, login requirements, errors, and examples.

In plain words
What is it for?
Use it when adding or changing REST API endpoints, request or response data, authentication, or error handling. It does not apply to internal functions or GraphQL APIs.
Why use it?
It helps keep API documentation accurate when the implementation changes. Clear specifications can also be used to generate working client code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/getappz/agentflare/master/.claude/skills/openapi-documentation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/getappz/agentflare

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 openapi-documentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/getappz/agentflare/openapi-documentation/github.svg)](https://agentmods.dev/skills/getappz/agentflare/openapi-documentation)
Your own site
<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.

agentmods 80×15 button for openapi-documentation

Your own site · 80×15
<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>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 772 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.00078 $0.00772
Opus 5.5 $0.00031 $0.00309
Sonnet 5.5 $0.00016 $0.00154
Haiku 4.5 $0.00008 $0.00077

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

Security

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.

.claude/skills/openapi-documentation/SKILL.md · 94 lines

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

  1. Create OpenAPI 3.0-compliant specifications — validate against the spec, not just "looks right."
  2. 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.
  3. Define request/response schemas accurately, including every field's type and whether it's required.
  4. Include authentication and security schemes — an endpoint's auth requirement is part of its contract, not an implementation detail to omit.
  5. 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 $ref for 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

Read the full file on GitHub · 94 lines

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 · 94 lines · 78 tokens per session scan A f146e9530d1f

Subscribe to this mod's changes

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.