Skip to content
Back to skills

Context Hub

ASecurity

Fetch curated API documentation using the chub CLI before writing code. Use when calling external APIs (OpenAI, Stripe, Anthropic, etc.) to get accurate docs instead of hallucinating. Install chub via: npm install -g chub

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
developmentpythongobashapidocumentation

Works with

  • cli
  • 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 May 27, 2026

npx -y skills add KevinZai/commander --skill context-hub --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context Hub?

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

Security grade badge for Context Hub
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kevinzai-context-hub/badge)](https://www.skillsdirectory.com/skills/kevinzai-context-hub)

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: context-hub
description: Fetch curated API documentation using the chub CLI before writing code. Use when calling external APIs (OpenAI, Stripe, Anthropic, etc.) to get accurate docs instead of hallucinating. Install chub via: npm install -g chub
---

# Context Hub — API Documentation via chub

chub is installed and ready: `which chub` (install via npm install -g chub)

## When to Use
- Before writing code that calls any external API
- When unsure about exact method signatures, params, or response shapes
- After an API call fails with unexpected results
- When a previous attempt may have hallucinated API details

## Commands
```bash
chub search                          # list all available docs
chub search "stripe payments"        # find relevant docs
chub get openai/chat --lang py       # fetch Python docs
chub get openai/chat --lang js       # fetch JS docs
chub get stripe/api                  # fetch Stripe API docs
chub get anthropic/messages          # Anthropic Messages API
chub annotate stripe/api "Needs raw body for webhook verification"  # save gotcha
chub annotate <id> --clear           # remove annotation
chub annotate --list                 # see all your annotations
chub feedback <id> up                # upvote good docs
chub feedback <id> down              # flag bad docs
```

## Workflow
1. `chub search "<api-name>"` — find the right doc ID
2. `chub get <id> --lang <py|js>` — fetch the doc
3. Read doc, write correct code
4. If you find a gap: `chub annotate <id> "<note>"` — persists for next session

## Gotchas
- Run `chub search` with no args first to see everything available — coverage grows over time
- Language flag matters: `--lang py` and `--lang js` return different variants
- Annotations persist locally across sessions — add them whenever you find gotchas
- Not all APIs are in the hub yet — fall back to web_fetch for missing ones

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.