Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add yu-iskw/skill-inspector --skill update-llm-modelsgit clone --depth 1 https://github.com/yu-iskw/skill-inspectorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yu-iskw/skill-inspector/update-llm-models)<a href="https://agentmods.dev/skills/yu-iskw/skill-inspector/update-llm-models"><img src="https://agentmods.dev/badge/skills/yu-iskw/skill-inspector/update-llm-models/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yu-iskw/skill-inspector/update-llm-models"><img src="https://agentmods.dev/badge/skills/yu-iskw/skill-inspector/update-llm-models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.00678 |
| Opus 5 | $0.00020 | $0.00339 |
| Sonnet 5 | $0.00008 | $0.00136 |
| Haiku 4.5 | $0.00004 | $0.00068 |
Grade C, and why
update-llm-models scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
- **OpenAI**: [Models Overview](https://platform.openai.com/docs/models) <!-- trunk-ignore(markdown-link-check/403) --> How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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 lintto ensure no syntax errors or linting violations. - Run
pnpm buildto confirm the project still compiles.
Guidelines
- Prefer Efficiency: Always choose the "lighter" or "faster" version if multiple variants exist (e.g., prefer
gemini-2.5-flashovergemini-2.5-pro). - Exact Identifiers: Use the precise model identifier string required by the provider's API.
- Provider Coverage: Ensure all providers in the
LLMProvidertype are addressed if they have a known lightweight default.
Examples
Before
case "google":
return "gemini-2.5-flash";
After (Hypothetical Jan 2026)
case "google":
return "gemini-3-flash";
Resources
- OpenAI: Models Overview
- Anthropic: Claude Models
- Google Gemini: Gemini Models
- Vertex AI: Model Garden
- Mistral: Models Overview
- Groq: Supported Models
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 67 lines · 40 tokens per session scan C 30b359483ca9
update-llm-models is a skill published in the GitHub repository yu-iskw/skill-inspector (2 stars, last pushed 8d ago), licensed Apache-2.0. It adds 40 tokens to every session and 678 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ax-signature
This skill helps an LLM generate correct DSPy signature code using @ax-llm/ax. Use when the user asks about signatures, s(), f(), field types, string syntax, fluent builder API, validation constraints, or type-safe inputs/outputs.
ax-cpp-gepa
Use when writing C++ code with axllm for GEPA, Pareto tradeoffs, reflection clients, metric budgets, optimizer state, and artifacts.
model-context
MCP (Model Context Protocol) - Build AI-native servers with tools, resources, and prompts. TypeScript/Python SDKs for Claude Desktop integration.
ai-sdk
Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI…
ax-python-gen
Use when writing Python code with axllm for AxGen programs, forward calls, indexed multi-sampling, result pickers, streaming, tools, assertions, traces, usage, and output parsing.
system-createcli
Generate production-quality TypeScript CLIs with full documentation, error handling, and best practices. Creates deterministic, type-safe command-line tools following PAI's CLI-First Architecture. USE WHEN user says "create a CLI", "build a command-line tool", "make a CLI for X", or requests CLI generation. (user).