An intelligent, intent-based model router that automatically detects your prompt's context and routes it to the optimal AI agent.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install smart-router-ai
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 smart-router-ai using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Smart Model Router is an advanced, automated utility designed to eliminate the friction of manually selecting AI models during development workflows. Built to integrate seamlessly with Openclaw Skills, this router analyzes natural language prompts to determine if you are trying to fix a bug, plan system architecture, or engage in creative conversational flow. By auto-detecting intent through keyword and pattern matching, it ensures your queries are routed to the most capable local or cloud-based model instantly.
Using this capability allows developers to maintain a single interface while benefitting from specialized LLMs. Rather than manually switching agents, you simply type your command. This skill increases task efficiency, drastically reduces cognitive offload, and helps teams maximize the utility of their Openclaw Skills infrastructure.
Ensure you have a working OpenClaw agent system on Linux or Termux (Android) with at least two configured agents. Follow these commands to set up this Openclaw Skills add-on:
# Run the automated setup script
bash scripts/setup.sh
# Append the router aliases to your shell configuration
echo 'source ~/.openclaw/workspace/intent-router-aliases.sh' >> ~/.zshrc
source ~/.zshrc
# Verify your intent detection setup
router-test "my app keeps crashing with null pointer"
The Smart Model Router organizes its configuration, aliases, and logging history in the following schema:
| File / Resource | Location / Command | Description |
|---|---|---|
| Router Aliases | ~/.openclaw/workspace/intent-router-aliases.sh |
Bash/Zsh shell aliases (fix, plan, flow, ask) for direct command-line execution |
| Analytics Export | report.json |
Generated JSON report detailing routing distribution, hits, and confidence scores |
| History Logs | router-history |
Internal database tracking recent intent classifications and model destinations |
| Intent | Trigger Words | Default Targeted Agent |
|---|---|---|
| fix | bug, error, crash, broken, exception, fail, debug, issue, problem, stuck | cloud-code (CodeLLaMA) |
| plan | design, architect, structure, how should, approach, strategy, pattern | deepseek-r1 (Architect) |
| flow | Default / Fallback | kimi-k2.5:cloud (main) |
router-dashboard to view detailed real-time routing statistics and model usage analytics.--intent and --model CLI flags (e.g., ask --intent fix --model deepseek-r1 \"Debug this race condition\").router-history --last 20 command.--export flag for team performance monitoring or auditing within your Openclaw Skills suite.Loading
A secure, multi-account command-line email client designed for AI agents using Openclaw Skills to safely read, search, and manage Gmail, Outlook, and Exchange inboxes.

Prevent subagent crashes caused by tool schema bloat by auditing your MCP configuration and generating optimized, role-specific setups.

An AI-driven research agent that automatically compiles regulatory filings, analyst consensus, and financial metrics to produce professional briefing packages for A-share investor meetings.

An automated migration skill that translates native WeChat Mini Programs into cross-platform uni-app projects featuring Vue3 and TypeScript.

A privacy-first, lightweight Model Context Protocol server for Termux and Linux environments that exposes file access, grep, and bash execution tools to offline Ollama models.

An AI-powered sales automation tool that extracts data from business card photos, conducts deep brand research, and drafts visually stunning email outreach.








































