maintain-model-list
Installation
SKILL.md
Maintain Model List
The supported model list lives in three places that must stay in sync:
| File | What it holds |
|---|---|
packages/website/src/pages/docs/features/models/page.tsx |
MODEL_GROUPS (public docs, source of truth for display names) and BASELINE (recommended models) |
packages/llms/src/models.live.test.ts |
Mirrored MODEL_GROUPS, plus OPENROUTER_ID_OVERRIDES / ALIYUN_ID_OVERRIDES for provider-specific model ids |
packages/llms/src/utils.ts |
modelPatch — per-model-family request parameter fixes (thinking/reasoning flags, tool_choice quirks, etc.) |
Before Touching Anything
- Run
git status. If the working tree has uncommitted changes that look like unrelated in-progress work, do NOT edit files — report the situation and ask the user for permission first. - Run the full live test suite as a baseline:
npm run test:live -w @page-agent/llms. API keys come from the repo-root.env(TESTING_OPENROUTER_KEY,TESTING_ALIYUN_KEY,TESTING_DEEPSEEK_KEY); tests skip silently when a key is missing, so check which providers actually ran. Record which models pass/fail before making changes, so new failures are attributable.