Install
openclaw skills install @victorlin-houzz/context-hub-openclawUse Context Hub (chub) to fetch versioned API docs/skills before coding, then persist learnings with annotations.
openclaw skills install @victorlin-houzz/context-hub-openclawUse this skill whenever implementation depends on third-party APIs/SDKs or fast-changing tools.
Trigger this skill when the user asks to:
Do not rely only on memorized API shapes. Fetch current docs first.
Use this decision rule before coding:
HIGH confidence trigger (use Context Hub immediately):
openai, anthropic, stripe, supabase, etc.)MEDIUM confidence trigger (use Context Hub unless local repo docs are clearly authoritative and current):
400 invalid param, schema mismatch, deprecated endpoint)LOW confidence trigger (Context Hub optional):
If 2+ of these are true, run chub first:
Stripe — trigger Context Hub first when:
Example:
chub search "stripe webhooks" --json
chub get stripe/api --lang js --json
OpenAI — trigger Context Hub first when:
Example:
chub search "openai chat responses function calling" --json
chub get openai/chat --lang js --json
chub search "<vendor api or sdk>" --json
chub get <id> --lang js --json
# or
chub get <id> --lang py --version <sdk-version> --json
chub get <id> --file references/errors.md
# or
chub get <id> --full
Implement against fetched docs, not assumptions.
Persist new learnings (only non-obvious, high-value findings)
chub annotate <id> "<gotcha + fix + context>"
chub feedback <id> up
chub feedback <id> down --label outdated --label wrong-examples
Good annotation format:
Example:
chub annotate stripe/api "Webhook signature failed in Next.js route handlers; use raw request body before JSON parse. Verified on stripe-node 17.x."
Avoid annotations that just restate obvious doc text.
mkdir -p .context
chub get <id> --lang js -o .context/<id>.md
shared/<project>/context-notes.md) and keep chub annotations concise.chub update
chub cache status
chub search "stripe webhooks"
chub get stripe/api --lang js
chub annotate --list --json
chub feedback --status
--json for machine parsing in agent flows.--version) when package major versions differ.