smart-model-router

SKILLAI 工具
AI 工具 未标注权限 许可证不明确
安装这个技能

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.

一句话选型结论

按资料字段整理

smart-model-router是AI 工具类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类AI 工具 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_15292d5a/yjkj-smart-model-router
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

AI 工具
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_15292d5a仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791673992
正文体量10.6 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
组合多个 AI 能力

把写作、检索、总结串成一条流程。

搭工作流

把固定流程做成可重复调用的步骤。

做提示词与评测

整理提示词并对比输出效果。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在AI 工具场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
smart-model-router当前 未标注权限 未标注 未标注 未标注 有
执行计划 只读 GitHub 仓库 151.5 万 Codex、Claude、Cursor 有
Playwright MCP 测试 浏览器控制 ClawHub 市场 136.5 万 OpenClaw 有
完成前的验证 未标注权限 GitHub 仓库 131.9 万 Codex、Claude、Cursor 有
子 Agent 驱动开发 只读 GitHub 仓库 131.2 万 Codex、Claude、Cursor 有
前端设计 执行命令 GitHub 仓库 125.6 万 Codex、Claude、Cursor 有

SKILL.md 全文

10.6 KB
模型实际读到的说明书原文,来自技能仓库

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 every task needs the smartest model. Most tasks need a fast, cheap, correct one.

Definitely Does NOT Need Big Brains (flash/fast tier)

These tasks have a single correct answer or a mechanical transformation. No model does them "better" — they all get it right. Use the cheapest:

  • Date/time queries, timezone conversions
  • Regex generation, string formatting
  • JSON/CSV/XML transformations
  • Template filling (mail merge, form letters)
  • Data extraction from structured text
  • Simple Q&A with context provided
  • Spell checking, grammar fixes
  • File listing, directory scanning summaries
  • Status checks, health report formatting
  • Translating short text

Needs Real Intelligence (mid tier)

These tasks benefit from a good model but don't need the frontier. The gap between mid and strong is <5% quality for 5x the cost:

  • Code generation (functions, classes, modules)
  • Code review and bug finding
  • Content writing (blog posts, documentation)
  • Email drafting with tone awareness
  • Data analysis with narrative
  • API integration code
  • Test generation
  • Summarizing long documents
  • Morning briefings, daily reports

Actually Needs Top Tier (strong)

Only route here when the task genuinely requires deep reasoning or creativity that cheaper models measurably fail at:

  • Multi-step debugging across files
  • Architectural refactoring decisions
  • Self-reflection and failure analysis (wind-down)
  • Nuanced judgment calls (should we do X or Y?)
  • Creative writing with specific voice/style
  • Complex negotiation drafting
  • Synthesizing contradictory information
  • Tasks where being wrong has high cost

Classifier Prompt (For Ambiguous Cases)

When the Fast Route Table doesn't clearly match, use a cheap model to classify. Send this to gemini-flash or haiku:

Classify this task into exactly one tier. Reply with ONLY the tier name.

Tiers:
- flash: mechanical lookup, formatting, simple extraction
- fast: summarization, translation, template work
- mid: code generation, content writing, analysis, drafting
- strong: complex debugging, self-reflection, creative writing, architectural decisions
- reasoning: math proofs, formal logic, multi-step deduction

Task: {TASK_DESCRIPTION}

Tier:

Cost: ~20 tokens (~$0.000001). Negligible.

Generosity Rule (When in Doubt, Go Up)

If the classifier returns a tier but you're unsure:
- Non-critical task → trust the classifier
- User-facing output → go one tier up
- Irreversible action → always use strong
- Ambiguous between two tiers → pick the higher one

This is the "generous in doubt" principle: overspending 1¢ on a better model costs less than a bad result that needs re-doing.

Integration with OpenClaw

Sub-agent spawning

// Before (manual):
sessions_spawn({ task: &quot;Review this PR&quot;, model: &quot;sonnet&quot; })

// After (auto-routed):
// 1. Check Fast Route Table → &quot;Review code&quot; → mid → sonnet
sessions_spawn({ task: &quot;Review this PR&quot;, model: &quot;sonnet&quot; })

// For ambiguous tasks:
// 1. Fast Route doesn&#x27;t match clearly
// 2. Send classifier prompt to gemini-flash
// 3. Get tier → map to model
// 4. Spawn with that model

Cron job model assignment

Use the table when creating or reviewing crons:

heartbeat:        flash  → qwen3 (local, free)
cleaning-lady:    fast   → sonnet
morning-briefing: mid    → sonnet
code review:      mid    → sonnet
wind-down:        strong → opus
self-evolution:   strong → opus

Agent-level rule (add to AGENTS.md)

## Model Routing

When spawning sub-agents, auto-select model by task type:
- Mechanical/extraction/formatting → gemini-flash
- Summarization/translation → haiku
- Coding/drafting/analysis → sonnet
- Deep reasoning/self-reflection → opus
- Math/logic/chain-of-thought → o3
When in doubt, go one tier up. Overpaying 1¢ beats re-doing work.

Provider Strengths (2026 Benchmarks)

For detailed model comparisons, see references/model-strengths.md.

Quick reference for tier selection when multiple models are available at the same tier:

Strength Best provider Why
Coding (Terminal-Bench) Claude (Opus/Sonnet) 65.4 score, leads benchmarks
Large context (>200K) Gemini 1M window, native long-doc
Multimodal (images/video) Gemini Full video processing
Structured feedback GPT Calibrated, consistent format
Chain-of-thought reasoning o3 Purpose-built for deduction
Speed + cost efficiency Gemini Flash Fastest, cheapest tier
Creative/nuanced writing Opus Best subjective quality

Cron & Sub-Agent Routing

The router applies to ALL model selections, including:
- Sub-agents spawned by cron jobs (not just interactive)
- Sub-agents spawned by other sub-agents (recursive routing)
- Cron job model assignment at creation time
- The classifier model itself (always flash)

Cron Model Assignment

heartbeat:        flash/local  → qwen3 (free)
cleaning-lady:    fast         → haiku or sonnet
morning-briefing: mid          → sonnet
code review:      mid          → sonnet (or gpt for cross-model review)
wind-down:        strong       → opus (needs metacognition)
self-evolution:   strong       → opus
research reports: mid          → gemini (large context)

Sub-Agent Spawning Rule

When a cron job spawns sub-agents, EACH sub-agent gets its own tier:

Cron: morning-briefing (sonnet)
  └── Sub-agent: check emails → fast (haiku)
  └── Sub-agent: calendar summary → flash (gemini-flash)
  └── Sub-agent: draft briefing text → mid (sonnet)

Big Task Orchestration

For complex multi-step tasks, see references/task-orchestration.md:
- Hierarchical supervisor → workers pattern
- Pipeline pattern (gather → analyze → synthesize)
- Parallel fan-out with merge
- Context isolation to prevent collapse
- Claude Code architecture lessons (reverse-engineered)

Chain-of-Thought Optimization

Match CoT technique to tier for maximum ROI. See references/chain-of-thought.md:
- flash/fast: no CoT (tasks too simple)
- mid: structured CoT for complex sub-tasks
- strong: full CoT, Tree of Thought
- reasoning (o3): native CoT (don't prompt for it)

What to Keep in Bootstrap vs Auxiliary Files

In AGENTS.md (every prompt): Only the routing rule (7 lines):

When spawning sub-agents, auto-select model by task type:
- Mechanical/extraction/formatting → gemini-flash
- Summarization/translation → haiku
- Coding/drafting/analysis → sonnet
- Deep reasoning/self-reflection → opus
- Math/logic/chain-of-thought → o3
- Reviews/second opinions → gpt
When in doubt, go one tier up.

In this skill (loaded on demand): The full routing table, classifier prompt, tier definitions, provider strengths.

In reference files (loaded only when needed):
- references/model-strengths.md — detailed benchmarks and per-provider analysis
- references/task-orchestration.md — big task decomposition, Claude Code architecture
- references/chain-of-thought.md — CoT techniques matched to tiers

This follows the progressive disclosure principle: 7 lines always loaded, full skill on demand (~5KB), deep references only when the task requires them.

Anti-Patterns

  • ❌ Using Opus for "what time is it" (flash task, 40x overspend)
  • ❌ Using Flash for debugging a race condition (will miss it)
  • ❌ Always defaulting to one model (defeats the purpose)
  • ❌ Routing user-facing content to the cheapest model (quality matters)
  • ❌ Classifying every task (most fit the Fast Route Table obviously)
  • ❌ Putting the full routing table in bootstrap files (wastes tokens every prompt)
  • ❌ Not routing cron sub-agents (they spend tokens too)
  • ❌ Self-reviewing output (use a different model for review)

Pairs Well With

  • model-prompt-adapter — once Router picks the model, Adapter fixes its quirks
  • subagent-overseer — monitor the sub-agents you're routing models for
  • agent-superpowers — the full engineering pipeline these routed agents should follow

👉 https://github.com/globalcaos/tinkerclaw

Clone it. Fork it. Break it. Make it yours.

常见问题

5 问
答案由本站依据条目字段整理
smart-model-router怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_15292d5a/yjkj-smart-model-router。安装方式为未标注。装完刷新技能列表或重开客户端。

smart-model-router支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

smart-model-router权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

smart-model-router收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

smart-model-router用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。