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.
npx skills add majiayu000/claude-skill-registry --skill model-discovery --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.
# 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
- Variables
- Instructions
- Red Flags - STOP and Reconsider
- Workflow
- Fetching Models
- Checking for New Models
- Getting Tier Recommendations
- Model Tier Reference
- Anthropic Claude
- OpenAI
- Google Gemini
- Ollama (Local)
- CLI Mappings (for spawn:agent skill)
- Quick Reference
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
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.
