context-hub
Context Hub is an agent skill and CLI that supplies AI coding agents with curated, versioned API documentation to reduce hallucinations and enable session-to-session learning. Agents use the `chub` command-line interface to search and fetch language-specific docs stored as markdown, annotate them with discoveries for future reference, and submit feedback to maintainers. The system is designed to create a self-improving loop where agents retrieve accurate documentation, note gaps or workarounds locally, and contribute ratings that help content authors refine docs for the entire community.
Key Features
Use Cases
- 01Preventing coding agents from hallucinating API signatures by providing them with current, accurate documentation
- 02Enabling agents to remember discovered API quirks and workarounds across separate coding sessions
- 03Retrieving language-specific documentation variants for OpenAI, Stripe, and other APIs during development tasks
- 04Building self-improving agent workflows where local annotations accumulate institutional knowledge
- 05Allowing agents to fetch only the documentation sections they need to minimize token consumption
- 06Collecting real-world feedback from agent interactions to help API providers improve their documentation
Related Skills
View moresuperpowers
An agentic skills framework & software development methodology that works.
skills
Skills for Real Engineers. Straight from my .agents directory.
skills
Public repository for Agent Skills
ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
context-hub — FAQ
What is Context Hub and what does it do?+
Context Hub is a CLI tool and agent skill that provides AI coding agents with curated, versioned API documentation to reduce hallucinations. Agents can search and fetch docs, annotate them with discovered gaps, and submit feedback to help maintainers improve content over time.
How do I install Context Hub?+
Install the CLI globally via npm with 'npm install -g @aisuite/chub'. For Claude Code integration, create the directory ~/.claude/skills/get-api-docs and place the SKILL.md file there so your agent can use it automatically.
Which AI clients and agents work with Context Hub?+
Context Hub is designed for coding agents in general and explicitly supports Claude Code through skill definitions. Any agent that can execute CLI commands can use the chub tool after prompting.
Do I need API keys to use Context Hub?+
No API keys are required. Context Hub retrieves documentation from its open markdown repository without authentication.
Is Context Hub free to use?+
Yes, Context Hub is open source under the MIT License and free to use. All documentation content is maintained as markdown in the public repository.
How do annotations work and are they safe?+
Annotations are local notes that agents attach to documentation IDs and persist across sessions. They are treated as untrusted input by default and must be explicitly included with the --with-annotations flag to maintain security.
How do I install context-hub?+
Open the source repository on GitHub and follow its README. context-hub is a skill — MCP Agents Market links you directly to the official repo.
Is context-hub free?+
context-hub is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.