api-spec-consumer
From an OpenAPI spec (URL or local path), produce an API summary (endpoints, methods, auth) and optionally example calls (curl or code snippets).
Skill by azerothl
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/azerothl-api-spec-consumer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/api-spec-consumer
What's inside
- Skill name
api-spec-consumer- Description
- From an OpenAPI spec (URL or local path), produce an API summary (endpoints, methods, auth) and optionally example calls (curl or code snippets). Use when the user shares a spec link or file and wants a quick overview or examples.
- License
- MIT
- Compatibility
- No required external tools. Optional jq or yq (via run_command) improves JSON/YAML parsing; otherwise parse in context from read_file or web_fetch content.
- Metadata
- version: 1.0
- Instructions
- 60 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- skill.json
SKILL.md (first lines)
# API Spec Consumer
Read an OpenAPI (Swagger) specification from a URL or local file and produce a structured summary: endpoints, methods, parameters, and security schemes. Optionally generate example requests (curl or code snippets) for one or two representative endpoints.
## When to Use
- User provides a link or path to an OpenAPI/Swagger spec and wants a summary
- User asks for "API overview" or "list of endpoints" from a spec
- User wants example curl or code for calling the API
## Workflow
1. **Input** : Get the spec via web_fetch (if URL) or read_file (if path). Support JSON and YAML; if binary or unclear, try both.
2. **Parse** : Extract paths, path items, operations (get, post, put, delete, etc.), parameters, requestBody, responses, and security (securitySchemes, operation-level security). Use run_command with jq/yq if available for large specs; otherwise parse in context.
3. **Summarize** : Build a list of endpoints (path + method + short description). Summarize auth (e.g. Bearer, API Key, OAuth2) from components.securitySchemes and top-level security.
4. **Examples** (optional) : For 1–2 representative endpoints (e.g. GET and POST), generate a sample curl command or a short code snippet (e.g. fetch in JS, requests in Python). Include required headers or auth placeholder.
5. **Deliver** : Reply with the summary and optional examples. If the user asked to save, write_file to an allowed path (e.g. API_SUMMARY.md).
## Tools to Use
- **web_fetch** : Fetch the spec from a URL (must be in allowed_web_domains if restricted).
- **read_file** : Read the spec from a local path (allowed_read_paths).
- **run_command** : Optional — jq or yq to query paths, .paths, .components; e.g. jq '.paths | keys' spec.json.
- **write_file** : Optional — write the summary or examples to a file.
## Execution (How to run in Akasha)
- **Fetch** : web_fetch <url> or read_file <path>. If the content is YAML, you may run_command with yq to convert to JSON or parse in context.
- **Extract** : From the spec object, read .paths (each key is a path; each value has get, post, etc.). For each operation, collect summary, parameters, requestBody. Read .components.securitySchemes and .security for auth.
- **Summary** : Format as markdown: ## Endpoints (table or list with Method, Path, Summary); ## Authentication (type and location).
- **Example** : For a chosen endpoint, build curl -X METHOD URL -H "Header: value" or a 3–5 line code snippet. Use a placeholder for base URL and auth (e.g. YOUR_TOKEN).
- **Save** : write_file only if the user requested a file; use an allowed path.
## Behavior Guidelines
- Do not invent endpoints or parameters; only report what is in the spec. If the spec is invalid or incomplete, say so.
- For examples, use placeholders for secrets (API key, token) and document required headers.
- If the spec is very large, summarize the main paths and mention "… and N more endpoints"; optionally list all path keys.
## REST / GraphQL debug
When the user debugs a live API (not just reading the spec):
1. **Reproduce** — Minimal curl from spec examples; use **run_command** if allowed
2. **Headers** — Verify auth, Content-Type, Accept
3. **GraphQL** — POST with `{ "query": "...", "variables": {} }`; parse `errors[]`
4. **Status codes** — Map 401/403/404/422/429 to checklist (auth, path, validation, rate limit)
5. **http_probe** — Use native tool when available for controlled probe requests
Do not log real secrets; use `[REDACTED]` in examples.
## Installation
To install this skill, send the following to your Akasha agent:
```
Install the api-spec-consumer skill from https://github.com/azerothl/Akasha_skills/tree/main/skills/api-spec-consumer
```From azerothl/Akasha_skills, MIT.
More from azerothl/Akasha_skills
- 0.512score
chart-picker
azerothl
Choose appropriate chart types for data stories and optionally generate AntV-style configs.
SkillCFreshness: C★ 2Claude Code +9 - 0.509score
evidence-synthesis
azerothl
Lightweight systematic literature synthesis (~20 papers max) using arXiv search and sequential summarization.
SkillCFreshness: C★ 2Claude Code +9 - 0.509score
frontend-patterns
azerothl
Implement and review React + Tailwind + shadcn-style UI patterns for akasha-ui and Code Studio — layout, forms, a11y, and component conventions without…
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
batch-processing
azerothl
Break a large repetitive change into tracked steps (todos), execute in order, and verify.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
code-simplify
azerothl
Review recent changes for reuse, quality, and efficiency; then fix issues.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
debug-akasha
azerothl
Diagnose Akasha daemon, CLI, and config issues.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
architecture-atlas
azerothl
Build a markdown wiki with Mermaid diagrams describing codebase architecture — modules, data flow, and key types.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
framework-report
azerothl
Two-phase structured business report — framework selection then concise deliverable in French or English.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
diagram-spec
azerothl
Produce Mermaid diagrams for ideas, architecture sketches, and flows — lightweight spec without full wiki generation.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
container-ops
azerothl
Docker and container workflows aligned with Akasha run_in_container — build hints, compose checks, logs, and safe run_command patterns.
SkillCFreshness: C★ 2Claude Code +9 - 0.492score
daily-project-checkin
azerothl
Create and review daily project check-ins using schedule_task and memory tools.
SkillCFreshness: C★ 2Claude Code +9 - 0.487score
daily-digest
azerothl
Produce a concise daily digest from recent tasks and memory.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 8, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0
- License
- MIT
- Repository
- github.com/azerothl/Akasha_skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from azerothl
- 0.613score
notes-writer
azerothl
Create, update, link, and explore markdown notes via the notes module
SkillAFreshness: A★ 5Claude Code +9 - 0.613score
notes-writer
azerothl
Créer, mettre à jour, lier et explorer des notes markdown via le module notes
SkillAFreshness: A★ 5Claude Code +9 - 0.608score
planner
azerothl
Décomposer un goal complexe en sous-tâches et déléguer à des sous-agents
SkillAFreshness: A★ 5Claude Code +9 - 0.608score
morning-brief
azerothl
Short local briefing from memory, open tasks, and notes — no network
SkillAFreshness: A★ 5Claude Code +9 - 0.608score
file-author
azerothl
Lire/écrire des fichiers et générer des artefacts (md, txt, json, csv, pdf)
SkillAFreshness: A★ 5Claude Code +9 - 0.608score
deep-thinking
azerothl
Plans Deep Thinking hiérarchiques avec révision dynamique et délégation
SkillAFreshness: A★ 5Claude Code +9
Cite this page
api-spec-consumer skill. Agent Mart. https://agentmart.dev/skills/azerothl-api-spec-consumer (last updated 2026-10-24)