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.
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…
$ npx skills add sudomakes/backroad --skill get-api-docs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sudomakes/backroad get-api-docs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "get-api-docs" agent skill from https://github.com/sudomakes/backroad/tree/main/.claude/skills/get-api-docs into .claude/skills/get-api-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-api-docs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sudomakes/backroad/tree/main/.claude/skills/get-api-docsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sudomakes/backroad --skill get-api-docs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sudomakes/backroad get-api-docs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sudomakes/backroad.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/get-api-docs .agents/skills/get-api-docs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "get-api-docs" agent skill from https://github.com/sudomakes/backroad/tree/main/.claude/skills/get-api-docs into .agents/skills/get-api-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-api-docs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sudomakes/backroad --skill get-api-docs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sudomakes/backroad get-api-docs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sudomakes/backroad.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/get-api-docs .cursor/skills/get-api-docs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "get-api-docs" agent skill from https://github.com/sudomakes/backroad/tree/main/.claude/skills/get-api-docs into .cursor/skills/get-api-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-api-docs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sudomakes/backroad.git --path .claude/skills/get-api-docs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sudomakes/backroad --skill get-api-docs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sudomakes/backroad get-api-docs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sudomakes/backroad.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/get-api-docs .gemini/skills/get-api-docs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "get-api-docs" agent skill from https://github.com/sudomakes/backroad/tree/main/.claude/skills/get-api-docs into .gemini/skills/get-api-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-api-docs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sudomakes/backroad get-api-docsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sudomakes/backroad --skill get-api-docs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sudomakes/backroad.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/get-api-docs .github/skills/get-api-docs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "get-api-docs" agent skill from https://github.com/sudomakes/backroad/tree/main/.claude/skills/get-api-docs into .github/skills/get-api-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-api-docs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sudomakes/backroad --skill get-api-docs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sudomakes/backroad get-api-docs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sudomakes/backroad.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/get-api-docs .opencode/skills/get-api-docs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "get-api-docs" agent skill from https://github.com/sudomakes/backroad/tree/main/.claude/skills/get-api-docs into .opencode/skills/get-api-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "get-api-docs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
get-api-docsA 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. 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.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a47e432. It shows what the files ask for, not the result of running them.
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.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
The full file from sudomakes/backroad at commit a47e432, republished under its MIT licence (© sudomakes). 408 words, ~1,023 tokens.
.claude/skills/get-api-docs/SKILL.md (or your agent's skills folder).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.
chub search "<library name>" --jsonPick the best-matching id from the results (e.g. openai/chat, anthropic/sdk,
stripe/api). If nothing matches, try a broader term.
chub get <id> --lang py # or --lang js, --lang tsOmit --lang if the doc has only one language variant — it will be auto-selected.
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.
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:
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.
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.
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.
| Goal | Command |
|---|---|
| List everything | chub search |
| Find a doc | chub search "stripe" |
| Exact id detail | chub search stripe/api |
| Fetch Python docs | chub get stripe/api --lang py |
| Fetch JS docs | chub get openai/chat --lang js |
| Save to file | chub get anthropic/sdk --lang py -o docs.md |
| Fetch multiple | chub get openai/chat stripe/api --lang py |
| Save a note | chub annotate stripe/api "needs raw body" |
| List notes | chub annotate --list |
| Rate a doc | chub feedback stripe/api up |
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.mdThen rebuild the registry:
chub build .claude/chub/content -o .claude/chubCommit both the DOC.md and the updated registry.json.
chub search with no query lists everything available<author>/<name> — confirm the ID from search before fetching--lang, chub will tell you which are available.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
Just SKILL.md in .claude/skills/get-api-docs of sudomakes/backroad.
Open the folder on GitHubat commit a47e432
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Get API Docs this skillsudomakes/backroad | 162 | — | ~1k | Automated safety check: Pass | MIT | |
| Get API Docs with chubandrewyng/context-hub | 14k | 2 repos | ~775 | Automated safety check: Pass | MIT | |
| ModLens Image Vision Bridgeliustack/modlens | 4.1k | — | ~1.3k | Automated safety check: Notes | MIT | |
| Claude APIKocoro-lab/Kocoro | 414 | 8 repos | ~4.5k | Automated safety check: Pass | Apache-2.0 | |
| Using Ccproxy Inspectorstarbaser/ccproxy | 348 | — | ~2.7k | Automated safety check: Pass | Custom licence | |
| Using Ccproxy APIstarbaser/ccproxy | 348 | — | ~4k | Automated safety check: Pass | Custom licence |
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.
liustack/modlens
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.
Kocoro-lab/Kocoro
Build apps with the Claude API or Anthropic SDK. An agent skill from Kocoro-lab/Kocoro.
starbaser/ccproxy
Operates the ccproxy inspector MITM system for intercepting, inspecting, and transforming LLM API traffic.
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.
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.
sudomakes/backroad
Push interfaces past conventional limits with technically ambitious implementations.
sudomakes/backroad
Improve layout, spacing, and visual rhythm. An agent skill from sudomakes/backroad.
sudomakes/backroad
Improve typography by fixing font choices, hierarchy, sizing, weight consistency, and readability.
Works with
Categories
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.
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.
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.
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.
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.
SKILL.md names no scripts, command-line tools or credentials: Get API Docs is instructions for the agent only. Our summary lists: Python 3.
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.
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.
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.
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.
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.
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.