update-llm-models
Autonomously research and update the default lightweight LLM models in `src/core/llm.ts` using web search to ensure the most current versions are used.
npx skills add majiayu000/claude-skill-registry --skill update-llm-models-yu-iskw-skill-inspector --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Update LLM Models ## Purpose This skill maintains the `src/core/llm.ts` file by ensuring that the default model identifiers for each provider are the latest available "lightweight" versions (e.g., Flash, Haiku, Mini). ## Workflow ### 1. Research Latest Models Use `web_search` to identify the most recent lightweight model identifiers for the following providers: - **OpenAI**: Look for "mini" or "nano" variants of the latest GPT model (e.g., GPT-5.2). - **Anthropic**: Look for "haiku" variants (e.g., Claude 4.5 Haiku). - **Google**: Look for "flash" variants (e.g., Gemini 3 Flash). - **Mistral**: Look for "small" or "mini" variants (e.g., Mistral Small 3.1). - **Groq**: Look for the most efficient models available on Groq (usually Llama 8B or 70B variants). ### 2. Identify Target Function Locate the `getDefaultModel` function in `[src/core/llm.ts](src/core/llm.ts)`. ### 3. Apply Updates Update the return values in the `switch` statement for each provider. Ensure the model identifiers match the exact strings found during research. ### 4. Verification - Run `pnpm lint` to ensure no syntax errors or linting violations. - Run `pnpm build` to confirm the project still compiles. ## Guide
- Purpose
- Workflow
- 1. Research Latest Models
- 2. Identify Target Function
- 3. Apply Updates
- 4. Verification
- Guidelines
- Examples
- Before
- After (Hypothetical Jan 2026)
- Resources
What does the update-llm-models skill do?
Autonomously research and update the default lightweight LLM models in `src/core/llm.ts` using web search to ensure the most current versions are used.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill update-llm-models-yu-iskw-skill-inspector --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
