Skip to content
Back to skills

Update Llm Models Yu Iskw Skill Inspector

ASecurity

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.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentstypescriptgoapi

Works with

  • api

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill update-llm-models-yu-iskw-skill-inspector --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Update Llm Models Yu Iskw Skill Inspector?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Update Llm Models Yu Iskw Skill Inspector
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-update-llm-models-yu-iskw-skill-inspector-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-update-llm-models-yu-iskw-skill-inspector-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: update-llm-models
description: 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.
---

# 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.

## Guidelines

- **Prefer Efficiency**: Always choose the "lighter" or "faster" version if multiple variants exist (e.g., prefer `gemini-2.5-flash` over `gemini-2.5-pro`).
- **Exact Identifiers**: Use the precise model identifier string required by the provider's API.
- **Provider Coverage**: Ensure all providers in the `LLMProvider` type are addressed if they have a known lightweight default.

## Examples

### Before

```typescript
case "google":
  return "gemini-2.5-flash";
```

### After (Hypothetical Jan 2026)

```typescript
case "google":
  return "gemini-3-flash";
```

## Resources

- **OpenAI**: [Models Overview](https://platform.openai.com/docs/models) <!-- trunk-ignore(markdown-link-check/403) -->
- **Anthropic**: [Claude Models](https://docs.anthropic.com/en/docs/about-claude/models/all-models)
- **Google Gemini**: [Gemini Models](https://ai.google.dev/gemini-api/docs/models)
- **Vertex AI**: [Model Garden](https://cloud.google.com/vertex-ai/generative-ai/docs/model-garden/available-models)
- **Mistral**: [Models Overview](https://docs.mistral.ai/getting-started/models)
- **Groq**: [Supported Models](https://console.groq.com/docs/models)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.