How this skill is triggered — by the user, by Claude, or both
Slash command
/oastools:explore-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Call `parse` to understand the API at a glance:
Call parse to understand the API at a glance:
{"spec": {"file": "<path>"}}
Report:
If parse shows 100+ operations or 200+ schemas, adjust your strategy:
tag, method, or path filters on walk tools rather than paging through all results.component: true for schemas. Without it, walk_schemas returns ALL schemas including inline ones (request bodies, response wrappers, etc.), which can be 3-5x the number of named component schemas. Start with component: true to see the data model, then omit it only when hunting for inline schema issues.walk_operations with tag filter is the fastest way to understand a specific area.detail: true on unfiltered walks. Full operation objects can be very large. Get summaries first, then drill into specific operations.Call walk_operations to list all API endpoints:
{"spec": {"file": "<path>"}}
Present them grouped by tag or by path prefix. For each operation show the method, path, and summary.
For a quick overview of a large API, use group_by first:
{"spec": {"file": "<path>"}, "group_by": "tag"}
This returns operation counts per tag — the fastest way to understand API scope.
{"spec": {"file": "<path>"}, "group_by": "method"}
This shows the HTTP method distribution (e.g., 60% GET, 25% POST, etc.).
⚠️ If the API is large (more endpoints than the default page of 100), prefer filtering over paging:
{"spec": {"file": "<path>"}, "tag": "Users"}
{"spec": {"file": "<path>"}, "path": "/users/*"}
For deeply nested APIs, use ** to match across path depths:
{"spec": {"file": "<path>"}, "path": "/drives/**/workbook/**"}
✅ When returned < matched, use offset to page through remaining results:
{"spec": {"file": "<path>"}, "offset": 100, "limit": 100}
Call walk_schemas to list the API's data models:
{"spec": {"file": "<path>"}}
✅ Summarize the schemas by name and type. Always start with component: true for large APIs — this shows only the named schemas from components/schemas (or definitions in OAS 2.0), filtering out inline schemas that clutter the results:
{"spec": {"file": "<path>"}, "component": true}
Get schema type distribution:
{"spec": {"file": "<path>"}, "group_by": "type", "component": true}
⚠️ Omit component only when you need to find inline schemas (e.g., hunting for unnamed request body schemas).
Based on what the user is interested in, drill deeper:
Specific endpoint details:
{"spec": {"file": "<path>"}, "operation_id": "getUser", "detail": true}
Parameters for a path:
{"spec": {"file": "<path>"}, "path": "/users/{id}", "detail": true}
(using walk_parameters)
Responses for an endpoint:
{"spec": {"file": "<path>"}, "path": "/users", "method": "get", "detail": true}
(using walk_responses)
Security schemes:
{"spec": {"file": "<path>"}}
(using walk_security)
Response headers:
{"spec": {"file": "<path>"}, "group_by": "name"}
(using walk_headers — shows which headers are most common across the API)
Headers for a specific endpoint:
{"spec": {"file": "<path>"}, "path": "/users", "method": "get"}
(using walk_headers)
Call walk_refs to understand which schemas and responses are most referenced:
{"spec": {"file": "<path>"}}
This returns unique $ref targets ranked by count (most-referenced first). Use this to identify the API's core data models.
Trace a specific schema's usage:
{"spec": {"file": "<path>"}, "target": "*schemas/User*", "detail": true}
This shows every location that references the schema — useful for understanding impact before modifying a schema.
Filter by ref type:
{"spec": {"file": "<path>"}, "node_type": "response"}
Narrow to schema, parameter, response, requestBody, header, or pathItem refs.
Provide a structured summary of the API:
npx claudepluginhub erraggy/oastools --plugin oastoolsGenerates OpenAPI 3.0+ specs from existing API code, enhances with schemas/examples/errors, creates interactive docs/SDKs, and validates compliance.
Generates or updates OpenAPI 3.0 specs by scanning codebases for API route definitions in Express, Python, Go, Java Spring, and Rails projects. Use to create or update API documentation from existing endpoints.
Structures OpenAPI 3.x specs with consistent naming, reusable schemas, error modeling, pagination, security schemes, and examples to produce a spec that works as a contract for code generation.