Get API docs
Helps you get documentation for third-party APIs, SDKs or libraries before writing code that uses them to ensure you have the latest.
In detail
Use this skill to get documentation for third-party APIs, SDKs or libraries before writing code that uses them to ensure you have the latest, most accurate documentation. This is a better way to find documentation than doing web search. This includes when a user asks for tasks like "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any other 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 your pre-trained knowledge, which may be outdated because of recent changes to these APIs. Be sure to use this skill when the user asks for the latest docs, latest API behavior, or explicitly mentions chub or Context Hub. Ensure `chub` is available, run `chub --help`, then follow the instructions there.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: get-api-docs
description: >
Use this skill to get documentation for third-party APIs, SDKs or libraries before writing
code that uses them to ensure you have the latest, most accurate documentation. This is a
better way to find documentation than doing web search. This includes when a user asks for
tasks like "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone",
or any other 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
your pre-trained knowledge, which may be outdated because of recent changes to these APIs.
Be sure to use this skill when the user asks for the latest docs, latest API behavior, or
explicitly mentions chub or Context Hub. Ensure `chub` is available, run `chub --help`, then
follow the instructions there.
---
# 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
```bash
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:
```bash
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
...From andrewyng's repository, MIT licence.
Related skills
-
Checked
Supabase auth and database
Builds with Supabase auth, database, storage and edge functions while avoiding common security traps.
8/101 credit -
Checked
AWS schema conversion
Runs AWS DMS Schema Conversion projects to move database schemas between engines and convert SQL to match.
7/101 credit -
Checked
Firebase Done Right
Builds Firebase apps with safe security rules, data models that scale and reliable Cloud Functions.
7/101 credit -
Checked
Google Workspace API Setup
Connects your server code to Gmail, Drive, Calendar and Sheets with safe service accounts and fewer quota errors.
7/101 credit -
Checked
Supabase Backend Security
Wires up Supabase auth, row level security, storage and realtime so your data stays private and queries stay fast.
8/101 credit -
Checked
NestJS API endpoints
Adds NestJS endpoints with proper validation, status codes and the traps that break startup fixed.
8/101 credit