Search

PythonReactSEOPDF
OpenClaw

smart-model-switcher-v2

Optimized Smart Model Switcher (v2) - Zero-latency, no restart required. Automatically selects and switches to the best available model for each task from your purchased plan. Runtime model selection with <100ms latency. Supports auto-detection of new models, multi-model parallel processing, and intelligent task classification. Always uses the strongest model within your plan.

davidme60 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install davidme6/smart-model-switcher-v2

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

🧠 Smart Model Switcher V2 (Optimized)

Zero-Latency • No Restart • Runtime Switching

🎯 What's New in V2

Feature V1 V2
Restart Required ❌ Yes ✅ No
Switch Latency 5-10s <100ms
Model Preloading ❌ No ✅ Yes
Parallel Processing ❌ No ✅ Yes
Auto Model Discovery ❌ No ✅ Yes
Fallback Logic Basic Advanced
Performance Low High

🚀 New Features

1. Zero-Latency Switching
  • No gateway restart needed
  • Runtime model selection
  • <100ms switching latency
  • User-transparent operation
2. Model Preloading
  • All plan models preloaded at startup
  • Instant switching between models
  • No API connection delays
  • Connection pooling
3. Intelligent Task Classification
  • Multi-keyword detection
  • Context-aware analysis
  • Confidence scoring
  • Fallback to default if uncertain
4. Parallel Model Processing
  • Multiple models ready simultaneously
  • Fast failover if model unavailable
  • Load balancing across models
  • Automatic retry logic
5. Auto Model Discovery
  • Detects new models in your plan
  • Auto-updates model registry
  • No manual configuration needed
  • Real-time plan synchronization
6. Advanced Fallback
  • Multi-tier fallback chain
  • Graceful degradation
  • User notification on fallback
  • Logs all fallback events

📊 Model Selection Matrix (Optimized)

Task Type Primary Model Fallback 1 Fallback 2 Latency
写小说/创意写作 qwen3.5-plus qwen3.5-397b qwen-plus <50ms
写代码/编程 qwen3-coder-plus qwen3-coder-next qwen3.5-plus <50ms
复杂推理/数学 qwen3-max qwen3.5-plus qwen-plus <50ms
数据分析 qwen3.5-plus qwen3-max qwen-plus <50ms
日常对话 qwen3.5-plus qwen-plus qwen-turbo <30ms
长文档处理 qwen3.5-plus qwen3.5-397b qwen-plus <50ms
Debug/修复 qwen3-coder-plus ...

Source information

Source
github
Repository
openclaw/skills
Path
skills/davidme6/smart-model-switcher-v2
Version
—
Commit
bb10066adcbf121d9b1f594066772f40bad93e46
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 🧠 Smart Model Switcher V2 (Optimized)

**Zero-Latency • No Restart • Runtime Switching**

## 🎯 What's New in V2

| Feature | V1 | V2 |
|---------|----|----|
| **Restart Required** | ❌ Yes | ✅ No |
| **Switch Latency** | 5-10s | <100ms |
| **Model Preloading** | ❌ No | ✅ Yes |
| **Parallel Processing** | ❌ No | ✅ Yes |
| **Auto Model Discovery** | ❌ No | ✅ Yes |
| **Fallback Logic** | Basic | Advanced |
| **Performance** | Low | High |

## 🚀 New Features

### 1. Zero-Latency Switching
- No gateway restart needed
- Runtime model selection
- <100ms switching latency
- User-transparent operation

### 2. Model Preloading
- All plan models preloaded at startup
- Instant switching between models
- No API connection delays
- Connection pooling

### 3. Intelligent Task Classification
- Multi-keyword detection
- Context-aware analysis
- Confidence scoring
- Fallback to default if uncertain

### 4. Parallel Model Processing
- Multiple models ready simultaneously
- Fast failover if model unavailable
- Load balancing across models
- Automatic retry logic

### 5. Auto Model Discovery
- Detects new models in your plan
- Auto-updates model registry
- No manual configuration needed
- Real-time plan synchronization

### 6. Advanced Fallback
- Multi-tier fallback chain
- Graceful degradation
- User notification on fallback
- Logs all fallback events

## 📊 Model Selection Matrix (Optimized)

| Task Type | Primary Model | Fallback 1 | Fallback 2 | Latency |
|-----------|--------------|------------|------------|---------|
| **写小说/创意写作** | qwen3.5-plus | qwen3.5-397b | qwen-plus | <50ms |
| **写代码/编程** | qwen3-coder-plus | qwen3-coder-next | qwen3.5-plus | <50ms |
| **复杂推理/数学** | qwen3-max | qwen3.5-plus | qwen-plus | <50ms |
| **数据分析** | qwen3.5-plus | qwen3-max | qwen-plus | <50ms |
| **日常对话** | qwen3.5-plus | qwen-plus | qwen-turbo | <30ms |
| **长文档处理** | qwen3.5-plus | qwen3.5-397b | qwen-plus | <50ms |
| **Debug/修复** | qwen3-coder-plus |...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.