@aisuite/chub
v0.1.3
Published
CLI for Context Hub - search and retrieve LLM-optimized docs and skills
Downloads
5,803
Maintainers
Readme
Context Hub CLI
Install the CLI and give your AI agent access to curated, versioned documentation.
Install
npm install -g @aisuite/chubUse as an Agent Skill
The CLI ships with a skill that teaches agents to fetch docs automatically instead of guessing from training data. Install it into your agent tool of choice:
Claude Code
Copy the skill into your project:
mkdir -p .claude/skills
cp $(npm root -g)/@aisuite/chub/skills/get-api-docs/SKILL.md .claude/skills/get-api-docs.mdOr install it globally (applies to all projects):
mkdir -p ~/.claude/skills
cp $(npm root -g)/@aisuite/chub/skills/get-api-docs/SKILL.md ~/.claude/skills/get-api-docs.mdCursor
Copy the skill into your project's rules directory:
mkdir -p .cursor/rules
cp $(npm root -g)/@aisuite/chub/skills/get-api-docs/SKILL.md .cursor/rules/get-api-docs.mdOther Agent Tools
The skill is a standard markdown file at skills/get-api-docs/SKILL.md. Copy it to wherever your agent tool reads custom instructions from.
Commands
chub search "stripe" # find docs
chub get stripe/api # fetch a doc
chub get stripe/api --lang js # specific language
chub get stripe/api --version 19.1.0 # specific version
chub annotate stripe/api "note" # local annotation
chub feedback stripe/api up # rate a docFor the full command reference, see CLI Reference.
