TopRank Skills

Home / Claw Skills / Git / GitHub / smart-model-switcher-v3
Official OpenClaw rules 36%

smart-model-switcher-v3

Universal Smart Model Switcher V3 - Multi-Provider, Multi-Model intelligent switching. Automatically selects the best model from ALL your purchased API plans (Bailian/Qwen, MiniMax, GLM, Kimi, etc.). Zero-latency runtime switching, no restart required. Supports 50+ models across all providers with advanced task classification and fallback logic.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 smart-model-switcher-v3 技能。 若已安装,则直接安装 smart-model-switcher-v3 技能。

Overview

Skill Key
davidme6/smart-model-switcher-v3
Author
davidme6
Source Repo
openclaw/skills
Version
3.0.0
Source Path
skills/davidme6/smart-model-switcher-v3
Latest Commit SHA
c81efd4e6ae1dd7e3a48043da83d5fc8a0ccae42

Extracted Content

SKILL.md excerpt

# 🧠 Smart Model Switcher V3 (Universal Multi-Provider)

**全平台多模型智能切换 • 零延迟 • 无需重启 • 自动 fallback**

## 🎯 V3 核心升级

| 特性 | V2 | V3 |
|------|----|----|
| **支持 provider** | 仅 Bailian/Qwen | 全平台 (Bailian/MiniMax/GLM/Kimi/等) |
| **模型数量** | ~5 个 | 50+ 个 |
| **API Key 验证** | ❌ 无 | ✅ 自动验证 |
| **套餐检测** | ❌ 无 | ✅ 自动检测已购套餐 |
| **跨 provider 切换** | ❌ 不支持 | ✅ 支持 |
| **成本优化** | ❌ 无 | ✅ 优先使用性价比高的模型 |
| **多 key 管理** | ❌ 单 key | ✅ 多 provider key 管理 |

##  支持的 Provider 和模型

### 百炼 (Bailian) - Qwen 系列
| 模型 | 适用场景 | Context | 优先级 |
|------|----------|---------|--------|
| qwen3.5-plus | 写作/长文档/翻译 | 1M | ⭐⭐⭐ |
| qwen3-coder-plus | 编程/Debug | 100K | ⭐⭐⭐ |
| qwen3-max-2026-01-23 | 复杂推理/数学 | 100K | ⭐⭐⭐ |
| qwen3.5-397b-a17b | 通用任务 | 262K | ⭐⭐ |
| qwen-plus | 日常对话/快速任务 | 131K | ⭐ |
| qwen-turbo | 简单任务/低成本 | 32K | ⭐ |

### MiniMax 系列
| 模型 | 适用场景 | Context | 优先级 |
|------|----------|---------|--------|
| MiniMax-M2.5 | 通用/对话 | 256K | ⭐⭐⭐ |
| MiniMax-Text-01 | 长文本处理 | 1M | ⭐⭐ |

### 智谱 (GLM) 系列
| 模型 | 适用场景 | Context | 优先级 |
|------|----------|---------|--------|
| glm-5 | 通用/推理 | 128K | ⭐⭐⭐ |
| glm-4.7 | 快速任务 | 128K | ⭐⭐ |

### 月之暗面 (Kimi) 系列
| 模型 | 适用场景 | Context | 优先级 |
|------|----------|---------|--------|
| kimi-k2.5 | 长文档/分析 | 200K+ | ⭐⭐⭐ |

## 🚀 核心功能

### 1. 全平台模型支持
- ✅ Bailian (Qwen 系列)
- ✅ MiniMax
- ✅ GLM (智谱)
- ✅ Kimi (月之暗面)
- ✅ 自动扩展新 provider

### 2. API Key 自动验证
```
启动时自动检测:
├── bailian API Key → ✅ 有效/❌ 无效
├── minimax API Key → ✅ 有效/❌ 无效
├── glm API Key → ✅ 有效/❌ 无效
└── kimi API Key → ✅ 有效/❌ 无效
```

### 3. 套餐检测
```
已购套餐检测:
├── Bailian → qwen3.5-plus, qwen3-coder-plus, ...
├── MiniMax → MiniMax-M2.5, ...
├── GLM → glm-5, glm-4.7, ...
└── Kimi → kimi-k2.5, ...
```

### 4. 智能...

README excerpt

# 🧠 Smart Model Switcher V3

**Universal Multi-Provider Model Switching for OpenClaw**

[![Version](https://img.shields.io/badge/version-3.0.0-blue.svg)](https://github.com/davidme6/openclaw/tree/main/skills/smart-model-switcher-v3)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
[![OpenClaw](https://img.shields.io/badge/OpenClaw-Skill-purple.svg)](https://openclaw.ai)

## 🎯 概述

Smart Model Switcher V3 是一个智能模型切换工具,支持**全平台多 Provider**的大模型自动切换。根据您的任务类型,自动选择最优模型,无需重启 Gateway,切换延迟 <80ms。

### ✨ V3 核心特性

- 🌍 **全平台支持** - Bailian (Qwen)、MiniMax、GLM (智谱)、Kimi (月之暗面)
- 🔑 **API Key 验证** - 启动时自动验证所有 Provider 的 API Key
- 📦 **套餐检测** - 仅使用您已购套餐内的模型
- 💰 **成本优化** - 同等级别优先使用性价比高的模型
- ⚡ **零延迟切换** - 无需重启,运行时切换 <80ms
- 🔄 **智能 Fallback** - 主模型不可用时自动降级
- 📊 **50+ 模型** - 支持所有主流大模型

## 🚀 快速开始

### 安装

#### 方式 1: 使用 ClawHub (推荐)
```bash
npx skills add davidme6/openclaw@smart-model-switcher-v3
```

#### 方式 2: 手动安装
```bash
# 克隆仓库
git clone https://github.com/davidme6/openclaw.git

# 复制 skill 到 OpenClaw 技能目录
cp -r openclaw/skills/smart-model-switcher-v3 \
  $env:USERPROFILE\AppData\Roaming\npm\node_modules\openclaw\skills\

# 重启 Gateway
openclaw gateway restart
```

### 配置

在 `~/.openclaw/openclaw.json` 中配置各 Provider 的 API Key:

```json
{
  "models": {
    "mode": "merge",
    "providers": {
      "bailian": {
        "baseUrl": "https://dashscope.aliyuncs.com/v1",
        "apiKey": "sk-bailian-xxx",
        "api": "openai-completions"
      },
      "minimax": {
        "baseUrl": "https://api.minimax.chat/v1",
        "apiKey": "sk-minimax-xxx",
        "api": "openai-completions"
      },
      "glm": {
        "baseUrl": "https://open.bigmodel.cn/api/paas/v4",
        "apiKey": "sk-glm-xxx",
        "api": "openai-completions"
      },
      "kimi": {...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

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 pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

human-pages-ai

humanpages

★ 3

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

zseven-w

openclaw-skills

★ 1

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

capt-marbles

geo-optimization

★ 1

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 discoverability and citation.

cchacons

openjobs

★ 0

The job marketplace where bots hire bots. Post FREE or paid $WAGE jobs, with on-chain escrow, faucet rewards, referrals, judge staking, task inbox, smart matching, checkpoints, oversight, webhooks, onboarding, and human owner dashboard.

cchacons

openjobs

★ 0

The job marketplace where bots hire bots. Post FREE or paid $WAGE jobs, with on-chain escrow, faucet rewards, referrals, judge staking, task inbox, smart matching, checkpoints, oversight, webhooks, onboarding, and human owner dashboard.