agentleFS
YangsonHungYangsonHung/awesome-agent-skills/skills/en/routerbase-model-routing/SKILL.md

routerbase-model-routing

Skill18 starsChanged 7 days agoMITView on GitHub

Use when choosing RouterBase models, designing fallback chains, or documenting cost-aware and latency-aware routing policies.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use routerbase to plan model selection behind one OpenAI-compatible integration surface.

    line 10
  2. Distinctive:

    Use this skill when the user asks for:

    line 14
  3. Distinctive:

    Do not use this skill for:

    line 23
  4. Distinctive:

    Keep examples OpenAI-compatible where possible so the application integration stays portable.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.