Install
openclaw skills install migrate-model-defaultsFind, classify, and update hardcoded default-like model references in a repo. Use when the user wants to replace model strings, audit model defaults, centralize model constants or workflow variables, or migrate CI/workflow/runtime defaults without bulk-replacing tests, docs examples, catalogs, or compatibility references.
openclaw skills install migrate-model-defaultsBe terse. Minimal prose. Ask only necessary questions.
Ask first:
Then search for the old string and likely variants:
provider/model, also search bare model..github/workflows/**; this repo often has workflow defaults in env, action with.model, and shell args such as --model, --alt-model, and --candidate-label.Ignore expected noise up front unless it controls default behavior:
Keep only default-like references:
Group candidates semantically, then present a concise checklist with repo-root-relative file refs and one short reason each. Do not edit until the user selects items.
When editing:
OPENCLAW_CI_OPENAI_MODEL, OPENCLAW_CI_OPENAI_MODEL_BARE, and an explicit alt-model variable when needed.Validation:
actionlint if available or via go run github.com/rhysd/actionlint/cmd/actionlint@latest <files>.