An automated model routing skill that dynamically switches between Claude Sonnet 4.5 and Opus 4.6 based on task complexity to balance cost and quality.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install rey-model-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 rey-model-router using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Intelligent Model Router is a specialized enhancement for AI coding agents within the Openclaw Skills ecosystem. It acts as an intelligent traffic controller, analyzing user prompts to determine whether a task is routine or complex. By defaulting to Claude Sonnet 4.5 for daily operations and escalating to Opus 4.6 only when high-level reasoning or complex coding is required, it ensures maximum output quality without unnecessary expenditure.
Beyond simple routing, this skill includes a robust fallback mechanism. If an agent hits subscription rate limits (such as 429 Too Many Requests errors), the router automatically switches to a backup API key, ensuring uninterrupted workflow for professional developers and teams.
To integrate this routing logic into your environment, configure the following environment variables in your terminal or configuration file:
# Set your backup API key for rate limit fallback
export ANTHROPIC_API_KEY_BACKUP="sk-ant-..."
# Enable the fallback functionality
export SUBSCRIPTION_FALLBACK_ENABLED=true
# Configure reset intervals (in hours or days)
export SUBSCRIPTION_RESET_HOURS=6
Once configured, the Openclaw Skills router will operate automatically in the background.
The Intelligent Model Router tracks the following metadata to optimize model selection and cost reporting:
| Attribute | Type | Description |
|---|---|---|
| Active Model | String | The current LLM being utilized (Sonnet 4.5 or Opus 4.6). |
| Complexity Score | Integer | Internal 0-10 score based on reasoning requirements. |
| Fallback Status | Boolean | Indicates if the agent is currently using the backup API key. |
| Estimated Cost | Float | Tracks USD expenditure during API fallback sessions. |
Loading
A sophisticated hierarchical memory system that enables AI agents to retain long-term context and personal growth without session bloat.

A professional growth engine for LinkedIn that automates content publishing, network expansion, and B2B lead acquisition.

A robust automation tool for generating professional, tax-compliant PDF invoices from structured data.

A comprehensive autonomous coding framework designed to ensure code quality, security, and efficiency across multiple programming environments.

A professional-grade image generation skill powered by Gemini that excels at rendering Japanese text and creating platform-optimized visuals.

A robust network discovery and port auditing tool for mapping local devices and identifying security vulnerabilities using nmap.








































