This pulls live API documentation straight into your Claude session using the chub CLI, so you're working with current docs instead of Claude's potentially outdated training data. When you ask Claude to use the Stripe API or Anthropic SDK, it can fetch the actual reference first rather than guessing. The workflow is straightforward: search for the docs you need, fetch them with language-specific flags, then optionally annotate gotchas for future sessions. It's honest about a real problem with LLM coding help, which is that API shapes change and pre-trained knowledge gets stale fast. Worth having installed if you regularly work with third-party APIs.

skills.sh installs
1.3K
GitHub stars
14K
last updated
Aug 21, 2026

Install

$ npx -y skills add andrewyng/context-hub --skill get-api-docs --agent claude-code

Installs into .claude/skills of the current project.

Files

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 - Ensure chub exists and get the latest instructions for using it

Run

chub --help

If this results in an error showing that chub does not exist, then install it first, and run it again. If the environment has node, npm, network access, and package-manager permission, install it as follows:

npm install -g @aisuite/chub

Step 2 — Find the right documents

If there is a conflict, follow the instructions from the output of chub --help since that will be the latest guidance. However, a key command for searching for the right documentation is chub search:

chub search "<keywords>" --json

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

Step 3 — Fetch the docs

Again, follow the latest instructions from chub --help instead of this if there is a conflict. But a key command for fetching the relevant docs is:

Sponsors

Details

Repository
github.com/andrewyng/context-hub
Categories
Backend & APIs, Documentation, AI & Agent Building, Finance & Trading
First seen
May 16, 2026
1google-gemini avatarvertex-ai-api-devgoogle-gemini/gemini-skillsGuides the usage of Gemini API on Google Cloud Vertex AI with the Gen AI SDK. Use when the user asks about using Gemini in an enterprise environment or explicit1.3Kskills.sh installs
2aradotso avataropenviking-context-databasearadotso/trending-skillsopenviking context database1.3Kskills.sh installs
3nexscope-ai avataramazon-backend-keywordsnexscope-ai/amazon-skillsAmazon backend search term optimization and strategy. 250-byte limit management, keyword deduplication, prioritization frameworks, and search visibility optimiz1.3Kskills.sh installs
4nvidia avatarcuopt-numerical-optimization-api-cnvidia/skillsLP, MILP, and QP (beta) with cuOpt — C API only. Use when the user is embedding LP, MILP, or QP in C/C++.1.3Kskills.sh installs
5pulumi avatarpulumi-automation-apipulumi/agent-skillsLoad this skill when a user asks how to run Pulumi programmatically, embed Pulumi in an application, orchestrate multiple stacks in code, build a self-service i1.2Kskills.sh installs
6modelcontextprotocol avataradd-app-to-servermodelcontextprotocol/ext-appsThis skill should be used when the user asks to "add an app to my MCP server", "add UI to my MCP server", "add a view to my MCP tool", "enrich MCP tools with UI1.2Kskills.sh installs