
Description
Get API Docs is an agent skill from the andrewyng context-hub project that fetches current documentation for third-party APIs, SDKs and libraries before a coding agent writes code that uses them. Rather than guessing from training data, the agent runs the chub command-line tool to get the latest, most accurate API details. The skill starts by checking that chub is installed. If it is missing and the environment has Node, npm, network access and permission to install packages, the skill installs chub with npm. It then reads the latest instructions for using chub, so the agent knows how to find and retrieve the documentation it needs. The skill suits coding agents working with external libraries or services, where an outdated API can cause bugs. It is listed on skills.sh, and the page shows install counts and security audit results.…
Highlights
- Fetches current docs for third-party APIs and libraries
- Uses the chub command-line tool
- Checks for chub and installs it if missing
- Helps avoid code based on outdated training data
- Installs from skills.sh
Ratings & Reviews
No ratings yet
Be the first to rate get-api-docs.
People also visit

write-agentmemory-skill
The house format and rules for writing or updating an agentmemory skill

lark-openapi-explorer
Discover and call native Lark OpenAPI endpoints from official documentation

context7-cli
Use the ctx7 CLI to fetch library documentation and configure Context7 MCP
get-api-docs FAQ
What does this skill do?
It tells a coding agent to fetch current documentation for an API, SDK or library with the chub command before it writes code that uses it.
Why use it?
It is meant to give the agent the latest API details instead of relying on training data, which may be out of date.
How do I install it?
Run npx skills add https://github.com/andrewyng/context-hub --skill get-api-docs.
What does it need?
The chub CLI. If chub is missing, the skill installs it with npm, which needs Node.js, npm, network access and permission to install packages.
What are the security audit results?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn. A Warn or Fail is worth reading before you install.
How popular is it?
The page shows about 1.3K installs, and the context-hub repository has about 14K GitHub stars.
What are the best get-api-docs alternatives?
Popular alternatives to get-api-docs include upstash/context7, write-agentmemory-skill and lark-openapi-explorer. See all get-api-docs alternatives

