{"_id":"@aisuite/chub","_rev":"5-ac7fada24196b9651b8f810b4cb172cb","name":"@aisuite/chub","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@aisuite/chub","version":"0.1.0","keywords":["ai","llm","documentation","agent","cli","context","skills"],"license":"MIT","_id":"@aisuite/chub@0.1.0","maintainers":[{"name":"rohitcp15","email":"rohitcp15@gmail.com"}],"homepage":"https://github.com/andrewyng/context-hub#readme","bugs":{"url":"https://github.com/andrewyng/context-hub/issues"},"bin":{"chub":"bin/chub"},"dist":{"shasum":"3716db32ccba8e52bc6cd29ca9cb01f59dbfe189","tarball":"https://registry.npmjs.org/@aisuite/chub/-/chub-0.1.0.tgz","fileCount":21,"integrity":"sha512-Su2kxzzrMCmZa/Bp/cTXKdx6N5jW7hguI3djQSfenb4z7R/apob64wjVTDm++tn8Ox57rGsJOHijWYOcMs2K6Q==","signatures":[{"sig":"MEUCIQDd4Eln81KsZ97HUqju8IMPhf12JZH6DsEa4O7F6MgsMQIgTiQUiwxFI9tVcPXJIIbbn2pKy5ensU89IrZ6fv5agac=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79827},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"4b1b1caeb3b31042c475e1f9103e9d72ab4a7574","scripts":{"test":"vitest run","prepublish":"node bin/chub build ../content -o dist --base-url https://cdn.aichub.org/v1","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"rohitcp15","email":"rohitcp15@gmail.com"},"repository":{"url":"git+https://github.com/andrewyng/context-hub.git","type":"git"},"_npmVersion":"10.8.2","description":"CLI for Context Hub - search and retrieve LLM-optimized docs and skills","directories":{},"_nodeVersion":"20.19.5","dependencies":{"tar":"^7.5.8","yaml":"^2.3.0","chalk":"^5.3.0","commander":"^12.0.0","posthog-node":"^5.24.17"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18"},"_npmOperationalInternal":{"tmp":"tmp/chub_0.1.0_1772661015352_0.8293832101538816","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aisuite/chub","version":"0.1.1","keywords":["ai","llm","documentation","agent","cli","context","skills","mcp"],"license":"MIT","_id":"@aisuite/chub@0.1.1","maintainers":[{"name":"rohitcp15","email":"rohitcp15@gmail.com"}],"homepage":"https://github.com/andrewyng/context-hub#readme","bugs":{"url":"https://github.com/andrewyng/context-hub/issues"},"bin":{"chub":"bin/chub","chub-mcp":"bin/chub-mcp"},"dist":{"shasum":"4dee56ae458905ab9685aeba009a58dff1e545f7","tarball":"https://registry.npmjs.org/@aisuite/chub/-/chub-0.1.1.tgz","fileCount":145,"integrity":"sha512-3PVMHP6cmmp5Y9O6EJtEryFaaPrSLVbOPXWyjtrk3NzuCH/qi9C/oMGTqxZUbFOV3u0iE1IAXcRCaWHXnya7Sw==","signatures":[{"sig":"MEQCIGyERFmXUh2YynCO0/QVR0H9lytUMdAnxdrchpKJT4j/AiARms0cQCQ6GFoXKxGk0iGUJgKWXABvyFMy7e2EgQ2eZw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3519003},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"530a82d9dd7a58f45cff1558dfff74eedd09b8cf","scripts":{"test":"vitest run","prepublish":"node bin/chub build ../content -o dist --base-url https://cdn.aichub.org/v1","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"rohitcp15","email":"rohitcp15@gmail.com"},"repository":{"url":"git+https://github.com/andrewyng/context-hub.git","type":"git"},"_npmVersion":"10.8.2","description":"CLI for Context Hub - search and retrieve LLM-optimized docs and skills","directories":{},"_nodeVersion":"20.19.5","dependencies":{"tar":"^7.5.8","zod":"^4.3.6","yaml":"^2.3.0","chalk":"^5.3.0","commander":"^12.0.0","posthog-node":"^5.24.17","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18"},"_npmOperationalInternal":{"tmp":"tmp/chub_0.1.1_1772741869592_0.37350474158185043","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aisuite/chub","version":"0.1.2","keywords":["ai","llm","documentation","agent","cli","context","skills","mcp"],"license":"MIT","_id":"@aisuite/chub@0.1.2","maintainers":[{"name":"rohitcp15","email":"rohitcp15@gmail.com"}],"homepage":"https://github.com/andrewyng/context-hub#readme","bugs":{"url":"https://github.com/andrewyng/context-hub/issues"},"bin":{"chub":"bin/chub","chub-mcp":"bin/chub-mcp"},"dist":{"shasum":"87f5bc04b725ad7d4253fa8aa84115290882d211","tarball":"https://registry.npmjs.org/@aisuite/chub/-/chub-0.1.2.tgz","fileCount":146,"integrity":"sha512-TAdv2xba79+m96rk5WGyYQgj5YsJyS8FfvSRrcdwboZdNx1JGSWUsfR/LbnOjrlsgPx/3fxomZeDFVU4UdlJlA==","signatures":[{"sig":"MEUCIQD/I74ZhDhK92now2kBtgLX6GxH9OeOzU2mVH5aPqeL4AIgec6ZyLJ4clrj1VEJfLbJR+4si+R3qgJhspm+4bmcTqU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3521224},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"b7205af95ea80d693cb6a02e1b95eff19284ba0f","scripts":{"test":"vitest run","prepublish":"node bin/chub build ../content -o dist --base-url https://cdn.aichub.org/v1","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"rohitcp15","email":"rohitcp15@gmail.com"},"repository":{"url":"git+https://github.com/andrewyng/context-hub.git","type":"git"},"_npmVersion":"10.8.2","description":"CLI for Context Hub - search and retrieve LLM-optimized docs and skills","directories":{},"_nodeVersion":"20.19.5","dependencies":{"tar":"^7.5.8","zod":"^4.3.6","yaml":"^2.3.0","chalk":"^5.3.0","commander":"^12.0.0","posthog-node":"^5.24.17","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18"},"_npmOperationalInternal":{"tmp":"tmp/chub_0.1.2_1773409405940_0.7129837993820174","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aisuite/chub","version":"0.1.3","keywords":["ai","llm","documentation","agent","cli","context","skills","mcp"],"license":"MIT","_id":"@aisuite/chub@0.1.3","maintainers":[{"name":"rohitcp15","email":"rohitcp15@gmail.com"}],"homepage":"https://github.com/andrewyng/context-hub#readme","bugs":{"url":"https://github.com/andrewyng/context-hub/issues"},"bin":{"chub":"bin/chub","chub-mcp":"bin/chub-mcp"},"dist":{"shasum":"36706cffbc523e9d68839b6fe85a983ceaeaaeb3","tarball":"https://registry.npmjs.org/@aisuite/chub/-/chub-0.1.3.tgz","fileCount":146,"integrity":"sha512-F6kdYGvIcDHdK6bKuf7tobK+6yXJzoNMMcQ9iasKY1cBhu36e5Xp6u5QSuYNAHRPQ2SnlNh7NRCNHZQGIPC+lQ==","signatures":[{"sig":"MEUCIQCvkYMr+PPU5BdqAQUrgYaqaI1e1sI/nLv+tBILH8QCQAIgWUigpvaJZzw4ZeiY1Ey4Jg+WggW8H9QT+A3+Y69HWxs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3521875},"type":"module","engines":{"node":">=18.0.0"},"gitHead":"02ba375c4deb4ba1d54550609bcd8b0e98ecf79c","scripts":{"test":"vitest run","prepublish":"node bin/chub build ../content -o dist --base-url https://cdn.aichub.org/v1","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"rohitcp15","email":"rohitcp15@gmail.com"},"repository":{"url":"git+https://github.com/andrewyng/context-hub.git","type":"git"},"_npmVersion":"10.8.2","description":"CLI for Context Hub - search and retrieve LLM-optimized docs and skills","directories":{},"_nodeVersion":"20.19.5","dependencies":{"tar":"^7.5.8","zod":"^4.3.6","yaml":"^2.3.0","chalk":"^5.3.0","commander":"^12.0.0","posthog-node":"^5.24.17","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18"},"_npmOperationalInternal":{"tmp":"tmp/chub_0.1.3_1773691692440_0.39421559443280807","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@aisuite/chub","version":"0.1.4","description":"CLI for Context Hub - search and retrieve LLM-optimized docs and skills","type":"module","bin":{"chub":"bin/chub","chub-mcp":"bin/chub-mcp"},"engines":{"node":">=18.0.0"},"keywords":["ai","llm","documentation","agent","cli","context","skills","mcp"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/andrewyng/context-hub.git"},"bugs":{"url":"https://github.com/andrewyng/context-hub/issues"},"homepage":"https://github.com/andrewyng/context-hub#readme","scripts":{"prepublish":"node bin/chub build ../content -o dist --base-url https://cdn.aichub.org/v1","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage"},"dependencies":{"@modelcontextprotocol/sdk":"^1.27.1","chalk":"^5.3.0","commander":"^12.0.0","posthog-node":"^5.24.17","tar":"^7.5.8","yaml":"^2.3.0","zod":"^4.3.6"},"devDependencies":{"vitest":"^4.0.18"},"_id":"@aisuite/chub@0.1.4","gitHead":"04c149cd82d23d037e157d5920b80b0ca10d84b5","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-/Jwme37Jqc3MQLBbtbTmPzW1wSBrZadkwCmcLd3YReBW2t99bHpimy+8qS333oGC4cu9/3WpF2MYTK7fYG6q8Q==","shasum":"39fad45082d70f0067c352024b96eca20ba0e77c","tarball":"https://registry.npmjs.org/@aisuite/chub/-/chub-0.1.4.tgz","fileCount":30,"unpackedSize":128068,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD6D4UsaU0w1cNDt33UbkPU6hborK4Mf/Z+c4Trvvn5SAIgf7HlHbh0ZH4Cd6/TSgYqd2NgWVWhtj43LsC4t8OEoQ8="}]},"_npmUser":{"name":"rohitcp15","email":"rohitcp15@gmail.com"},"directories":{},"maintainers":[{"name":"rohitcp15","email":"rohitcp15@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chub_0.1.4_1777329627204_0.6200810106382986"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-04T21:50:15.234Z","modified":"2026-04-27T22:40:27.484Z","0.1.0":"2026-03-04T21:50:15.502Z","0.1.1":"2026-03-05T20:17:49.846Z","0.1.2":"2026-03-13T13:43:26.105Z","0.1.3":"2026-03-16T20:08:12.671Z","0.1.4":"2026-04-27T22:40:27.350Z"},"bugs":{"url":"https://github.com/andrewyng/context-hub/issues"},"license":"MIT","homepage":"https://github.com/andrewyng/context-hub#readme","keywords":["ai","llm","documentation","agent","cli","context","skills","mcp"],"repository":{"type":"git","url":"git+https://github.com/andrewyng/context-hub.git"},"description":"CLI for Context Hub - search and retrieve LLM-optimized docs and skills","maintainers":[{"name":"rohitcp15","email":"rohitcp15@gmail.com"}],"readme":"# Context Hub CLI\n\nInstall the CLI and give your AI agent access to curated, versioned documentation.\n\n## Install\n\n```bash\nnpm install -g @aisuite/chub\n```\n\n## Use as an Agent Skill\n\nThe 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:\n\n### Claude Code\n\nCopy the skill into your project:\n\n```bash\nmkdir -p .claude/skills\ncp $(npm root -g)/@aisuite/chub/skills/get-api-docs/SKILL.md .claude/skills/get-api-docs.md\n```\n\nOr install it globally (applies to all projects):\n\n```bash\nmkdir -p ~/.claude/skills\ncp $(npm root -g)/@aisuite/chub/skills/get-api-docs/SKILL.md ~/.claude/skills/get-api-docs.md\n```\n\n### Cursor\n\nCopy the skill into your project's rules directory:\n\n```bash\nmkdir -p .cursor/rules\ncp $(npm root -g)/@aisuite/chub/skills/get-api-docs/SKILL.md .cursor/rules/get-api-docs.md\n```\n\n### Other Agent Tools\n\nThe skill is a standard markdown file at `skills/get-api-docs/SKILL.md`. Copy it to wherever your agent tool reads custom instructions from.\n\n## Commands\n\n```bash\nchub search \"stripe\"                 # find docs\nchub get stripe/api                  # fetch a doc\nchub get stripe/api --lang js        # specific language\nchub get stripe/api --version 19.1.0 # specific version\nchub annotate stripe/api \"note\"      # local annotation\nchub feedback stripe/api up          # rate a doc\n```\n\nFor the full command reference, see [CLI Reference](../docs/cli-reference.md).\n","readmeFilename":"README.md"}