{
  "markdown": "# chub — Claude Code Plugin\n\nA Claude Code plugin for [Context Hub (chub)](https://github.com/andrewyng/context-hub). Gives Claude access to curated, versioned API docs so it uses current APIs instead of hallucinating from training data.\n\n## Install\n\nPaste into Claude Code:\n\n```\n/plugin marketplace add naga-k/chub-claude-plugin\n/plugin install chub@chub-claude-plugin\n/reload-plugins\n```\n\nThat's it. No manual CLI setup — the plugin uses `npx` to run chub on demand and refreshes the doc registry on each session start.\n\n## What it does\n\nWhen Claude needs to write code against an external API (OpenAI, Stripe, Anthropic, etc.), this skill tells it to fetch the current docs from chub first — instead of guessing from training data.\n\nClaude will:\n1. Search for the right docs (`npx --yes @aisuite/chub search`)\n2. Fetch the current version (`npx --yes @aisuite/chub get <id> --lang py`)\n3. Write code using the fetched docs\n4. Annotate any gaps it discovers for future sessions\n5. Rate the docs so maintainers can improve them\n\n**On each session start**, the plugin refreshes the doc registry so you always have the latest docs.\n\n## How it works\n\n- Uses `npx` to run chub — no global install needed, works in all scopes (user, project, local)\n- `SessionStart` hook runs `npx --yes @aisuite/chub update` to refresh the registry\n- The skill instructs Claude to use `npx --yes @aisuite/chub` for all commands\n- First run downloads and caches chub automatically, subsequent runs use the cache\n\n## Requirements\n\n- Node.js with `npx` available (comes with npm 5.2+)\n\n## License\n\nMIT\n",
  "bytes": 1579,
  "sha": "1176dc94e4781b359b0913d714738e75e774c8b697c704f2061e53755906de31",
  "repo_slug": "naga-k/chub-claude-plugin",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_naga_k_chub_claude_plugin_chub_50fb6306/readme"
}