An intelligent routing system that automatically selects the optimal AI model based on task complexity to balance speed, cost, and response quality.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install model-router-hook
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 model-router-hook using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Model Router Hook is a sophisticated orchestration layer designed to optimize the efficiency of AI agents. It acts as a smart gateway that analyzes user intent and task difficulty in real-time to determine whether a query requires a high-reasoning 'thinking' model or a cost-effective 'fast' model. By utilizing 14 depth signals, this system ensures that developers can deliver high-quality responses without overspending on expensive API tokens.
As a core component of the Openclaw Skills ecosystem, it provides a structured P0-P5 architecture covering everything from intent recognition to automated cost control. The system doesn't just route; it learns from every interaction, refining its dynamic thresholds based on user preferences and session history to provide an increasingly tailored experience.
To deploy this skill, include the main script in your environment and initialize the router with your specific budget constraints. Use the following bash command to ensure your workspace is ready:
mkdir -p ~/.openclaw/workspace/memory/model-router/
Then, initialize the router in your Python application:
from model_router_hook import create_router
router = create_router(
user_id="user_001",
daily_budget=5.0
)
The skill organizes its persistent data within the OpenClaw workspace using a structured JSON-based taxonomy:
| Data Component | File Pattern | Purpose |
|---|---|---|
| Global User Profile | user_{id}_profile.json |
Stores long-term user preferences and learned thresholds. |
| Session Memory | session_{id}_memory.json |
Maintains short-term context for active conversations. |
| Cost Tracking | cost_{user}_{month}.jsonl |
Provides itemized records of input/output tokens and actual spend. |
Loading
A specialized automation utility that monitors and restores the OpenClaw Browser Relay connection using native mouse controls.

A persistent memory plugin for AI agents that enables hybrid keyword and semantic search for long-term context retention.

A smart surf forecast engine that evaluates conditions against specific quality thresholds and alerts you when it is time to paddle out.

An AI-powered travel assistant skill that enables destination discovery and flight route searching through the Jinko MCP server.

An AI-powered email marketing assistant that integrates Openclaw Skills with the Kit API to manage broadcasts, subscriber segments, and brand-aligned content.

A specialized developer tool designed to scaffold high-quality Openclaw Skills featuring conversational setup wizards and persistent configuration.








































