Automatically applies when choosing LLM models and providers. Ensures proper model comparison, provider selection, cost optimization, fallback patterns, and multi-model strategies.
Install with Tessl CLI
npx tessl i github:majiayu000/claude-skill-registry-data --skill model-selection67
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Model registry and task-based routing
ModelRegistry class
62%
100%
Full model metadata
100%
100%
Capabilities fields
100%
100%
Quality tier values
0%
100%
Pricing in MTok units
100%
100%
ModelRouter class
100%
100%
Named rules with priority
100%
100%
Rule condition callables
100%
100%
Default fallback model
0%
0%
No hardcoded model IDs at call sites
100%
100%
Routing logic documented
100%
100%
Three traffic patterns routed
100%
100%
Without context: $0.2699 · 1m 13s · 13 turns · 20 in / 4,678 out tokens
With context: $0.5293 · 1m 47s · 21 turns · 138 in / 6,473 out tokens
Cost estimation and batch cost analysis
MTok pricing unit
100%
100%
estimate_cost function
80%
100%
Batch analysis: total_cost_usd
100%
100%
Batch analysis: avg_cost_per_request
100%
100%
Batch analysis: total_tokens
25%
100%
Batch analysis: cost_per_1k_tokens
0%
100%
At least 3 models compared
100%
100%
find_cheapest_model logic
100%
100%
Model registry used
100%
100%
cost_report.txt produced
100%
100%
Reads requests.csv
100%
100%
Cost logged per request
100%
0%
Without context: $0.2475 · 57s · 12 turns · 17 in / 4,079 out tokens
With context: $0.6922 · 2m 19s · 25 turns · 210 in / 9,394 out tokens
Fallback chain and provider reliability
FallbackChain class
30%
100%
Ordered fallback attempt
100%
100%
model_used in result
100%
100%
fallback_occurred in result
0%
100%
response in result
37%
100%
Warning logged on failure
100%
100%
Exception on all failures
100%
100%
Exception message format
37%
50%
ModelRegistry integration
0%
100%
Demo runs without API keys
100%
100%
Demo shows fallback_occurred=True
20%
100%
Without context: $0.1754 · 52s · 11 turns · 16 in / 3,252 out tokens
With context: $0.5272 · 1m 59s · 21 turns · 275 in / 7,240 out tokens
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.