Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add fabioc-aloha/Alex_Skill_Mall --skill model-routergit clone --depth 1 https://github.com/fabioc-aloha/Alex_Skill_MallWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/fabioc-aloha/alex_skill_mall/model-router)<a href="https://agentmods.dev/skills/fabioc-aloha/alex_skill_mall/model-router"><img src="https://agentmods.dev/badge/skills/fabioc-aloha/alex_skill_mall/model-router/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/fabioc-aloha/alex_skill_mall/model-router"><img src="https://agentmods.dev/badge/skills/fabioc-aloha/alex_skill_mall/model-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.00821 |
| Opus 5 | $0.00028 | $0.00411 |
| Sonnet 5 | $0.00011 | $0.00164 |
| Haiku 4.5 | $0.00006 | $0.00082 |
Grade A, and why
model-router scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Model Router
Turn a task into an explainable, executable provider plan. This skill advises; it does not authorize or invoke paid provider work.
Procedure
- State the task goal and concrete deliverables.
- Decompose compound requests into model-sized steps. Keep steps separate when they have different modalities, privacy boundaries, or validation methods.
- Capture hard constraints: modality, quality, latency, privacy, region, license, budget, local-versus-hosted preference, and required output format.
- Query all relevant live provider tools. Use the exact provider contract in provider-contract.md.
- Eliminate candidates that violate a hard constraint. Do not rank an infeasible candidate above a feasible one because its quality looks better.
- Compare the feasible set. Separate observed evidence from provider claims and unknowns.
- Select a primary model and ordered fallbacks. A recommendation may remain a Pareto set when quality, cost, privacy, and latency cannot be reduced to one honest score.
- If the selected provider/model requires a credential, add a plain-language
Secret setupsection naming the provider-native login or exact host environment variable. Do not ask for the value before model selection, and do not write or echo it. - Emit a JSON plan conforming to model-task-plan.schema.json.
- Set
consent.statustopendingwhenever any step spends credits, transmits data, changes provider state, or creates an externally visible artifact. - Hand the plan to
model-task-execution; do not call the provider yourself.
Credential Boundary
All provider credentials are optional until the user selects a model and operation that needs one. Public discovery and planning may proceed without any API key. After selection, route hosted providers through their native login and local providers through the exact host environment variable or approved secret storage. Never create a credential value, print it, persist it in a plan, or request it in chat.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 90 lines · 57 tokens per session scan A 4041ea212cb0
model-router is a skill published in the GitHub repository fabioc-aloha/Alex_Skill_Mall (4 stars, last pushed 3d ago), licensed MIT. It adds 57 tokens to every session and 821 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ai-infrastructure-ollama
Local LLM inference with the Ollama JavaScript client -- chat, streaming, tool calling, vision, embeddings, structured output, model management, and OpenAI-compatible endpoint.
ai-infrastructure-replicate
Replicate SDK patterns for TypeScript/Node.js -- client setup, predictions, streaming, webhooks, file handling, model versioning, deployments, and training.
ai-infrastructure-together-ai
Together AI SDK patterns for TypeScript — client setup, chat completions, streaming, structured output, function calling, embeddings, image generation, fine-tuning, and OpenAI-compatible endpoints.
ai-observability-langfuse
LLM observability with Langfuse — OpenTelemetry-based tracing, evaluations, prompt management, datasets, and production best practices.
ai-orchestration-langchain
LangChain.js patterns for building LLM applications — chat models, LCEL chains, prompt templates, structured output, agents, tools, RAG, streaming, and LangSmith tracing.
ai-provider-anthropic-sdk
Official Anthropic SDK patterns for TypeScript/Node.js — client setup, Messages API, streaming, tool use, vision, extended thinking, structured outputs, prompt caching, batch API, and production best practices.