Agent skill

Openapi Format

by thim81 in thim81/openapi-format

Configure and run openapi-format CLI workflows for OpenAPI/AsyncAPI documents.

MITAuto-check passedBackend & APIs

Install Openapi Format

skills CLI
$ npx skills add thim81/openapi-format --skill openapi-format -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install thim81/openapi-format openapi-format --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/thim81/openapi-format.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/openapi-format .claude/skills/openapi-format && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openapi-format
GitHub stars
177
Token cost
~912 tokens
SKILL.md length
373 words
Files
5 (incl. references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Configure and run openapi-format CLI workflows for OpenAPI/AsyncAPI documents.

  • Works in 5 steps: Return the exact command(s) to run. → Return minimal config file contents if… → Explain expected transformation result… → …
  • You need to sort fields
  • SKILL.md covers Core workflow, Decision rules, Use references and Delivery checklist
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Openapi Format is an agent skill from thim81/openapi-format. Configure and run openapi-format CLI workflows for OpenAPI/AsyncAPI documents. Use when you need to sort fields, filter operations/tags/flags/content, change casing, generate operationIds, apply overlays, convert OpenAPI versions (3.0/3.1 to 3.1/3.2), rename titles, split specs, bundle refs, or manage .openapiformatrc/--configFile driven formatting pipelines with minimal config overrides.

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/command-recipes.md`, `references/config-patterns.md` and `references/feature-matrix.md`).

It sits in Backend & APIs, covering OpenAPI specifications. It works with OpenAPI. The repository describes itself as: Format an OpenAPI document by ordering, formatting and filtering fields. The licence is MIT.

When your agent uses it

  • You need to sort fields
  • Filter operations/tags/flags/content
  • Generate operationIds
  • Convert OpenAPI versions (3.0/3.1 to 3.1/3.2)

Example prompts

  • “/openapi-format”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Return the exact command(s) to run.
  2. Return minimal config file contents if config files are needed.
  3. Explain expected transformation result in plain terms.
  4. Call out side effects (component pruning, split output tree, version conversion changes).
  5. Highlight any assumptions (input path, output path, format, bundle behavior).

What it can do on your machine

Read from SKILL.md and the folder at commit 52211d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openapi Format loads about 912 tokens when it runs, and up to ~6.2k if it reads all its reference files. Until then it costs about 102 tokens; SKILL.md has 373 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~102
When it runs · the whole SKILL.md, loaded when a task matches
~912
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from thim81/openapi-format at commit 52211d8, republished under its MIT licence (© thim81). 373 words, ~912 tokens.

Download SKILL.mdSave it as .claude/skills/openapi-format/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
openapi-format
description
Configure and run openapi-format CLI workflows for OpenAPI/AsyncAPI documents. Use when you need to sort fields, filter operations/tags/flags/content, change casing, generate operationIds, apply overlays, convert OpenAPI versions (3.0/3.1 to 3.1/3.2), rename titles, split specs, bundle refs, or manage .openapiformatrc/--configFile driven formatting pipelines with minimal config overrides.

openapi-format

Follow this skill when a user asks to transform an OpenAPI document with the openapi-format CLI.

Core workflow

  1. Identify the target outcome first.
  • Determine exactly what should change: order, filtering, casing, generation, overlay, conversion, rename, output format, split.
  • Determine input source (local file, remote URL, or overlay extends fallback).
  1. Choose command shape.
  • Prefer a single command with explicit input/output unless the user asks for stdout.
  • Use --configFile for reusable workflows.
  • Use .openapiformatrc for project defaults.
  1. Keep config minimal.
  • Start from defaults.
  • Add only keys required for requested behavior.
  • Avoid writing exhaustive config unless requested.
  1. Apply correct precedence.
  • Load .openapiformatrc only when --configFile is not supplied.
  • Load and merge --configFile values.
  • Apply CLI options last.
  • Normalize --no-sort and --no-bundle into sort=false and bundle=false.
  1. Respect processing order.
  • generate -> filter -> overlay -> sort -> casing -> convertTo -> rename -> write/split/stdout
  1. Produce the output safely.
  • Use --output for file writes.
  • If --split is true, require --output and treat it as split target root.
  • Use --json or --yaml for stdout output formatting.

Decision rules

Filter semantics
  • Treat methods, tags, operationIds, operations, flags, flagValues, responseContent, and requestContent as removal filters.
  • Treat inverseMethods, inverseTags, inverseOperationIds, inverseFlags, inverseFlagValues, inverseResponseContent, and inverseRequestContent as keep filters.
  • Use unusedComponents to remove unreferenced components recursively (iterative cleanup).
  • Use stripFlags to delete marker fields after filtering.
Show full SKILL.md (157 more words)Show less
Overlay behavior
  • Accept --overlayFile with actions.
  • If input file is omitted and overlay has extends, use extends as effective input.
  • Resolve local extends relative to overlay file directory.
Sorting and components
  • Default sorting comes from defaultSort.json.
  • sortPathsBy controls path ordering (original, path, tags).
  • --sortComponentsFile controls which component groups are alphabetized.
  • --sortComponentsProps alphabetizes schema properties in components.schemas.*.properties.
Output constraints
  • --split requires --output.
  • --keepComments only affects YAML comment preservation.
  • --lineWidth controls YAML line wrapping (-1 means unlimited).

Use references

Open only what is needed:

  • references/feature-matrix.md for option behavior, defaults, and interactions.
  • references/config-patterns.md for minimal config templates.
  • references/command-recipes.md for runnable command patterns.
  • references/troubleshooting.md for failure diagnosis and fixes.

Delivery checklist

  1. Return the exact command(s) to run.
  2. Return minimal config file contents if config files are needed.
  3. Explain expected transformation result in plain terms.
  4. Call out side effects (component pruning, split output tree, version conversion changes).
  5. Highlight any assumptions (input path, output path, format, bundle behavior).

© thim81, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/openapi-format of thim81/openapi-format.

  • SKILL.md
  • references/command-recipes.md
  • references/config-patterns.md
  • references/feature-matrix.md
  • references/troubleshooting.md

Open the folder on GitHubat commit 52211d8

Compare with similar skills

Openapi Format next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openapi Format compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openapi Format this skillthim81/openapi-format177—~912Automated safety check: PassMIT
ToolJet Marketplace Plugin BuilderToolJet/ToolJet41k—~2.1kAutomated safety check: PassAGPL-3.0
Step Partsearthtojake/text-to-cad18k1 repos~1.5kAutomated safety check: PassMIT
API DesignerJeffallan/claude-skills12k2 repos~2kAutomated safety check: PassMIT
OpenAPI to MCP Servermcp-use/mcp-use11k—~5.2kAutomated safety check: PassApache-2.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Turns an API description, such as an OpenAPI file or a Postman collection, into a connector plugin for ToolJet's marketplace and checks it with the repo's validator.

    41k GitHub stars~2.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Step Parts

    earthtojake/text-to-cad

    Find, evaluate, and download common purchasable CAD parts from step.parts, including named off-the-shelf actuators, servos, motors, electronics boards, connectors, screws, bolts, nuts, washers…

    18k GitHub starsUsed in 1 repo~1.5k tokens
    Backend & APIsAuto-check passed
  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • OpenAPI to MCP Server

    mcp-use/mcp-use

    Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.

    11k GitHub stars~5.2k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Old Coder API Design

    AmazingAng/old-coder

    Reviews or designs an HTTP/JSON API's endpoints, auth, pagination, versioning and deprecations, guarding against inventing a bespoke interface or silently breaking consumers.

    749 GitHub starsUsed in 1 repo~3.4k tokens
    Backend & APIsAuto-check passed

Works with

Categories

Questions about Openapi Format

What does Openapi Format do?

Configure and run openapi-format CLI workflows for OpenAPI/AsyncAPI documents. Openapi Format is an agent skill from thim81/openapi-format. Configure and run openapi-format CLI workflows for OpenAPI/AsyncAPI documents.

When should I use Openapi Format?

Openapi Format fits situations like: you need to sort fields; filter operations/tags/flags/content; generate operationIds; convert OpenAPI versions (3.0/3.1 to 3.1/3.2).

How do I install Openapi Format in Claude Code?

Run `npx skills add thim81/openapi-format --skill openapi-format -a claude-code`. Or copy the skill folder (skills/openapi-format in thim81/openapi-format) into .claude/skills/openapi-format in your project. Claude Code loads it when a task matches its description.

How do I install Openapi Format in Codex?

Run `npx skills add thim81/openapi-format --skill openapi-format -a codex`. Or copy the skill folder (skills/openapi-format in thim81/openapi-format) into .agents/skills/openapi-format in your project. Codex loads it when a task matches its description.

Can I use Openapi Format in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add thim81/openapi-format --skill openapi-format -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openapi-format, .gemini/skills/openapi-format, .github/skills/openapi-format and .opencode/skills/openapi-format in your project.

What does Openapi Format need to run?

SKILL.md names no scripts, command-line tools or credentials: Openapi Format is instructions for the agent only.

Does Openapi Format access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openapi Format safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openapi Format use?

Openapi Format is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openapi Format use?

About 912 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.3k tokens, read only when the agent opens those files.

What are the alternatives to Openapi Format?

Skills that share tags, products or a category with Openapi Format: ToolJet Marketplace Plugin Builder (ToolJet/ToolJet, 41k stars), Step Parts (earthtojake/text-to-cad, 18k stars), API Designer (Jeffallan/claude-skills, 12k stars) and OpenAPI to MCP Server (mcp-use/mcp-use, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openapi Format?

thim81 (a GitHub user) maintains it in thim81/openapi-format, which has 177 GitHub stars. The repository was last updated on September 4, 2026.

Source: thim81/openapi-format on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.