搜索

PythonReactSEOPDF
OpenClaw

smart-model-router

Stop sending 'format this JSON' to Opus. Stop sending 'redesign the auth system' to Haiku. Smart Model Router picks the right brain for every task — decision tree, cost tiers, and an optional cheap-model classifier for the ambiguous ones.

globalcaos0 来源安装数☆ 0 仓库 Starsv1.2.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install globalcaos/smart-model-router

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Model Router

Automatically select the right LLM for any task. Stop overpaying for simple tasks. Stop under-powering complex ones.

Quick Decision: Can You Route Without a Classifier?

Most tasks fit obvious categories. Check the Fast Route Table first. Only use the classifier for ambiguous cases.

Fast Route Table
Signal in task Route to Why
"what time" / "what date" / simple lookup flash Zero reasoning needed
Format conversion, CSV→JSON, extract fields flash Mechanical transformation
Summarize text, list bullet points fast Pattern matching, not reasoning
Translate text fast Well-trained capability across all models
Write code, implement feature, refactor mid Needs structured thinking
Review code, find bugs, security audit mid Analysis without deep creativity
Draft email, write content mid Needs tone + context awareness
Research + synthesize from multiple sources mid Needs breadth, not max depth
Debug complex system, multi-file investigation strong Needs deep reasoning chains
Reflect on failures, self-improvement strong Requires genuine metacognition
Creative writing with nuance strong Judgment + style + originality
Math proofs, formal logic, complex reasoning reasoning Chain-of-thought specialist
Architectural decisions, tradeoff analysis strong Needs weighing multiple factors
Tier → Model Mapping

Configure these based on your available providers:

Tier Default Model Alternatives Cost (per 100-token query)
flash gemini-flash haiku ~$0.00007
fast haiku gemini-flash, gpt-4o-mini ~$0.0003
mid sonnet gpt-5.2, gemini ~$0.001
strong opus gpt-5.2-pro, gemini ~$0.003
reasoning openai/o3 opus (with thinking) ~$0.002

The "Good Enough" Principle

**Not ev...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/globalcaos/smart-model-router
Version
1.2.0
Commit
d680fb4d163b49add95a8c6440da3a4a6f8420b9
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Model Router

Automatically select the right LLM for any task. Stop overpaying for simple tasks. Stop under-powering complex ones.

## Quick Decision: Can You Route Without a Classifier?

Most tasks fit obvious categories. Check the **Fast Route Table** first. Only use the classifier for ambiguous cases.

### Fast Route Table

| Signal in task | Route to | Why |
|---|---|---|
| "what time" / "what date" / simple lookup | **flash** | Zero reasoning needed |
| Format conversion, CSV→JSON, extract fields | **flash** | Mechanical transformation |
| Summarize text, list bullet points | **fast** | Pattern matching, not reasoning |
| Translate text | **fast** | Well-trained capability across all models |
| Write code, implement feature, refactor | **mid** | Needs structured thinking |
| Review code, find bugs, security audit | **mid** | Analysis without deep creativity |
| Draft email, write content | **mid** | Needs tone + context awareness |
| Research + synthesize from multiple sources | **mid** | Needs breadth, not max depth |
| Debug complex system, multi-file investigation | **strong** | Needs deep reasoning chains |
| Reflect on failures, self-improvement | **strong** | Requires genuine metacognition |
| Creative writing with nuance | **strong** | Judgment + style + originality |
| Math proofs, formal logic, complex reasoning | **reasoning** | Chain-of-thought specialist |
| Architectural decisions, tradeoff analysis | **strong** | Needs weighing multiple factors |

### Tier → Model Mapping

Configure these based on your available providers:

| Tier | Default Model | Alternatives | Cost (per 100-token query) |
|---|---|---|---|
| **flash** | `gemini-flash` | `haiku` | ~$0.00007 |
| **fast** | `haiku` | `gemini-flash`, `gpt-4o-mini` | ~$0.0003 |
| **mid** | `sonnet` | `gpt-5.2`, `gemini` | ~$0.001 |
| **strong** | `opus` | `gpt-5.2-pro`, `gemini` | ~$0.003 |
| **reasoning** | `openai/o3` | `opus` (with thinking) | ~$0.002 |

## The "Good Enough" Principle

**Not ev...

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.