Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/erraggy/oastools/explore-apinpx skills add erraggy/oastools --skill explore-apigit clone --depth 1 https://github.com/erraggy/oastoolsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00016 | $0.01298 |
| Opus 5 | $0.00008 | $0.00649 |
| Sonnet 5 | $0.00003 | $0.00260 |
| Haiku 4.5 | $0.00002 | $0.00130 |
Grade A, and why
explore-api 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Explore an API
Step 1: Get the high-level overview
Call parse to understand the API at a glance:
{"spec": {"file": "<path>"}}
Report:
- API title and version
- OAS version (2.0, 3.0, 3.1)
- Number of paths, operations, and schemas
- Server URLs
- Tags (these organize operations into groups)
Handling Large APIs
If parse shows 100+ operations or 200+ schemas, adjust your strategy:
- ⚠️ Filter first, page second. Use
tag,method, orpathfilters on walk tools rather than paging through all results. - ✅ Use
component: truefor schemas. Without it,walk_schemasreturns ALL schemas including inline ones (request bodies, response wrappers, etc.), which can be 3-5x the number of named component schemas. Start withcomponent: trueto see the data model, then omit it only when hunting for inline schema issues. - ✅ Walk by tag. If the API has tags, use them.
walk_operationswithtagfilter is the fastest way to understand a specific area. - ❌ Avoid
detail: trueon unfiltered walks. Full operation objects can be very large. Get summaries first, then drill into specific operations.
Step 2: List endpoints
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:
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.
- 2d ago First seen · 186 lines · 16 tokens per session scan A 2cce57ca75c7
explore-api is a skill published in the GitHub repository erraggy/oastools (5 stars, last pushed 4d ago), licensed MIT. It adds 16 tokens to every session and 1,298 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
openapi-glossary
Use consistent OpenAPI terminology and definitions when writing documentation, educational material, and tooling guidance.
scalar-docs
Skill for writing and updating scalar.config.json — Scalar Docs configuration reference for users and LLMs.
scalar-design-system
Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library. Use when designing or implementing Scalar UI, especially with Paper (code-to-design / design-to-code), so output matches real Scalar tokens, colors, typography, spacing, and components instead of…
cloud-agents-starter
Minimal starter runbook for cloud agents to install dependencies, run packages, execute tests, and troubleshoot the Scalar monorepo quickly.
mock-server
Build, customize, and troubleshoot OpenAPI mock servers with @scalar/mock-server, including x-handler, x-seed, authentication, and Docker.
tests
Write clear, maintainable Vitest and Playwright tests with precise assertions, consistent structure, and strong behavioral coverage.