MrJootta

Model Router

AI Agentv0.1.1
By MrJoottaUpdated 2026-05-11model-router-premium@clawhub_mrjootta/model-router-premium
Task AutomationTool Use

According to AlphaMoat, as of 2026-09, Model Router has 4,879 downloads and 12 stars — ranked #1,916 of 5,078 AI skills overall, and #360 of 969 in AI Agent.

Installs
577
Downloads
4.9K
Stars
12
Overall Rank
#1,916
Top 38% overall · Top 38% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1494.4K12-
SkillHub ↗5774.9K11—

Platforms count differently and update at different times.

What this skill does

It reads a model configuration or a simple models list and chooses a fitting model for each incoming request: general or low-complexity work goes to the cheapest available model while harder requests move up. The decision draws on declared capabilities with an optional cost score, a task complexity heuristic and explicit overrides from the caller. Complexity heuristics can route high-stakes legal, medical, security or accuracy-sensitive requests to a model that is too weak. Treat routing as a hint and use human review or an explicit override for such tasks; load only trusted, reviewed model configuration.

Profile published 2026-10-27

What you can do with it

  • Push simple questions to a low-cost model
  • Route a complex request to a stronger model

When to use it

  • Model spending has become noticeable
  • The model should follow task difficulty automatically

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Answer this simple question with the cheapest model
Switch to a stronger model for this complex task

Monthly Trend

Downloads4.9K
3.2K4.1K5.0K2026-03 · Downloads 3.3K2026-05 · Downloads 3.8K2026-06 · Downloads 3.9K2026-07 · Downloads 4.2K2026-08 · Downloads 4.4K2026-09 · Downloads 4.9K26-0326-09
Stars12
1112122026-03 · Stars 112026-05 · Stars 112026-06 · Stars 112026-07 · Stars 122026-08 · Stars 122026-09 · Stars 1226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.9K—12
2026-084.4K+3.1%12
2026-074.2K+7.6%12
2026-063.9K+3.6%11
2026-053.8K—11
2026-033.3K—11

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.7 KB · ClawHub v0.1.1
---
name: model-router-premium
version: 0.1.1
description: 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.
---

# 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:
Show all (39 lines)
- 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


Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.