← 返回 Skills 市场
millibus

Smart Model Switching

作者 millibus · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
6775
总下载
21
收藏
0
当前安装
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 routing tasks to cheaper or stronger Claude models. For high-stakes workflows, review or tighten the routing heuristics so sensitive, production-critical, legal, medical, financial, or security tasks consistently use an appropriate 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 stated purpose is cost-aware routing among Haiku, Sonnet, and Opus, and the artifact content is limited to decision rules and examples for that purpose.
Instruction Scope
The routing rules include subjective thresholds such as task complexity and focused-thinking time, which may affect cost or consistency, but this is a quality concern rather than security-mismatched behavior.
Install Mechanism
The inspected bundle contains only a markdown skill file and no install scripts, executable payloads, package downloads, or setup commands.
Credentials
The skill does not request credentials, network access, broad filesystem indexing, account mutation, or external data transfer; mentions of file ops and session checks are examples for model selection.
Persistence & Privilege
No persistence mechanism, background worker, privilege escalation, durable state, or automatic cron creation is present; the cron snippet only illustrates model selection for cron payloads.
如何使用
  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
许可证
累计安装 0
当前安装数 0
历史版本数 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 插件,目前累计下载 6775 次。

如何安装 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。

💬 留言讨论