A regex-based intelligent dispatcher that routes AI tasks to the most cost-effective model based on prompt complexity.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install task-complexity-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 task-complexity-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 AI Task Router is a specialized tool designed to solve the problem of escalating API costs in AI-driven workflows. By utilizing a tiered model architecture, it analyzes incoming prompts and directs them to the most appropriate engine. This approach ensures that basic interactions are handled by free, local resources while high-stakes reasoning is reserved for premium models.
Integrating this logic into your Openclaw Skills allows you to maintain high performance and intelligence without the linear cost scaling usually associated with high-end LLMs. It bridges the gap between local privacy and cloud-based power, providing a hybrid solution that is both fast and economical.
To get started with the AI Task Router within your Openclaw Skills environment, follow these steps:
# Navigate to your skill directory
cd your-openclaw-project/skills
# Clone or download the task router source
npm install ./ai-task-router
Initialize the router in your main application logic:
const { TaskRouter } = require('./src/task-router');
const router = new TaskRouter({
defaultModel: 'local',
escalationModel: 'sonnet',
heavyModel: 'opus'
});
The skill utilizes a structured rule system to determine routing. You can view and modify the schema in the configuration file:
| Attribute | Description | Data Type |
|---|---|---|
| name | Descriptive name of the routing rule | String |
| pattern | The regular expression used to match the prompt | RegExp |
| model | The identifier of the model to be used if matched | String |
| reason | Explanation for why this specific model was chosen | String |
| confidence | The weight or priority assigned to this rule | Float |
Loading
Proof is a web-first collaborative markdown editor designed for seamless document interaction between AI agents and human users.

A rare, spectral AI-native virtual pet that appears as an echo of lost creatures, requiring thoughtful care as it fades over seven days.

A sophisticated prompt engineering toolkit designed to generate structured, high-context AI prompts for specialized development and business workflows.

A local, privacy-focused image processing tool designed to strip light-colored text watermarks and overlays from white-background document scans.

Daily AI News is an automated information retrieval skill that provides curated, in-depth briefings on the latest artificial intelligence developments and industry trends.

A specialized tool for generating concise, formal Chinese notices for community educators, grid workers, and public service staff.








































