GitHub · context-hub-skill: Agent skill to use Context Hub (chub)
Open the sourceAndrew Ng’s repository teaches coding agents to use Context Hub as the source of truth when work depends on current third-party documentation rather than relying on model memory. It also shows how to install the shared skill across compatible agents and describes a low-friction workflow that checks installation, reads current CLI guidance, retrieves documentation, and records feedback.
- The Context Hub skill can be shared across Claude Code, Cursor, Codex, and other compatible coding agents. - The skill checks for `chub` and installs `@aisuite/chub` when it is missing and the environment permits installation. - Agents should begin with `chub help` to read bootstrap guidance for the installed CLI version. - When a task depends on current third-party documentation, agents should use `chub search` and `chub get` rather than guess from model memory. - After using a document or skill, agents should save concise annotations and leave feedback. - Installation can be global or project-scoped and can target one or multiple coding agents.
Based on Andrew Ng's public content. Not affiliated with or endorsed by Andrew Ng.
Supports these rules
Quotes from this video
“It tells the agent to use `chub search` and `chub get` instead of guessing from model memory when the task depends on current third-party docs.”
“Use Context Hub whenever this task depends on current third-party docs, SDKs, APIs, frameworks, or agent workflows.”
“From there, the skill should guide the agent to install `chub` if needed, run `chub help`, and use Context Hub as the source of truth.”
“it, it installs `@aisuite/chub`. It starts with `chub help` so the agent reads the current bootstrap guidance for the installed CLI version.”
“The Skill Does The `context-hub` skill is designed to minimize setup friction:”
“It checks whether `chub` is already installed.”
“If `chub` is missing and the environment allows it, it installs `@aisuite/chub`.”
“It reminds the agent to save concise annotations and leave feedback after using a doc or skill.”
“Build a Next.js app that uses the latest OpenAI API. Verify the current model names, recommended model config, and setup steps before writing code.”
“Integrate Stripe subscriptions into this app using the current SDK docs and check whether the API version or webhook setup has changed since your cutoff.”