model-switcher
CommunitySwitch OpenClaw’s primary model instantly.
Software Engineering#configuration#shell script#AI routing#openclaw#gateway restart#model switching#model aliases
Authordingdyan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the problem of quickly changing OpenClaw’s primary AI model without manually editing configuration files, so you can respond with the right model for the task.
Core Features & Use Cases
- Alias-to-model switching: Accepts common aliases like gemini-3.1, flash, glm-4, and ark-code, mapping them to the correct upstream model IDs.
- Config update for agent default model: Updates
agents.defaults.model.primaryvia theopenclaw config setcommand. - Automatic gateway restart: Restarts the gateway after a successful configuration update to ensure the new model takes effect.
Quick Start
Run the model-switcher with the alias you want, for example: tell it to switch the primary model to gemini-3.1.
Dependency Matrix
Required Modules
openclawjq
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: model-switcher Download link: https://github.com/dingdyan/openclaw-workspace-v2/archive/main.zip#model-switcher Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.