Agent skill

Get API Docs

by sudomakes in sudomakes/backroad

A skill your agent uses when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the…

MITAuto-check passedAI & LLM Engineering

Install Get API Docs

skills CLI
$ npx skills add sudomakes/backroad --skill get-api-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sudomakes/backroad get-api-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sudomakes/backroad.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/get-api-docs .claude/skills/get-api-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
get-api-docs
GitHub stars
162
Token cost
~1k tokens
SKILL.md length
408 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the…

  • Works in 5 steps: Find the right doc ID → Fetch the docs → Use the docs → …
  • You need documentation for a third-party library
  • SKILL.md covers Step 1 — Find the right doc ID, Step 2 — Fetch the docs, Step 3 — Use the docs and Step 4 — Annotate what you…, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Get API Docs is an agent skill from sudomakes/backroad. Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM API integration, Technical documentation and Vector databases. It works with Stripe, Anthropic API, OpenAI and Pinecone. The repository describes itself as: Streamlit equivalent for Node.JS 💚. The licence is MIT.

When your agent uses it

  • You need documentation for a third-party library
  • API before writing code that uses it — for example
  • Use the OpenAI API
  • Call the Stripe API

Example prompts

  • “use the OpenAI API”
  • “call the Stripe API”
  • “use the Anthropic SDK”
  • “/get-api-docs”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Find the right doc ID
  2. Fetch the docs
  3. Use the docs
  4. Annotate what you learned
  5. Give feedback

What it can do on your machine

Read from SKILL.md and the folder at commit a47e432. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Get API Docs loads about 1k tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 408 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sudomakes/backroad at commit a47e432, republished under its MIT licence (© sudomakes). 408 words, ~1,023 tokens.

Download SKILL.mdSave it as .claude/skills/get-api-docs/SKILL.md (or your agent's skills folder).
name
get-api-docs
description
Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.

Get API Docs via chub

When you need documentation for a library or API, fetch it with the chub CLI rather than guessing from training data. This gives you the current, correct API.

Step 1 — Find the right doc ID

bash
chub search "<library name>" --json

Pick the best-matching id from the results (e.g. openai/chat, anthropic/sdk, stripe/api). If nothing matches, try a broader term.

Step 2 — Fetch the docs

bash
chub get <id> --lang py    # or --lang js, --lang ts

Omit --lang if the doc has only one language variant — it will be auto-selected.

Step 3 — Use the docs

Read the fetched content and use it to write accurate code or answer the question. Do not rely on memorized API shapes — use what the docs say.

Step 4 — Annotate what you learned

After completing the task, if you discovered something not in the doc — a gotcha, workaround, version quirk, or project-specific detail — save it so future sessions start smarter:

bash
chub annotate <id> "Webhook verification requires raw body — do not parse before verifying"

Annotations are local, persist across sessions, and appear automatically on future chub get calls. Keep notes concise and actionable. Don't repeat what's already in the doc.

Step 5 — Give feedback

Always rate the doc after using it. This helps authors fix outdated or incorrect docs and prioritize improvements. Include a label and a brief comment explaining what was good or what needs fixing — specific feedback is the most valuable.

bash
chub feedback <id> up --label accurate "Clear examples, models are current"
chub feedback <id> down --label outdated "Lists gpt-4o as latest but gpt-5.4 is out"

Available labels: outdated, inaccurate, incomplete, wrong-examples, wrong-version, poorly-structured, accurate, well-structured, helpful, good-examples.

If you notice the doc has wrong model names, deprecated APIs, missing features, or incorrect code patterns, always leave a downvote with details so it can be fixed.

Show full SKILL.md (157 more words)Show less

Quick reference

GoalCommand
List everythingchub search
Find a docchub search "stripe"
Exact id detailchub search stripe/api
Fetch Python docschub get stripe/api --lang py
Fetch JS docschub get openai/chat --lang js
Save to filechub get anthropic/sdk --lang py -o docs.md
Fetch multiplechub get openai/chat stripe/api --lang py
Save a notechub annotate stripe/api "needs raw body"
List noteschub annotate --list
Rate a docchub feedback stripe/api up

Adding project-local docs

Project-specific docs live in .claude/chub/content/ and are committed to the repo. To add a new doc, create a DOC.md under the appropriate path:

.claude/chub/content/<author>/docs/<name>/<lang>/DOC.md

Then rebuild the registry:

bash
chub build .claude/chub/content -o .claude/chub

Commit both the DOC.md and the updated registry.json.

Notes

  • chub search with no query lists everything available
  • IDs are <author>/<name> — confirm the ID from search before fetching
  • If multiple languages exist and you don't pass --lang, chub will tell you which are available
  • Project-local docs are served from .claude/chub/ (configured in ~/.chub/config.yaml)

© sudomakes, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/get-api-docs of sudomakes/backroad.

Open the folder on GitHubat commit a47e432

Compare with similar skills

Get API Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Get API Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Get API Docs this skillsudomakes/backroad162—~1kAutomated safety check: PassMIT
Get API Docs with chubandrewyng/context-hub14k2 repos~775Automated safety check: PassMIT
ModLens Image Vision Bridgeliustack/modlens4.1k—~1.3kAutomated safety check: NotesMIT
Claude APIKocoro-lab/Kocoro4148 repos~4.5kAutomated safety check: PassApache-2.0
Using Ccproxy Inspectorstarbaser/ccproxy348—~2.7kAutomated safety check: PassCustom licence
Using Ccproxy APIstarbaser/ccproxy348—~4kAutomated safety check: PassCustom licence

Similar skills

  • Get API Docs with chub

    andrewyng/context-hub

    Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.

    14k GitHub starsUsed in 2 repos~775 tokens
    DevelopmentAuto-check passed
  • Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.

    4.1k GitHub stars~1.3k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check: notes
  • Claude API

    Kocoro-lab/Kocoro

    Build apps with the Claude API or Anthropic SDK. An agent skill from Kocoro-lab/Kocoro.

    414 GitHub starsUsed in 8 repos~4.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Using Ccproxy Inspector

    starbaser/ccproxy

    Operates the ccproxy inspector MITM system for intercepting, inspecting, and transforming LLM API traffic.

    348 GitHub stars~2.7k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Using Ccproxy API

    starbaser/ccproxy

    Guides users through ccproxy as an OpenAI-compatible and Anthropic-compatible LLM API server with SDK integration, OAuth authentication, sentinel key substitution, model routing, and troubleshooting.

    348 GitHub stars~4k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Update Libs

    tingly-dev/tingly-box

    Update the libs/ SDK submodules (openai-go, anthropic-sdk-go, go-genai) to new upstream/fork versions, adapt tingly-box to API changes, and verify with build + vet + tests.

    351 GitHub stars~830 tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from sudomakes/backroad

  • Overdrive

    sudomakes/backroad

    Push interfaces past conventional limits with technically ambitious implementations.

    162 GitHub starsUsed in 10 repos~2.4k tokens
    Auto-check passed
  • Arrange

    sudomakes/backroad

    Improve layout, spacing, and visual rhythm. An agent skill from sudomakes/backroad.

    162 GitHub starsUsed in 10 repos~1.8k tokens
    Auto-check passed
  • Typeset

    sudomakes/backroad

    Improve typography by fixing font choices, hierarchy, sizing, weight consistency, and readability.

    162 GitHub starsUsed in 10 repos~1.4k tokens
    Auto-check passed

Questions about Get API Docs

What does Get API Docs do?

A skill your agent uses when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the…. Get API Docs is an agent skill from sudomakes/backroad. Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API reference.

When should I use Get API Docs?

Get API Docs fits situations like: you need documentation for a third-party library; API before writing code that uses it — for example; use the OpenAI API; call the Stripe API.

How do I install Get API Docs in Claude Code?

Run `npx skills add sudomakes/backroad --skill get-api-docs -a claude-code`. Or copy the skill folder (.claude/skills/get-api-docs in sudomakes/backroad) into .claude/skills/get-api-docs in your project. Claude Code loads it when a task matches its description.

How do I install Get API Docs in Codex?

Run `npx skills add sudomakes/backroad --skill get-api-docs -a codex`. Or copy the skill folder (.claude/skills/get-api-docs in sudomakes/backroad) into .agents/skills/get-api-docs in your project. Codex loads it when a task matches its description.

Can I use Get API Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sudomakes/backroad --skill get-api-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/get-api-docs, .gemini/skills/get-api-docs, .github/skills/get-api-docs and .opencode/skills/get-api-docs in your project.

What does Get API Docs need to run?

SKILL.md names no scripts, command-line tools or credentials: Get API Docs is instructions for the agent only. Our summary lists: Python 3.

Does Get API Docs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Get API Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Get API Docs use?

Get API Docs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Get API Docs use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Get API Docs?

Skills that share tags, products or a category with Get API Docs: Get API Docs with chub (andrewyng/context-hub, 14k stars), ModLens Image Vision Bridge (liustack/modlens, 4.1k stars), Claude API (Kocoro-lab/Kocoro, 414 stars) and Using Ccproxy Inspector (starbaser/ccproxy, 348 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Get API Docs?

sudomakes (a GitHub organization) maintains it in sudomakes/backroad, which has 162 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on June 27, 2026.

Source: sudomakes/backroad on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.