← Back to Skills Marketplace
millibus

Smart Model Switching

by millibus · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
6929
Downloads
21
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install smart-model-switching
Description
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.
Usage Guidance
Install this if you want model-selection guidance for Claude tier routing. Be aware it is Claude-specific and may bias agents toward cheaper models for simple work, so review important or high-stakes tasks if model quality matters.
Capability Analysis
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.
Capability Assessment
✓ Credentials
The skill does not request local files, credentials, network access, account data, or broad environment authority beyond influencing model choice.
✓ Install Mechanism
The inspected artifact consists only of artifact/SKILL.md; no scripts, dependencies, package hooks, or external payload retrieval are present.
ℹ Instruction Scope
It gives natural-language rules and examples for subagent and cron model selection, but does not contain executable code or instructions to bypass user control.
✓ Persistence & Privilege
There is no cross-session persistence mechanism, privilege escalation, background service, scheduled task installation, or memory-writing instruction.
✓ Purpose & Capability
The skill's stated purpose is to route work across Claude Haiku, Sonnet, and Opus by task complexity and cost; its content stays within that model-selection guidance.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smart-model-switching
  3. After installation, invoke the skill by name or use /smart-model-switching
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - Three-tier Claude routing for cost optimization
Metadata
Slug smart-model-switching
Version 1.0.0
License —
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 6929 downloads so far.

How do I install Smart Model Switching?

Run "/install smart-model-switching" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Smart Model Switching free?

Yes, Smart Model Switching is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Smart Model Switching support?

Smart Model Switching is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Smart Model Switching?

It is built and maintained by millibus (@millibus); the current version is v1.0.0.

💬 Comments