Migrate or upgrade heavy stateful OpenClaw agents with rehearsal, embedding safety, rollback, and live proof.
编程
Openclaw Model Catalog Migration
试用Add, remove, or rename OpenClaw model IDs by reconciling provider catalogs, policy, fallbacks, and per-agent references.
它能做什么
Add, remove, or rename OpenClaw model IDs by reconciling provider catalogs, policy, fallbacks, and per-agent references.
技能文档
OpenClaw model catalog migration
Use when
Adding, removing, or renaming provider model IDs in OpenClaw configuration.
Procedure
- Read the current config and schema with supported OpenClaw config tools. Identify the actual per-agent collection key from the returned structure; do not assume
listorentries. - Fetch both the provider's current catalog and OpenClaw's effective model list. Compare exact IDs after accounting for OpenClaw's provider prefix.
- Audit these references in one pass:
- configured model registry
- model policy allowlist
- default primary and fallbacks
- every per-agent primary and fallback
- aliases and runtime metadata on affected entries
- Classify each affected ID as exact catalog match, stale reference, policy-only entry, or required replacement. Treat suffix variants such as
:freeas distinct IDs. - Before removing an ID, choose an available replacement for every primary or fallback reference. Preserve fallback order and unrelated metadata.
- Apply one atomic patch through the authorized config-write path. If no writer is available, provide the exact proposed diff for the human to apply. Do not restart merely because the file changed; first observe the supported reload behavior.
- Verify:
- config parsing and schema validation succeed
- rereading the actual per-agent collection shows each replacement
- the added ID appears in registry and policy where required
- the removed ID appears nowhere in registry, policy, defaults, or agents
- the effective model list reports expected availability
- reload logs show no config error
Pitfalls
- A provider catalog match for the unsuffixed ID does not validate a suffixed ID.
- Checking only the configured registry misses stale policy and per-agent references.
- A
nullverification result may mean the query used the wrong collection key, not that the agent entry vanished. - A primary must be replaced before its registry or policy entry is removed.
相关技能
Diagnose, audit, and repair OpenClaw hosts when an agent, gateway, plugin, cron, model route, memory engine, channel, approval policy, or update looks broken...
按命令族和 profile 选择合适的 OpenClaw CLI 命令,并校验执行结果。
Build, bootstrap, and maintain a stable OpenClaw default agent identity by interviewing the user, updating IDENTITY.md, and seeding core context files (AGENT...
OpenClaw cloud security guardrail that enforces pre-execution checks, source trust classification, taint tracking, metadata endpoint blocking, and output red...
Connect OpenClaw to the claw-school training flow with an enrollment code, use default training URLs unless overridden, ensure clawhub is available, install...