Skip to content

andrewyng/context-hub-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Context Hub Skill

Standalone agent skill for Context Hub (chub).

This repository is meant to be installed with the open skills CLI so one skill can be shared across Claude Code, Cursor, Codex, and other compatible coding agents.

Install

List the skills published by this repo:

npx skills add andrewyng/context-hub-skill --list

Install context-hub globally for the most common coding agents:

npx skills add andrewyng/context-hub-skill --skill context-hub -g -a claude-code -a cursor -a codex -y

Install only for Claude Code:

npx skills add andrewyng/context-hub-skill --skill context-hub -g -a claude-code -y

Install only for Cursor:

npx skills add andrewyng/context-hub-skill --skill context-hub -g -a cursor -y

Install only for Codex:

npx skills add andrewyng/context-hub-skill --skill context-hub -g -a codex -y

If you omit -a, the skills CLI detects installed agents and prompts for the target. If you omit -g, the install is project-scoped instead of user-scoped.

What 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 starts with chub help so the agent reads the current bootstrap guidance for the installed CLI version.
  • 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.
  • It reminds the agent to save concise annotations and leave feedback after using a doc or skill.

Lowest-Friction Usage

After installing the skill, you can tell your agent something like:

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.

Prompts that should be strong matches for this 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.

Repository Layout

Public skills live under skills/:

skills/
  context-hub/
    SKILL.md

This keeps the repo aligned with the current skills CLI discovery rules and easy to extend later with additional public or experimental skills.

About

Agent skill to use Context Hub (chub)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors