✓ Verified
💻 Development
✓ Enhanced Data
Model Switcher
Automatically switch between fast (haiku) and powerful (sonnet) models based on task complexity.
- Rating
- 3.8 (426 reviews)
- Downloads
- 688 downloads
- Version
- 1.0.0
Overview
Automatically switch between fast (haiku) and powerful (sonnet) models based on task complexity.
Complete Documentation
View Source →
Model Switcher
Automatically detect task complexity and switch to the appropriate model.
Model Configuration
Based on your setup:
- Fast model (haiku):
custom-kiro-cli-vipdump-eu-org/claude-haiku-4-5- For simple, quick tasks - Powerful model (sonnet):
custom-kiro-cli-vipdump-eu-org/claude-sonnet-4-5- For complex analysis
Trigger Keywords (Chinese)
Switch to sonnet when message contains:
- 分析、深入分析、详细分析
- 重构、代码重构
- 架构、系统架构、设计架构
- 设计、系统设计
- 优化、性能优化
- 复杂、复杂问题
- 调试、深度调试
- 评估、技术评估
Workflow
- Check current model using
session_status - Detect keywords in user message
- Switch if needed:
- Complex task detected + currently on haiku → switch to sonnet
- Simple task + currently on sonnet → optionally switch back to haiku
- Inform user briefly about the switch
Implementation
Use session_status tool with model parameter:
javascript
// Switch to sonnet for complex tasks
session_status({ model: "kiro-cli" })
// Switch back to haiku for simple tasks
session_status({ model: "haiku" })
// Reset to default
session_status({ model: "default" })
Example Detection Logic
text
User message: "帮我分析一下这个系统的架构"
→ Contains: "分析", "架构"
→ Action: Switch to sonnet if not already on it
→ Response: "🔄 切换到 sonnet 模型来处理这个复杂任务..."
Notes
- Be smart about switching - don't switch for every message
- Batch related complex tasks on sonnet before switching back
- Inform user only on actual switches, not when already on correct model
- Consider context: if already discussing complex topic, stay on sonnet
Installation
Terminal bash
openclaw install model-switcher
Copied!
💻Code Examples
example.js
// Switch to sonnet for complex tasks
session_status({ model: "kiro-cli" })
// Switch back to haiku for simple tasks
session_status({ model: "haiku" })
// Reset to default
session_status({ model: "default" })example.txt
User message: "帮我分析一下这个系统的架构"
→ Contains: "分析", "架构"
→ Action: Switch to sonnet if not already on it
→ Response: "🔄 切换到 sonnet 模型来处理这个复杂任务..."Tags
#coding_agents-and-ides
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author puaservice
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install model-switcher
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0