Skip to content
Back to skills

Context Hub

ASecurity

Use Context Hub (chub) for curated, versioned API/SDK docs and agent skills. Keep OpenAI tasks on official docs first.

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsbashnoderailsapi

Works with

  • claude code
  • cli
  • api

Security analysis

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

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

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --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/majiayu000-context-hub-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-context-hub-claude-skill-registry)

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: "Use Context Hub (chub) for curated, versioned API/SDK docs and agent skills. Keep OpenAI tasks on official docs first."
---

# Context Hub Skill

Use `chub` as a fast retrieval layer for third-party API/SDK integration docs.

## When to Use This Skill

Triggered by:
- "查某个 SDK 的最新用法"
- "这个第三方 API 怎么接"
- "给我某库某版本的示例代码"
- "查文档并按语言返回"
- "搜索某个 provider 的文档条目"

## Prerequisites

1. Install Node.js and npm
2. Install `chub` manually:
```bash
HTTP_PROXY=http://127.0.0.1:7897 HTTPS_PROXY=http://127.0.0.1:7897 npm install -g --prefix "$HOME/.local" @aisuite/chub
export PATH="$HOME/.local/bin:$PATH"
```
3. Verify:
```bash
chub --cli-version
```

## Routing Policy

1. OpenAI tasks in Claude Code: prioritize official OpenAI docs first (`developers.openai.com` / `platform.openai.com`).
2. Non-OpenAI tasks: prioritize `chub`.
3. If `chub` has no matching entry, fallback to official vendor docs or source code.

## Core Workflow

1. Search the registry:
```bash
HTTP_PROXY=http://127.0.0.1:7897 HTTPS_PROXY=http://127.0.0.1:7897 chub search "<query>" --limit 10
```
2. Fetch the doc/skill entry with language/version:
```bash
HTTP_PROXY=http://127.0.0.1:7897 HTTPS_PROXY=http://127.0.0.1:7897 chub get <id> --lang py
HTTP_PROXY=http://127.0.0.1:7897 HTTPS_PROXY=http://127.0.0.1:7897 chub get <id> --lang js --version <version>
```
3. Pull references when needed:
```bash
HTTP_PROXY=http://127.0.0.1:7897 HTTPS_PROXY=http://127.0.0.1:7897 chub get <id> --file references/<file>.md
HTTP_PROXY=http://127.0.0.1:7897 HTTPS_PROXY=http://127.0.0.1:7897 chub get <id> --full
```
4. Use `--json` when downstream parsing is required.

## Optional Commands (Explicit User Request Only)

Do not run these by default. Run only when the user explicitly asks:

```bash
chub annotate <id> "<note>"
chub feedback <id> up
chub feedback <id> down --label outdated
```

## Guardrails

- Official vendor docs and SDK source code remain the source of truth for high-risk decisions.
- For OpenAI topics, use official OpenAI docs as primary evidence.
- Do not claim behavior that `chub` output does not show.
- Do not auto-send feedback or annotations without explicit consent.

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.