← 返回 Skills 市场
millibus

Smart Model Switching

作者 millibus · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
6326
总下载
21
收藏
49
当前安装
1
版本数
在 OpenClaw 中安装
/install smart-model-switching
功能描述
Auto-route tasks to the cheapest Claude model that works correctly. Three-tier progression: Haiku → Sonnet → Opus. Classify before responding. HAIKU (default): factual Q&A, greetings, reminders, status checks, lookups, simple file ops, heartbeats, casual chat, 1-2 sentence tasks. ESCALATE TO SONNET: code >10 lines, analysis, comparisons, planning, reports, multi-step reasoning, tables, long writing >3 paragraphs, summarization, research synthesis, most user conversations. ESCALATE TO OPUS: architecture decisions, complex debugging, multi-file refactoring, strategic planning, nuanced judgment, deep research, critical production decisions. Rule: If a human needs >30 seconds of focused thinking, escalate. If Sonnet struggles with complexity, go to Opus. Save 50-90% on API costs by starting cheap and escalating only when needed.
安全使用建议
Install this if you want lightweight guidance for choosing cheaper or stronger Claude models. Review the routing heuristics if your workflows include high-stakes security, production, legal, medical, or financial tasks, where you may want stricter rules to always use a higher-capability model.
功能分析
Type: OpenClaw Skill Name: smart-model-switching Version: 1.0.0 The skill bundle is benign. It provides instructions in SKILL.md for an OpenClaw agent to intelligently select the appropriate Claude model (Haiku, Sonnet, Opus) based on task complexity to optimize API costs. All content, including the markdown instructions and code snippets, is clearly aligned with this stated purpose and lacks any indicators of malicious intent, data exfiltration, unauthorized execution, persistence mechanisms, or harmful prompt injection attempts against the agent.
能力评估
Purpose & Capability
The described purpose is cost- and quality-aware Claude model routing, and the observed capability is limited to guidance for choosing Haiku, Sonnet, or Opus based on task complexity.
Instruction Scope
The routing rules are somewhat subjective, which can affect reliability or cost, but that is expected for this kind of guidance and does not show security-sensitive authority or hidden behavior.
Install Mechanism
No artifact-backed evidence indicates install-time scripts, package execution, downloads, or privileged setup beyond normal skill installation.
Credentials
The skill does not appear to request filesystem, credential, network, account, or mutation access; its effect is proportionate to model-selection advice.
Persistence & Privilege
No persistence mechanism, background worker, cron job, privilege escalation, or durable local state is indicated.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smart-model-switching
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smart-model-switching 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Three-tier Claude routing for cost optimization
元数据
Slug smart-model-switching
版本 1.0.0
许可证
累计安装 238
当前安装数 49
历史版本数 1
常见问题

Smart Model Switching 是什么?

Auto-route tasks to the cheapest Claude model that works correctly. Three-tier progression: Haiku → Sonnet → Opus. Classify before responding. HAIKU (default): factual Q&A, greetings, reminders, status checks, lookups, simple file ops, heartbeats, casual chat, 1-2 sentence tasks. ESCALATE TO SONNET: code >10 lines, analysis, comparisons, planning, reports, multi-step reasoning, tables, long writing >3 paragraphs, summarization, research synthesis, most user conversations. ESCALATE TO OPUS: architecture decisions, complex debugging, multi-file refactoring, strategic planning, nuanced judgment, deep research, critical production decisions. Rule: If a human needs >30 seconds of focused thinking, escalate. If Sonnet struggles with complexity, go to Opus. Save 50-90% on API costs by starting cheap and escalating only when needed. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 6326 次。

如何安装 Smart Model Switching?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-model-switching」即可一键安装,无需额外配置。

Smart Model Switching 是免费的吗?

是的,Smart Model Switching 完全免费(开源免费),可自由下载、安装和使用。

Smart Model Switching 支持哪些平台?

Smart Model Switching 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Smart Model Switching?

由 millibus(@millibus)开发并维护,当前版本 v1.0.0。

💬 留言讨论