JPeetz/agent-skills / skills/development/model-routing-cost-optimizer
model-routing-cost-optimizer
VerifiedUse when routing tasks to the cheapest fitting model tier.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 566 B |
| LICENSE | other | 1.1 KB |
| SKILL.md | skill md | 6.7 KB |
| evals/evals.json | config | 3.2 KB |
| references/model-pricing.md | markdown | 1.9 KB |
| references/sources.md | markdown | 914 B |
| scripts/classify_task.py | script | 2.3 KB |
references/sources.md
View on GitHub# Sources
Inspiration and reference material for the model-routing cost optimizer.
- **Model Hierarchy seed skill (model-routing)** — https://github.com/zhamilton? and the
`model-hierarchy` SKILL.md seed captured for this repo
- **OpenRouter model pricing docs** — https://openrouter.ai/docs/models
- **Anthropic model pricing** — https://docs.anthropic.com/en/docs/about-claude/pricing
- **OpenAI pricing** — https://openai.com/api/pricing/
- **Google Gemini pricing** — https://ai.google.dev/gemini-api/docs/pricing
## Note
The tier table and the classifier heuristics in this skill were inspired by an
MIT-licensed model-routing seed. We rebuilt the body, the classifier script, and
the references from scratch — only the pricing table substance is inherited, and
it is deliberately kept in `references/model-pricing.md` with the caveat that
prices change and provider docs are the authority.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |