Agent skill · Backend & API

model-discovery

Fetch current model names from AI providers (Anthropic, OpenAI, Gemini, Ollama), classify them into tiers (fast/default/heavy), and detect new models. Use when needing up-to-date model IDs for API calls or when other skills reference model names.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill model-discovery --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/ai-llm/model-discovery/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Model Discovery Skill Fetch the most recent model names from AI providers using their APIs. Includes tier classification (fast/default/heavy) for routing decisions and automatic detection of new models. ## Variables | Variable | Default | Description | |----------|---------|-------------| | CACHE_TTL_HOURS | 24 | How long to cache model lists before refreshing | | ENABLED_ANTHROPIC | true | Fetch Claude models from Anthropic API | | ENABLED_OPENAI | true | Fetch GPT models from OpenAI API | | ENABLED_GEMINI | true | Fetch Gemini models from Google API | | ENABLED_OLLAMA | true | Fetch local models from Ollama | | OLLAMA_HOST | http://localhost:11434 | Ollama API endpoint | | AUTO_CLASSIFY | true | Auto-classify new models using pattern matching | ## Instructions **MANDATORY** - Follow the Workflow steps below in order. Do not skip steps. - Before referencing model names in any skill, check if fresh data exists - Use tier mappings to select appropriate models (fast for speed, heavy for capability) - Check for new models periodically and classify them ## Red Flags - STOP and Reconsider If you're about to: - Hardcode a model version like `gpt-5.2` or `claude-sonnet-4-5` - Use model

What's inside
Steps it walks through
  1. Variables
  2. Instructions
  3. Red Flags - STOP and Reconsider
  4. Workflow
  5. Fetching Models
  6. Checking for New Models
  7. Getting Tier Recommendations
  8. Model Tier Reference
  9. Anthropic Claude
  10. OpenAI
  11. Google Gemini
  12. Ollama (Local)
  13. CLI Mappings (for spawn:agent skill)
  14. Quick Reference
Ships with 1 file
  • metadata.json
Commands it runs
Fetch all models (uses cache if fresh)
uv run python scripts/fetch_models.py
Force refresh from APIs
uv run python scripts/fetch_models.py --force
Fetch and check for new models
uv run python scripts/fetch_models.py --force --check-new
Check for new unclassified models (JSON output for agents)
uv run python scripts/check_new_models.py --json
Auto-classify new models using patterns
uv run python scripts/check_new_models.py --auto
More from claude-skill-registry
All skills →
About this skill
What does the model-discovery skill do?

Fetch current model names from AI providers (Anthropic, OpenAI, Gemini, Ollama), classify them into tiers (fast/default/heavy), and detect new models. Use when needing up-to-date model IDs for API calls or when other skills reference model names.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill model-discovery --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.

Keep going