Skip to content
Back to skills

Get Api Docs

ASecurity

Fetch curated API documentation using Context Hub (chub) before coding against any external API. Use when the task involves calling a third-party API (Stripe, OpenAI, Airwallex, Notion, etc.) to prevent hallucinated parameters and deprecated endpoints.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 13, 2026
developmentgobashdebuggingapidocumentation

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 13, 2026

npx -y skills add dwarvesf/dwarves-kit --skill get-api-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Get Api Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Get Api Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dwarvesf-get-api-docs/badge)](https://www.skillsdirectory.com/skills/dwarvesf-get-api-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: get-api-docs
description: "Fetch curated API documentation using Context Hub (chub) before coding against any external API. Use when the task involves calling a third-party API (Stripe, OpenAI, Airwallex, Notion, etc.) to prevent hallucinated parameters and deprecated endpoints."
---

# Get API Docs

Before writing code that calls any external API, fetch the curated documentation first.

## When to use

- You are about to write code that calls a third-party API
- You are unsure about the current API parameters, endpoints, or auth method
- The user mentions an API integration (Stripe, Notion, OpenAI, Airwallex, etc.)
- You are debugging an API call that returns unexpected results

## How to use

```bash
# Search for available docs
chub search [api-name]

# Fetch docs (language-specific)
chub get [provider]/[api] --lang [py|js|go]

# Fetch specific reference file
chub get [provider]/[api] --file references/[topic].md

# Fetch everything for comprehensive work
chub get [provider]/[api] --full
```

## After using the API

If you discover something not in the docs (a workaround, a gotcha, a version quirk):

```bash
chub annotate [provider]/[api] "your note here"
```

This persists locally and appears automatically next time you fetch the same doc.

## If chub is not installed

Tell the user: "Context Hub (chub) is not installed. Install it with `npm install -g @aisuite/chub` to get curated API docs and prevent hallucinated API calls."

Then fall back to web search, but warn that the results may be outdated.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.