routerbase-model-routing

routerbase-model-routing is a skill for Claude Code, Codex from YangsonHung/awesome-agent-skills. It costs 26 tokens per session (336 once invoked), scanned A, original, MIT.

A planning tool for choosing RouterBase models for chat, coding, reasoning, vision, and other workloads through one OpenAI-compatible connection.

In plain words
What is it for?
Use it to create model shortlists, primary and fallback chains, routing policies, and validation checklists for production applications or agent workflows.
Why use it?
It helps balance quality, cost, response time, context size, and availability, including what should happen when a provider fails.

Skill for Claude CodeCodex

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

Good fit Use it to create model shortlists, primary and fallback chains, routing policies, and validation checklists for production applications or agent workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangsonhung/awesome-agent-skills/routerbase-model-routing
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 YangsonHung/awesome-agent-skills --skill routerbase-model-routing
Clone the repo
git clone --depth 1 https://github.com/YangsonHung/awesome-agent-skills

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 routerbase-model-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-model-routing/github.svg)](https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-model-routing)
Your own site
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-model-routing"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-model-routing/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 routerbase-model-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-model-routing"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-model-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 336 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.00026 $0.00336
Opus 5.5 $0.00010 $0.00134
Sonnet 5.5 $0.00005 $0.00067
Haiku 4.5 $0.00003 $0.00034

Measured 1mo ago against content hash 2e6cb28e41eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

routerbase-model-routing 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 1mo 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.

skills/en/routerbase-model-routing/SKILL.md · 35 lines

What it actually says

RouterBase Model Routing

Overview

Use routerbase to plan model selection behind one OpenAI-compatible integration surface. This skill turns workload requirements into a practical model shortlist, fallback chain, cost and latency policy, and validation checklist.

When to Use

Use this skill when the user asks for:

  • Choosing RouterBase models for chat, coding, reasoning, vision, or multimodal workloads
  • Designing fallback chains for provider outages or degraded quality
  • Balancing cost, latency, context length, output quality, and availability
  • Documenting model routing rules for production applications or agent workflows
  • Creating a validation plan for model behavior before rollout

Do not use

Do not use this skill for:

  • Claiming exact pricing, availability, or model performance without checking current source data
  • Recommending a single model without stating assumptions and fallback behavior
  • Hiding routing changes from the application owner or production operator

Instructions

  1. Clarify workload type, quality threshold, latency budget, context size, expected traffic, and failure tolerance.
  2. Group candidate models by capability and role: primary, economical fallback, high-quality fallback, and specialized fallback.
  3. State routing assumptions clearly and mark any values that require current catalog or pricing verification.
  4. Recommend small rollout steps: test prompts, golden cases, logging, retry policy, rate limit handling, and rollback criteria.
  5. Keep examples OpenAI-compatible where possible so the application integration stays portable.
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. 1mo ago First seen · 35 lines · 26 tokens per session scan A 2e6cb28e41eb

Subscribe to this mod's changes

routerbase-model-routing is a skill published in the GitHub repository YangsonHung/awesome-agent-skills (18 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 336 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

Other skills, from other repositories

vastai-sdk

Vast.ai Python SDK — high-level API for GPU instances, volumes, serverless endpoints, and billing.

vast-ai/vast-cli · 26 tokens

modellix-design

Integrate Modellix's unified API for AI image, video, and audio workflows. Use this skill whenever the user wants to generate or edit images, create or transform videos, synthesize speech, transcribe audio, clone a voice, do virtual try-on, or call any Modellix model API. Also trigger when the user mentions Modellix…

Modellix/modellix-plugin · 200 tokens

modellix-image-prompt-engineering

Engineer clear, high-density prompts for AI image generation and editing before execution. Use this skill whenever a user asks for a poster, banner, product shot, packaging concept, editorial illustration, UI mockup, slide visual, icon set, character sheet, card set, sprite sheet, image edit, or a better image…

Modellix/modellix-plugin · 145 tokens

modellix-social-card

Plan prompts for social cards, covers, and carousels on mainstream networks. Use this skill whenever the user wants a Xiaohongshu, WeChat Official Account, Weibo, Douyin, Bilibili, X, Twitter, Instagram, Facebook, LinkedIn, YouTube thumbnail, TikTok, Threads, Pinterest, Snapchat, Bluesky, Reddit, WhatsApp Status, or…

Modellix/modellix-plugin · 170 tokens

modellix-article-illustrator

A planning guide for adding several illustrations throughout an article, blog post, essay, or newsletter. It produces one image prompt for each planned illustration, but does not generate the images.

Modellix/modellix-plugin · 125 tokens

modellix-comic

A planning guide for turning a source or idea into a knowledge comic, biography, tutorial, or four-panel strip. It creates a storyboard and an image prompt for each page, but does not generate the images.

Modellix/modellix-plugin · 140 tokens