Install
openclaw skills install use-chub-cliUse the Context Hub chub CLI to fetch current third-party SDK, API, and cloud-service documentation before writing, modifying, or reviewing integration code. Trigger this skill when the task involves external platforms such as OpenAI, Anthropic, Stripe, Slack, Twilio, databases, or vector stores, and when the user asks for official SDK usage, current endpoints, parameter shapes, model names, version-specific behavior, or integration troubleshooting.
openclaw skills install use-chub-cliUse chub to fetch current third-party documentation before writing code or answering API questions. Do not start chub-mcp unless the user explicitly asks for MCP.
chub --help
chub is not on PATH, use a repository-local entrypoint when one exists. In this repository:
node ./cli/bin/chub --help
Search by vendor first, then by capability. Use --json when the output needs to be consumed reliably.
chub search "openai"
chub search "stripe webhook" --json
chub search "pinecone vector db" --json
Follow these rules:
chub search <id> to confirm details.Fetch the entry point first. Pull additional files only when deeper detail is required.
chub get openai/chat --lang py
chub get stripe/api --lang js
chub get tavily/sdk --lang ts
Follow these rules:
--lang only when the entry has a single language variant.--file after the CLI shows Additional files available.--full only when multiple reference files are genuinely needed.chub get openai/chat --lang py --file references/streaming.md
chub get datahub/sdk --lang py --file references/search.md
chub get tavily/tavily-best-practices --full
Follow these rules:
--full for narrow questions.Follow these rules:
chub get output as the source of truth instead of relying on memory.chub has no matching entry, say so explicitly before falling back to official docs or user-provided material.If you discover a validated gotcha that the doc does not state clearly, save a local annotation:
chub annotate stripe/api "Webhook verification requires the raw request body before JSON parsing."
Capture only:
Do not capture:
If the docs are clearly outdated or poor, suggest feedback, but do not send it without user approval:
chub feedback openai/chat up
chub feedback stripe/api down --label outdated
search and then get.--lang.--file over --full.chub not installed globally: use a repository-local entrypoint when available.chub search "openai" --json, then chub get openai/chat --lang py.chub search "stripe webhook" --json, then chub get stripe/api --lang js, and fetch reference files only if needed.chub search "tavily" --json, then chub get tavily/tavily-best-practices.This skill is adapted from Context Hub and its bundled get-api-docs skill:
https://github.com/andrewyng/context-hubcli/skills/get-api-docs/SKILL.mdThis version was modified for general-purpose publishing and reuse.