openclaw-model-switch SKILL.md skillA
openclaw-model-switch from daymade/claude-code-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add daymade/claude-code-skills/openclaw-model-switch@git:20261107.b89de90Pins git:20261107.b89de90 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- daymade/claude-code-skills
- Path
openclaw-model-switch/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261107.b89de90, committed Nov 7, 2026
- First version recorded
- Jun 28, 2026
- Size
- 9,307 bytes
- Repository stars
- 1,519
- License
- MIT
Switches or repairs an OpenClaw instance's model config: changes the default model, adds model definitions, and fixes 401 "Invalid token", "No available channel / model not found", "Thinking level X is not supported", or a config edit that doesn't take effect. Use for 切换模型/换模型/升级模型 or 模型配的错了. Not for plain config audits (use openclaw).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# OpenClaw Model Switch Switch or repair the model used by the running OpenClaw instance. Prefer its validated native configuration commands; retain the bundled file tools for offline and older-version work. **Diagnose before you edit.** Model failures on OpenClaw are usually NOT the model id — they are key routing (env hijack), provider-plugin restrictions, or endpoint/model mismatch. Changing the model id without checking these first is how a 5-minute fix becomes a 2-hour debugging session. The full trap catalog with discovery commands lives in [references/troubleshooting-model-config.md](references/troubleshooting-model-config.md) — read it the moment anything errors. ## Step 1 — Find the real config file(s) Do NOT assume a hardcoded path. Candidate locations (check all, edit all that exist): 1. `~/.openclaw/openclaw.json` — the gateway's live config on most installs 2. `~/.kimi/kimi-claw/openclaw.json` — Kimi Claw mirror, kept in sync on some installs 3. `~/.kimi_openclaw/openclaw.json` — legacy desktop path Confirm which one the gateway actually reads with `openclaw gateway status` (or its JSON …
Read the whole file at its exact version.
How to install
mdr add daymade/claude-code-skills/openclaw-model-switch@sha256:96a9bc2d7cd8bc63The line at the top of this page pins the label git:20261107.b89de90, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ftmrfsmqfovov6ay)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 28, 2026 and Nov 7, 2026, about one every 44 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261107.b89de90 latest | 2026-11-07 | b89de90 | 9,307 B | A | view · diff |
| git:20260923.943df48 | 2026-09-23 | 943df48 | 5,467 B | A | view · diff |
| git:20260717.27b3082 | 2026-07-17 | 27b3082 | 5,681 B | A | view · diff |
| git:20260628.94151b3 | 2026-06-28 | 94151b3 | 2,484 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9307 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
daymade/claude-code-skills · 1,519 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ftmrfsmqfovov6ay GET https://markdownregistry.com/api/v1/resolve?ref=daymade/claude-code-skills/openclaw-model-switch GET https://markdownregistry.com/api/v1/blob/96a9bc2d7cd8bc63aea18b0ae74241c47088912c1b6bfd8e5af69ee34b2f8de0
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.