Help us improve
Share bugs, ideas, or general feedback.
From codeloop
Fetch accurate, up-to-date API documentation via context-hub (chub) CLI instead of relying on stale training data. Automatically activated when working with any external library, framework, or API. Use this skill BEFORE writing any code that uses an external library or API. This ensures you use current, correct APIs — not hallucinated ones.
npx claudepluginhub tumblecat44/20loc-jackpot --plugin codeloopHow this skill is triggered — by the user, by Claude, or both
Slash command
/codeloop:get-api-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**MANDATORY RULE**: Before writing code that uses ANY external library or API,
Fetches live documentation and implementation guidance for any library, framework, or API. Invoked when the user asks for documentation, examples, or best practices.
Fetches and caches current API docs for external libraries via /external-scout <package> <topic>. Load cached files to verify signatures, patterns, and deprecations before coding.
Finds official docs, changelogs, and migration guides for APIs, libraries, and error messages using Context7 MCP, llms.txt, and web search. Useful for debugging errors, verifying API usage, and reviews.
Share bugs, ideas, or general feedback.
MANDATORY RULE: Before writing code that uses ANY external library or API,
fetch the current documentation with chub. Never rely on memorized API shapes.
Before first use in a session, verify chub is installed:
command -v chub >/dev/null 2>&1 || npm install -g @aisuite/chub
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.
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.
Read the fetched content and use it to write accurate code. 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:
chub annotate <id> "Webhook verification requires raw body — do not parse before verifying"
Annotations persist across sessions and appear on future chub get calls.
Rate the doc so authors can improve it. Ask the user before sending.
chub feedback <id> up # doc worked well
chub feedback <id> down --label outdated # doc needs updating
Labels: outdated, inaccurate, incomplete, wrong-examples,
wrong-version, poorly-structured, accurate, well-structured, helpful,
good-examples.
| Goal | Command |
|---|---|
| List everything | chub search |
| Find a doc | chub search "stripe" |
| Fetch Python docs | chub get stripe/api --lang py |
| Fetch JS docs | chub get openai/chat --lang js |
| 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 |
Use chub whenever you encounter ANY of these in code:
import / from X import / require() for external packagesDuring autonomous development loops (codeloop start), ALWAYS run chub get
before implementing features that touch external APIs. This prevents hallucinated
API calls that would break the build and waste loop iterations.