# context-hub | Andrew Ng | Knowledge Base | Instagit

GitHub Stars: 10.8k

Repository: https://github.com/andrewyng/context-hub

---

## Articles

### [Security and Privacy Considerations for Context Hub Telemetry: Complete Implementation Guide](/andrewyng/context-hub/what-are-the-security-and-privacy-considerations-for-context-hub-telemetry)

Learn security and privacy considerations for Context Hub telemetry. Implement robust data protection and opt-out features for anonymous usage collection without PII.

- Tags: how-to-guide
- Published: 2026-03-20

### [How to Use Context Hub Offline with Local Documentation Sources](/andrewyng/context-hub/can-context-hub-be-used-offline-with-local-documentation-sources)

Use Context Hub offline with local documentation. Configure local directories or download content bundles for air-gapped access without remote CDN calls.

- Tags: how-to-guide
- Published: 2026-03-20

### [How Context Hub Ranks and Scores Search Results: A Deep Dive into the Three-Layer Scoring Model](/andrewyng/context-hub/how-does-context-hub-rank-and-score-search-results)

Discover how Context Hub ranks search results using its three-layer scoring model. Learn about BM25 lexical matching, description quality, and source authority for superior search.

- Tags: deep-dive
- Published: 2026-03-20

### [How to Use the Feedback Command in Context Hub: A Complete CLI Guide](/andrewyng/context-hub/how-do-i-use-the-feedback-command-in-context-hub)

Master the Context Hub feedback command. Learn to rate entries, add labels, and send feedback to maintainers using this complete CLI guide.

- Tags: how-to-guide
- Published: 2026-03-20

### [How to Add an Annotation in Context Hub: Command Syntax and Examples](/andrewyng/context-hub/what-is-the-command-to-add-an-annotation-in-context-hub)

Learn the Context Hub command to add annotations. Discover syntax and examples for chuh annotate id note to streamline your workflow.

- Tags: how-to-guide
- Published: 2026-03-20

### [How Context Hub Enables Self-Improving Agent Loops: A Technical Deep Dive](/andrewyng/context-hub/how-does-context-hub-support-self-improving-agent-loops)

Explore how Context Hub enables self-improving agent loops by integrating local memory, quality signals, and telemetry search to refine AI behavior without manual retraining. Discover the technical details.

- Tags: deep-dive
- Published: 2026-03-20

### [Common Agent Piping Patterns Using Context Hub: A Technical Guide](/andrewyng/context-hub/what-are-common-agent-piping-patterns-using-context-hub)

Discover common agent piping patterns with Andrew Ng's Context Hub. Learn to build complex AI retrieval workflows using jq and xargs with this technical guide.

- Tags: how-to-guide
- Published: 2026-03-20

### [MCP Tools in Context Hub: A Complete Guide to AI Agent Integration](/andrewyng/context-hub/what-are-mcp-tools-in-the-context-of-context-hub)

Discover MCP tools within Context Hub and learn how this AI agent integration gateway leverages JSON-RPC for seamless programmatic control over content registry operations.

- Tags: deep-dive
- Published: 2026-03-20

### [How to Contribute New Documentation to Context Hub: A Step-by-Step Guide](/andrewyng/context-hub/how-can-developers-contribute-new-documentation-to-context-hub)

Learn how developers can contribute new documentation to Context Hub. Follow our step by step guide to structure your documents, validate them locally, and submit a pull request.

- Tags: how-to-guide
- Published: 2026-03-20

### [Context Hub Configuration File Format: Complete YAML Schema and Examples](/andrewyng/context-hub/what-is-the-format-of-the-context-hub-configuration-file)

Understand the Context Hub configuration file format. Explore the complete YAML schema and examples for `~/.chub/config.yaml` to manage your user-level settings effectively.

- Tags: api-reference
- Published: 2026-03-20

### [What Kind of Telemetry Data Does Context Hub Collect? A Complete Technical Breakdown](/andrewyng/context-hub/what-kind-of-telemetry-data-does-context-hub-collect)

Discover the telemetry data Context Hub collects: anonymous usage analytics and user feedback. Learn about event names, CLI version, ratings, and comments with this technical breakdown.

- Tags: deep-dive
- Published: 2026-03-20

### [How the Context Hub Registry Is Built and Maintained: Architecture and CLI Workflow](/andrewyng/context-hub/how-is-the-context-hub-registry-built-and-maintained)

Learn how the Context Hub registry is built and maintained. Explore its architecture and the chub CLI workflow for managing this JSON catalogue.

- Tags: architecture
- Published: 2026-03-20

### [What Are Skills in the Context Hub Ecosystem? A Complete Technical Guide](/andrewyng/context-hub/what-are-skills-in-the-context-hub-ecosystem)

Discover how skills in the Context Hub ecosystem act as behavioral instructions for LLMs and automation agents. Learn to implement specific tasks with this technical guide.

- Tags: deep-dive
- Published: 2026-03-20

### [How to Add Custom Documentation Sources to Context Hub: A Complete Guide](/andrewyng/context-hub/how-to-add-custom-documentation-sources-to-context-hub)

Learn to add custom documentation sources to Context Hub by configuring local directories or remote CDN URLs in your config.yaml. Enhance your knowledge base effortlessly.

- Tags: how-to-guide
- Published: 2026-03-20

### [How Context Hub Handles Version-Specific Documentation: Complete Technical Guide](/andrewyng/context-hub/how-does-context-hub-handle-version-specific-documentation)

Learn how Context Hub handles version specific documentation by parsing SDK versions into a unified registry and resolving them at runtime. Explore the complete technical guide.

- Tags: deep-dive
- Published: 2026-03-20

### [How Tag Filtering Works in Context Hub: A Complete Technical Guide](/andrewyng/context-hub/how-does-tag-filtering-work-in-context-hub)

Discover how tag filtering works in Context Hub with this technical guide. Learn about AND-based logic, normalization, and metadata matching for efficient data management.

- Tags: deep-dive
- Published: 2026-03-20

### [How to Get Context Hub Output in JSON Format for Scripting](/andrewyng/context-hub/how-to-get-context-hub-output-in-json-format-for-scripting)

Get Context Hub output in JSON format for scripting. Add the global --json flag to any CLI command for structured, machine-readable output, enabling easy integration with automation tools.

- Tags: how-to-guide
- Published: 2026-03-20

### [Context Hub Incremental Fetch Flags (--file and --full): A Complete Guide](/andrewyng/context-hub/what-are-incremental-fetch-flags-file-full-in-context-hub)

Master Context Hub's --file and --full incremental fetch flags. Retrieve specific files or full documentation bundles efficiently, saving bandwidth on partial content downloads. Get the complete guide now.

- Tags: deep-dive
- Published: 2026-03-20

### [How Context Hub Manages Its Cache for Documentation: Local Storage Architecture Explained](/andrewyng/context-hub/how-context-hub-manages-its-cache-for-documentation)

Explore Context Hubs local storage architecture for documentation caching. Discover how its tiered lookup system prioritizes local files, falls back to bundled content, and refreshes from remote CDNs.

- Tags: architecture
- Published: 2026-03-20

### [How the Feedback Feature Works in Context Hub: CLI Telemetry and Rating System](/andrewyng/context-hub/what-is-the-purpose-and-functionality-of-the-feedback-feature-in-context-hub)

Explore Context Hub's feedback feature. Rate docs and skills via CLI, sending quality signals privately to the telemetry service. Learn how this CLI telemetry works.

- Tags: how-to-guide
- Published: 2026-03-20

### [How to Specify Language Variants for Documentation in Context Hub](/andrewyng/context-hub/how-to-specify-language-variants-for-documentation-in-context-hub)

Learn to specify language variants for documentation in Context Hub by organizing subdirectories, setting metadata languages, and using the CLI --lang flag. Enhance your documentation management.

- Tags: how-to-guide
- Published: 2026-03-20

### [How to Configure Multiple Sources in Context Hub: A Step-by-Step Guide](/andrewyng/context-hub/how-to-configure-multiple-sources-in-context-hub)

Easily configure multiple sources in Context Hub. Learn step-by-step how to define remote CDNs or local paths in config.yaml for a unified registry view in CLI.

- Tags: how-to-guide
- Published: 2026-03-20

### [How Annotations Persist Across Context Hub Sessions: Local File Storage Deep Dive](/andrewyng/context-hub/how-annotations-persist-across-context-hub-sessions)

Learn how Context Hub persists agent annotations using local file storage. Discover how JSON files in ~/.chub/annotations ensure data survives restarts for seamless workflow.

- Tags: deep-dive
- Published: 2026-03-20

### [How Context Hub's Search Algorithm Works: BM25 and Lexical Fallback Explained](/andrewyng/context-hub/how-context-hubs-search-algorithm-works)

Discover how Context Hub's search algorithm works. Learn about BM25 full-text search and lexical fallback for efficient information retrieval.

- Tags: internals
- Published: 2026-03-20

