download-openapi
Skill1 starsChanged 47 days agoMITView on GitHub
Download remote OpenAPI/Swagger JSON specification from a URL to local file using aptx-ft CLI. TRIGGER when user mentions: (1) fetch/pull/download swagger or openapi from URL, (2) save API spec to openapi.json locally, (3) get API documentation from server, or (4) prepare local input for code generation. DO NOT TRIGGER when: generating code/types from local file, reading existing openapi.json, downloading non-OpenAPI files, or authentication is required.
- Installs packages
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adapt-materal-enumsSkill
- generate-artifactsSkill
- generate-barrelsSkill
- generate-modelsSkill
- generate-pythonSkill
- write-pluginSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 48
Does NOT support YAML format
- Distinctive: line 49
Does NOT handle authenticated URLs (Bearer Token, etc.)
- Distinctive: line 50
Does NOT support custom request headers
- Distinctive: line 51
Only validates JSON syntax, not OpenAPI specification validity
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Download OpenAPI JSON
Download OpenAPI 3.x JSON specification from a remote URL.
Prerequisites
pnpm add -D @aptx-js/frontend-tk-cliUsage
pnpm exec aptx-ft input download --url <url> --output <file>Alternative (without pnpm):
npx aptx-ft input download --url <url> --output <file>Example
pnpm exec aptx-ft input download --url https://api.example.com/swagger.json --output ./openapi.jsonWorkflow
- Confirm the OpenAPI URL with user
- Choose output path (recommended:
./openapi.json) - Execute download command
- Pass the file path to other skills (generate-models, generate-artifacts)
Output
- Local OpenAPI JSON file (e.g.,
./openapi.json)
Boundaries
This skill only handles OpenAPI JSON format downloads:
- Does NOT support YAML format
- Does NOT handle authenticated URLs (Bearer Token, etc.)
- Does NOT support custom request headers
- Only validates JSON syntax, not OpenAPI specification validity
For these cases, download manually and use other tools.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

