A lightweight routing layer designed to classify query intent and direct AI agents to the most relevant knowledge source without redundant reading.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install knowledge-router
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install knowledge-router using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Knowledge Router acts as a sophisticated traffic controller for your AI's information ecosystem. Instead of performing exhaustive searches across all available data, it builds a lightweight routing layer across existing sources like MEMORY.md, daily logs, and skill references. This tool is essential for managing Openclaw Skills by ensuring that the agent decides where a question should be answered from before consuming excessive tokens or processing time.
By unifying the knowledge index, it distinguishes between rules, facts, methods, and evidence. This results in a cleaner, faster, and more logical retrieval process that prevents the accumulation of redundant data and focuses on high-quality recommendations based on clearly justified sources.
To integrate this capability into your Openclaw Skills environment, ensure you have the necessary reference files and python environment ready.
# Navigate to your agent's skill directory
cd skills/knowledge-router
# Run the router script with a query
python3 scripts/knowledge_router.py "How do I handle state?" --scope general --output report.txt
Ensure that your references/ directory contains source-types.md and routing-rules.md to provide the logic for the classification engine.
The Knowledge Router organizes information through a strict taxonomy defined in the references/ directory:
| File | Purpose |
|---|---|
source-types.md |
Defines the knowledge source model (e.g., Memory vs. Audit). |
routing-rules.md |
Maps query intent (fact/method) to specific sources. |
promotion-rules.md |
Criteria for moving data from logs to durable documentation. |
report-format.md |
Standardizes the output structure of the routing report. |
Data is treated hierarchically, where audit logs serve as evidence and MEMORY.md acts as a primary state layer.
--scope flag to limit routing logic to specific domains or projects.release-minimal.md to ensure the public interface of your Openclaw Skills remains clean and focused.Loading
A lightweight chat automation tool that maps numerical inputs to predefined conversational responses.

A financial health advisor for SaaS businesses that turns raw revenue and customer data into actionable growth insights and industry benchmarks.

A comprehensive AI agent skill for fetching, summarizing, and navigating daily news updates and trending articles via specialized APIs.

A sophisticated vision analysis skill that utilizes Zhipu AI's GLM-4V-Flash multimodal API to interpret and describe image content for automated workflows.

A local-first CLI toolkit for YouTube creators to draft scripts, optimize for SEO, and manage the entire video production lifecycle.

A comprehensive technical SEO auditing tool designed for AI agents to generate actionable insights and engine-specific reports.








































