Download Openapi
Downloads OpenAPI specifications as JSON files, streamlining API integration and documentation for developers.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add download-openapi npx -- -y @trustedskills/download-openapi
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"download-openapi": {
"command": "npx",
"args": [
"-y",
"@trustedskills/download-openapi"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to download OpenAPI specifications (often in YAML or JSON format) from a given URL. It retrieves the file directly, making it useful for integrating with APIs and understanding their structure. The downloaded specification can then be parsed and used by other skills or tools within the agent's workflow.
When to use it
- API Integration: Download an OpenAPI spec to understand the endpoints, parameters, and data structures of a third-party API before interacting with it.
- Documentation Generation: Retrieve an OpenAPI definition to automatically generate API documentation for internal or external consumption.
- Code Generation: Use the downloaded specification as input to code generation tools that create client libraries or server stubs based on the API's design.
- API Discovery: Quickly obtain a formal description of an API when only its URL is known.
Key capabilities
- Downloads OpenAPI specifications from URLs.
- Supports YAML and JSON formats.
- Retrieves files directly without requiring authentication (unless the URL requires it).
Example prompts
- "Download the OpenAPI specification from
https://example.com/openapi.yaml." - "Get the API definition at
https://api.mycompany.com/swagger.jsonand save it as 'my_api.json'." - βCan you download the open api spec from this url:
https://petstore3.swagger.io/api/openapi/v3.0/swagger.yamlβ
Tips & gotchas
- The URL provided must be directly accessible and point to a valid OpenAPI specification file (YAML or JSON). If the URL requires authentication, this skill will likely fail.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.