Knowledge Router

Route technical documentation queries to curated skills, Context7, or both.

4|2|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/jawwad-ali/claude-code-skills --skill knowledge-router-jawwad-ali
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Knowledge Router
Source: https://github.com/jawwad-ali/claude-code-skills/tree/main/.claude/skills/knowledge-router
Command: npx skills add https://github.com/jawwad-ali/claude-code-skills --skill knowledge-router-jawwad-ali

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill should be used internally to decide when to use curated skills versus Context7 MCP for documentation lookups. Use this when handling technical questions about frameworks, libraries, or APIs to determine the optimal knowledge retrieval strategy.

Core Features & Use Cases

  • Decision framework for routing knowledge requests between curated skills and Context7 MCP server.
  • Query classification and routing rules to decide whether to use SKILL, CONTEXT7, or HYBRID.
  • Execution protocols that describe how to load skills, query Context7, and synthesize results.
  • Use Cases: internal QA and devops assistants handling questions about FastAPI, Next.js, Pydantic, or other tech docs with minimal latency.

Quick Start

Route a user question to the appropriate knowledge source (curated skill, Context7, or both) using Knowledge Router.

Frequently Asked Questions about Knowledge Router

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

FAQPage Schema
How do I route documentation lookups between curated skills and Context7?

Documentation lookups are routed by classifying a technical query to decide whether to use curated skills, Context7, or a hybrid approach. This classification determines the optimal knowledge retrieval strategy to deliver accurate framework and API answers.

When should I use a hybrid approach for technical API lookups?

A hybrid approach for API lookups is used when a technical query requires both pattern-based context and specific API references. Routing rules evaluate the query classification to execute both curated skills and Context7 simultaneously for a synthesized result.

What is the best way to retrieve framework documentation for FastAPI or Next.js?

The best way to retrieve framework documentation for FastAPI or Next.js is to use a routing decision framework. It evaluates the query to load relevant curated skills or query Context7, minimizing latency while delivering accurate technical answers.

Does this knowledge routing strategy require any specific dependencies to function?

No specific dependencies are required to implement this knowledge routing strategy. It operates as an internal decision framework that classifies queries and manages the execution protocols for loading skills and querying the Context7 MCP server.

Can I use this query classification system for internal devops assistants?

Yes, you can use this query classification system for internal devops assistants. It is specifically designed to handle technical questions about frameworks and libraries, enabling devops and QA assistants to retrieve accurate documentation with minimal latency.

What are the limitations of using Context7 versus curated skills for library documentation?

Using Context7 alone provides API references but may lack pattern-based context, whereas curated skills offer patterns but might miss specific API details. The router mitigates these limitations by routing queries to a hybrid approach when both are needed.