modbender/skill-library-mcp/model-router-premium

Claude Code and agent skill by modbender/skill-library-mcp

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Route model requests based on configured models, costs and task complexity. Use for routing general/low-complexity requests to the cheapest available model and for higher-complexity requests to stronger models.

Install

npx vskill@latest install modbender/skill-library-mcp/model-router-premium

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as modbender/skill-library-mcp/model-router-premium.

model-router

This skill provides a compact, runnable router that inspects an OpenClaw-style configuration (or a simple models JSON) and selects an appropriate model for an incoming request based on:

  • declared model capabilities and an optional cost score
  • task complexity (heuristic: short/simple vs long/complex)
  • explicit overrides (user or caller hints)

Design principles

  • Keep decision logic small and deterministic.
  • Default to the cheapest model for general, not-complex tasks.
  • Escalate to stronger models when the task appears complex or asks for high-fidelity results.
  • Make model metadata explicit (capabilities, cost_score, tags) so the router is transparent and auditable.

What this skill includes

  • scripts/router.py — a small CLI and library to pick a model given a task description and a models configuration file.
  • examples/models.json — example model configurations (name, provider, cost_score, capabilities).

When to use

  • Trigger when you need to programmatically choose which LLM to call for a user request.
  • Use for batching or middleware routing in server apps.

Usage (quick)

  • Prepare a models file (JSON) with model entries. See examples/models.json.
  • Call: python3 scripts/router.py --models examples/models.json --task "Summarize this email" --mode auto
  • The script prints the chosen model and the reasoning.

Files

  • scripts/router.py — router CLI/library
  • examples/models.json — sample model list

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/modbender/skill-library-mcp/model-router-premium/badge)](https://verified-skill.com/skills/modbender/skill-library-mcp/model-router-premium)

Something wrong with this skill or its page? Tell us.