context-hub-bridge

Route agent queries to external API docs, internal knowledge, and coding patterns.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/tuyenht/Antigravity-Core --skill context-hub-bridge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-hub-bridge
Source: https://github.com/tuyenht/Antigravity-Core/tree/main/.agent/skills/context-hub-bridge
Command: npx skills add https://github.com/tuyenht/Antigravity-Core --skill context-hub-bridge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill acts as a smart router, ensuring agents use the most relevant knowledge source – whether it's external API documentation via Context Hub, internal project knowledge, or established coding patterns. It prevents agents from guessing or using outdated information.

Core Features & Use Cases

  • Intelligent Routing: Directs agents to chub for third-party APIs (Stripe, OpenAI), Antigravity Skills for patterns, or Antigravity KI for project specifics.
  • API Documentation Access: Facilitates searching and fetching up-to-date API documentation using the chub CLI.
  • Learning Persistence: Enables agents to annotate and recall specific API usage notes or gotchas for future sessions.
  • Use Case: An agent needs to integrate with the Stripe API. This Skill ensures the agent first uses chub search stripe and chub get stripe/api to retrieve the latest documentation before writing any code, and then annotates any discovered version-specific requirements.

Quick Start

Use the context-hub-bridge skill to search for documentation related to the 'openai chat' API.

Frequently Asked Questions about context-hub-bridge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve external API documentation for my AI agent?

To retrieve external API documentation, agents use the chub CLI to search and fetch up-to-date specs for third-party APIs. This routing layer directs agents to query chub for the latest docs before writing any integration code.

What is the best way to manage token budgets when fetching large API docs?

Managing token budgets involves using the incremental fetching guidance provided by the context-hub-bridge. It directs agents to fetch API documentation in chunks, preventing context window overflow while maintaining access to necessary external API specs.

How does agent routing work for accessing internal project knowledge versus external API docs?

Agent routing prioritizes external API documentation via Context Hub, then falls back to internal project knowledge, and finally checks established coding patterns. This ensures the agent uses the most relevant knowledge source available for the query.

Can I annotate API usage notes and gotchas for future agent sessions?

Yes, you can annotate API usage notes and gotchas for future sessions. The learning persistence feature enables agents to recall specific version requirements or integration notes discovered during previous external API documentation fetches.

How do I integrate with the Stripe API without using outdated documentation?

To integrate with Stripe without outdated docs, the agent first uses chub search stripe and chub get stripe/api to retrieve the latest documentation. This ensures accurate, current external API documentation before writing any code.