A comprehensive AI model routing system that automatically selects the optimal model for any task.

No licenceAuto-check passedAI & LLM Engineering

Install Model Router

skills CLI
$ npx skills add sundial-org/awesome-openclaw-skills --skill model-router -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills model-router --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/model-router .claude/skills/model-router && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
model-router
GitHub stars
663
Token cost
~2.2k tokens
SKILL.md length
600 words
Files
5 (incl. scripts, references)
Skills in repo
383
Repo updated
First seen
Licence
None found

At a glance

A comprehensive AI model routing system that automatically selects the optimal model for any task.

  • Works in 3 steps: Run the Setup Wizard → Use the Classifier → Route Tasks with Sessions
  • You need use X model for this
  • SKILL.md covers 🎯 What It Does, 🚀 Quick Start, 📊 Supported Providers and 🎛️ Task Type Mappings, plus 6 more sections
  • Runs Python scripts from its folder; calls python3 and pip3; needs ANTHROPIC_API_KEY and OPENAI_API_KEY

What it does

Model Router is an agent skill from sundial-org/awesome-openclaw-skills. A comprehensive AI model routing system that automatically selects the optimal model for any task. Set up multiple AI providers (Anthropic, OpenAI, Gemini, Moonshot, Z.ai, GLM) with secure API key storage, then route tasks to the best model based on task type, complexity, and cost optimization. Includes interactive setup wizard, task classification, and cost-effective delegation patterns. Use when you need "use X model for this", "switch model", "optimal model", "which model should I use", or to balance quality…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/USAGE_EXAMPLES.md`, `references/model-specs.md` and `scripts/classify_task.py`).

It sits in AI & LLM Engineering, covering Model routing and gateways. It works with Zhipu GLM and OpenAI. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones.

When your agent uses it

  • You need use X model for this
  • Which model should I use
  • Balance quality vs cost across multiple AI providers

Example prompts

  • “use X model for this”
  • “switch model”
  • “optimal model”
  • “/model-router”

Requirements

  • Python 3
  • A credential in ANTHROPIC_API_KEY
  • A credential in OPENAI_API_KEY

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Run the Setup Wizard
  2. Use the Classifier
  3. Route Tasks with Sessions

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.anthropic.com
    • platform.openai.com
    • ai.google.dev
    • platform.moonshot.cn
    • api.z.ai
    • open.bigmodel.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ANTHROPIC_API_KEY
    • OPENAI_API_KEY
    • GEMINI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Model Router loads about 2.2k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 142 tokens; SKILL.md has 600 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~142
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 600 words (~2,197 tokens).

“Intelligent AI model routing across multiple providers for optimal cost-performance balance.”

— opening of SKILL.md by sundial-org
name
model-router
version
1.1.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts, references) in skills/model-router of sundial-org/awesome-openclaw-skills.

  • SKILL.md
  • references/USAGE_EXAMPLES.md
  • references/model-specs.md
  • scripts/classify_task.py
  • scripts/setup-wizard.py

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Model Router next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Model Router compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Model Router this skillsundial-org/awesome-openclaw-skills663—~2.2kAutomated safety check: PassNone
Model Hierarchyzscole/model-hierarchy-skill346—~2.3kAutomated safety check: PassMIT
9Router AI Gateway Setupdecolua/9router30k—~744Automated safety check: PassMIT
Higress Openclaw Integrationhigress-group/higress9.5k—~2.5kAutomated safety check: PassApache-2.0
9Router Chat Completionsdecolua/9router30k—~635Automated safety check: PassMIT
Agent Squad Python Guide2FastLabs/agent-squad7.8k—~4.7kAutomated safety check: PassApache-2.0

Similar skills

  • Model Hierarchy

    zscole/model-hierarchy-skill

    Cost-optimize AI agent operations by routing tasks to appropriate models based on complexity.

    346 GitHub stars~2.3k tokensUpdated 7 mo ago
    AI & LLM EngineeringAuto-check passed
  • Sets up access to the 9Router AI gateway, an OpenAI-compatible REST endpoint for chat, images, speech, embeddings, web search and web fetch, and indexes its capability skills.

    30k GitHub stars~744 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Higress Openclaw Integration

    higress-group/higress

    Deploy and configure Higress AI Gateway for OpenClaw integration.

    9.5k GitHub stars~2.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Sends chat and code-generation requests through a 9Router gateway using OpenAI or Anthropic message formats, with streaming and auto-fallback combos.

    30k GitHub stars~635 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Agent Squad Python Guide

    2FastLabs/agent-squad

    Map of the agent-squad Python framework for async multi-agent orchestration: which agent, classifier, storage and tool provider to pick, and the pitfalls to avoid.

    7.8k GitHub stars~4.7k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Embeddings via 9Router

    decolua/9router

    Generates vector embeddings through the 9Router /v1/embeddings endpoint, using models from providers such as OpenAI, Gemini, Mistral and Voyage for RAG and semantic search.

    30k GitHub stars~604 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed

More from sundial-org/awesome-openclaw-skills

All 383 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Works with

Questions about Model Router

What does Model Router do?

A comprehensive AI model routing system that automatically selects the optimal model for any task. Model Router is an agent skill from sundial-org/awesome-openclaw-skills. A comprehensive AI model routing system that automatically selects the optimal model for any task.

When should I use Model Router?

Model Router fits situations like: you need use X model for this; which model should I use; balance quality vs cost across multiple AI providers.

How do I install Model Router in Claude Code?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill model-router -a claude-code`. Or copy the skill folder (skills/model-router in sundial-org/awesome-openclaw-skills) into .claude/skills/model-router in your project. Claude Code loads it when a task matches its description.

How do I install Model Router in Codex?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill model-router -a codex`. Or copy the skill folder (skills/model-router in sundial-org/awesome-openclaw-skills) into .agents/skills/model-router in your project. Codex loads it when a task matches its description.

Can I use Model Router in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill model-router -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/model-router, .gemini/skills/model-router, .github/skills/model-router and .opencode/skills/model-router in your project.

What does Model Router need to run?

Going by SKILL.md and its folder, Model Router needs Python for the scripts in its folder, the command-line tools its instructions call (python3 and pip3) and credentials named ANTHROPIC_API_KEY, OPENAI_API_KEY and GEMINI_API_KEY. Our summary lists: Python 3; A credential in ANTHROPIC_API_KEY; A credential in OPENAI_API_KEY.

Does Model Router access the network?

SKILL.md names 6 domains. As links in the text: docs.anthropic.com, platform.openai.com, ai.google.dev, platform.moonshot.cn, api.z.ai and open.bigmodel.cn. This is read from the text; nothing was executed.

Is Model Router safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Model Router use?

No licence was found for Model Router or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Model Router use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.9k tokens, read only when the agent opens those files.

What are the alternatives to Model Router?

Skills that share tags, products or a category with Model Router: Model Hierarchy (zscole/model-hierarchy-skill, 346 stars), 9Router AI Gateway Setup (decolua/9router, 30k stars), Higress Openclaw Integration (higress-group/higress, 9.5k stars) and 9Router Chat Completions (decolua/9router, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Model Router?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on March 7, 2026.

Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.