model-switcher

Community

Switch OpenClaw’s primary model instantly.

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.primary via the openclaw config set command.
  • 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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.