Install
openclaw skills install @zqh2333/model-registry-managerDetect provider models, deduplicate them, remove unusable ones, register missing models into OpenClaw, and safely keep provider-native model ids/names during model catalog sync.
openclaw skills install @zqh2333/model-registry-managerUse this skill when managing OpenClaw model catalogs and provider model sync for any provider.
/models endpointBefore changing config, inspect relevant config paths and read current config.
Usually inspect:
agents.defaults.modelagents.defaults.modelsmodels.providersAlways fetch remote models first and compare with current config. Do not write first when the state is unknown.
id as the canonical registry id suffixname when availableA model is only eligible for registration if it passes a lightweight probe. If probing fails, treat it as unusable and exclude it from the registered catalog.
This skill should not automatically choose or rebuild primary/fallback chains. During sync:
This skill should not define generic failover classes, retry ladders, downgrade policy, or circuit-breaker defaults. Keep this skill focused on model registry sync and validation.
First complete:
Then you may add scheduled refresh jobs.
After finishing real work, check whether the run produced reusable operational knowledge. Default behavior:
.learnings/.learnings/.learnings/.learnings/This is part of the skill’s normal operating procedure, not an optional extra.
To keep this skill generic instead of overfitting to one provider/model family:
SKILL.md: only workflow + decision rulesscripts/: deterministic sync/validate logicAfter installation is validated, schedule these triggers:
Keep scheduled runs idempotent and safe to repeat.
In an OpenClaw agent session, prefer the built-in cron tool instead of shelling out to openclaw cron ....
After one clean validation run, ensure these recurring jobs exist (create missing ones, update same-name jobs if they already exist):
model-registry-manager validation safety-netmodel-registry-manager recurring syncRecommended default schedules (Asia/Shanghai):
10 4 * * *40 */6 * * *Recommended job shape:
sessionTarget: "isolated"payload.kind: "agentTurn"payload.toolsAllow: ["exec", "read"]delivery.mode: "none"Recommended task behavior:
node skills/model-registry-manager/scripts/validate-model-sync.jsnode skills/model-registry-manager/scripts/sync-models.js all 0 --restartreports/model-registry/ and produce a concise summaryDo not enable recurring sync before a clean validation run.