model-router

model-router is a skill for Claude Code, Codex from fabioc-aloha/Alex_Skill_Mall. It costs 57 tokens per session (821 once invoked), scanned A, original, MIT.

A planning skill for choosing AI models and providers across Microsoft Foundry, Hugging Face, and ElevenLabs. It compares live provider information against requirements such as quality, speed, privacy, location, licensing, and budget.

In plain words
What is it for?
Use it to compare models, split text or media work into suitable stages, estimate practical limits, and prepare a plan before using a paid provider.
Why use it?
It helps turn a broad AI task into separate steps and avoid choosing a service that breaks an important constraint. It also identifies fallbacks and required credentials.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare models, split text or media work into suitable stages, estimate practical limits, and prepare a plan before using a paid provider.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fabioc-aloha/alex_skill_mall/model-router
Install

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.

Any agent
npx skills add fabioc-aloha/Alex_Skill_Mall --skill model-router
Clone the repo
git clone --depth 1 https://github.com/fabioc-aloha/Alex_Skill_Mall

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for model-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/fabioc-aloha/alex_skill_mall/model-router/github.svg)](https://agentmods.dev/skills/fabioc-aloha/alex_skill_mall/model-router)
Your own site
<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.

agentmods 80×15 button for model-router

Your own site · 80×15
<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>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 821 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 10d ago against content hash 4041ea212cb0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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.

plugins/ai-agents/alex-act-ai-operations/skills/model-router/SKILL.md · 90 lines

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

  1. State the task goal and concrete deliverables.
  2. Decompose compound requests into model-sized steps. Keep steps separate when they have different modalities, privacy boundaries, or validation methods.
  3. Capture hard constraints: modality, quality, latency, privacy, region, license, budget, local-versus-hosted preference, and required output format.
  4. Query all relevant live provider tools. Use the exact provider contract in provider-contract.md.
  5. Eliminate candidates that violate a hard constraint. Do not rank an infeasible candidate above a feasible one because its quality looks better.
  6. Compare the feasible set. Separate observed evidence from provider claims and unknowns.
  7. 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.
  8. If the selected provider/model requires a credential, add a plain-language Secret setup section 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.
  9. Emit a JSON plan conforming to model-task-plan.schema.json.
  10. Set consent.status to pending whenever any step spends credits, transmits data, changes provider state, or creates an externally visible artifact.
  11. 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.

Read the full file on GitHub · 90 lines

Files

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.

Changes

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.

  1. 10d ago First seen · 90 lines · 57 tokens per session scan A 4041ea212cb0

Subscribe to this mod's changes

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.