- Home
- Skills
- Agents & Orchestration
- Model Router
Model Router
Route AI tasks across providers with automatic fallback.
Free
Works with the AI tools you already use
Model Router
Example session with this skill installed
I have Ollama running llama3:70b locally and an OpenRouter account. Set up a routing chain that prioritizes local for summaries but uses OpenRouter for complex refactoring.
- Read your context and instructions
- Compiled the model router
I have generated a starter config at ~/.model-router/config.json. I mapped 'local-ollama' to the 'local' tier and 'openrouter' to the 'cloud' tier. I successfully validated both endpoints. Summaries will now route locally, falling back to cloud only if Ollama is unreachable.
Connects securely to your tools. The creator never sees your data.
About this skill
A pattern-based decision framework that teaches AI agents how to intelligently route tasks across multiple model providers with automatic fallback.
Key Features:
- Multi-provider routing: Try cloud first, fall back to local providers automatically
- Vendor-agnostic GPU detection: Works with NVIDIA, AMD, Intel, and Apple Silicon
- Auto-discovery: Detect running providers (Ollama, LM Studio, llama.cpp, vLLM) on your machine
- Zero dependencies: Helper scripts use Python stdlib only
- Config-driven: Simple JSON or YAML config - bring your own providers and models
- Task-tier routing: Route complex tasks to cloud, simple queries to local - save API costs
What's included:
- SKILL.md decision framework
- Discovery script (auto-detect GPU + providers)
- Probe script (check provider health)
- Route validator (test your full chain)
- Annotated config template
Perfect for developers running local LLMs alongside cloud APIs who want a reliable fallback when their primary provider is rate-limited or down.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
1 people have installed this skill.
Trust & safety
Security scanned
Verified clean 15 days ago
- Free to download with an account