model-switcher
Automatically switch between fast (haiku) and powerful (sonnet) models based on task complexity. Triggers when detecting complex tasks like analysis, refactoring, architecture design, optimization, or when user explicitly mentions model switching needs.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- model-switcher
- description
- Automatically switch between fast (haiku) and powerful (sonnet) models based on task complexity. Triggers when detecting complex tasks like analysis, refactoring, architecture design, optimization, or when user explicitly mentions model switching needs.
03 SKILL.md 正文
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:
// 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
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
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.