A skill for OpenClaw that lets you switch AI models for the current session via a simple text menu.
- Text-based menu โ clean numbered list, no inline buttons
- Alias support โ switch by number, name, or alias (e.g.
gemini,opus) - Lightweight โ pure bash + jq, no Python dependency
- Reset โ option 0 to return to the default model
- OpenClaw
jq(usually pre-installed on macOS;apt install jqon Linux)
Clone into your OpenClaw workspace's skills folder:
git clone https://github.com/rin4096/openclaw-skill-model-switch.git skills/model-switcherOpenClaw will automatically detect the skill.
Say any of:
- "ๅๆๆจกๅ" / "switch model" / "list models"
- "use gemini" / "็จ flash"
The agent will display a numbered menu. Reply with a number to switch.
๐ ๆจกๅๅๆ้ธๅฎ
โจ ๅ
ฑๆ 5 ๅๅฏ็จๆจกๅ๏ผ
1๏ธโฃ anthropic/claude-opus-4-6
ๅฅๅ: opus (้ป่ช) โจ
2๏ธโฃ google/gemini-3-flash-preview
ๅฅๅ: gemini-flash
3๏ธโฃ google/gemini-3-pro-preview
ๅฅๅ: gemini
...
โโโโโโโโโโโโโโ
0๏ธโฃ ้็ฝฎ็บ้ป่ชๆจกๅ
๐ก ๅ่ฆ็ทจ่๏ผ0-5๏ผๅณๅฏๅๆ
- Script reads
openclaw config get agents.defaultsto get the model list - Formats a numbered text menu with aliases and default marker
- Agent captures user's reply and calls
session_status(model=...)to switch
skills/model-switcher/
โโโ README.md
โโโ SKILL.md
โโโ scripts/
โโโ model-switcher.sh
Created with ๐ by Akiyama Mizuki ๐