| name | context-hub |
| description | Use this skill when the user asks for the latest docs, latest model, latest setup guidance, latest API behavior, or explicitly mentions chub or Context Hub. Use it by default whenever current documentation or current workflow guidance matters more than model memory. Ensure `chub` is available, run `chub help`, then use Context Hub to fetch the current docs or skill needed for the task. |
| license | MIT |
| metadata | {"author":"andrewyng","version":"0.1.0"} |
Context Hub
Use this skill whenever current docs, current setup guidance, or current
workflow instructions matter. Trigger it immediately when the user mentions the
latest docs, latest model, chub, or Context Hub. Keep the workflow simple:
ensure chub exists, run chub help, then follow the guidance it returns.
If this file and chub help ever disagree, follow chub help.
1. Ensure chub exists
Check whether chub is already installed:
command -v chub >/dev/null 2>&1
If that fails, and the environment has node, npm, network access, and
package-manager permission, install it:
npm install -g @aisuite/chub
If installation is blocked, tell the user exactly what is missing instead of
guessing.
2. Always start with chub help
Run:
chub help
Treat that output as the source of truth for the installed CLI version.
3. Use Context Hub instead of guessing
Typical flow:
chub search "<library or workflow>" --json
chub get <id> --lang py
Use the fetched docs or skill as the authority for API shapes, setup steps,
versions, model names, model configuration, and workflow guidance.
4. Save concise local notes
If you discover a short project-specific note that should appear next time, save
it:
chub annotate <id> "Concise project-specific note"
Use annotations only for notes that are local, actionable, and worth seeing on
future fetches.
5. Leave feedback after using an entry
Unless the user explicitly tells you not to, always leave feedback after using a
doc or skill:
chub feedback <id> up --label accurate "What was useful"
chub feedback <id> down --label outdated "What needs fixing"
Valid labels: accurate, well-structured, helpful, good-examples,
outdated, inaccurate, incomplete, wrong-examples, wrong-version,
poorly-structured.
Do not include secrets, source code, private architecture details, or other
sensitive information in feedback comments.