model-routing

agent
Guvenlik Denetimi
Uyari
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Claude Code plugin for token economy: the strongest model thinks, cheaper models grind. Pinned subagents (sonnet scout and implementer, haiku test-runner, opus reviewer), a routing skill, and a dispatch counter that measures what actually stayed off the session model.

README.md

model-routing

tests
version
docs

Tiered model routing for Claude Code token economy: every subagent dispatch runs on the cheapest tier and effort its role needs, and the plugin adds no dispatches of its own.

The plugin does not decide whether work leaves your main session - you, your repo policies and your other skills (Superpowers, workflows) do. It decides what a subagent runs on once it is dispatched: implementation, review and test runs go to cheaper tiers at a pinned effort instead of inheriting the session model, and the raw output (test logs, file reads) stays out of your main session context. Everything stays inside Anthropic models: no proxy, no third-party gateway.

Full documentation: https://aquegen.github.io/model-routing/

Will it save you money?

A subagent is not free: it starts with an empty context, so everything it reads is a cache write, and that bill lands whether or not this plugin is installed. The plugin changes the price per token, not that penalty.

  • You already dispatch subagents (Superpowers, workflows): it saves, roughly a sixth on the one measured workload - $1.68 with the tier routed down against $2.01 for the same work repriced at your session's tier.
  • You rarely delegate: since 0.17 it adds no dispatches, so what remains is an always-on surcharge of about 588 tokens of context per session (a claude plugin details projection; the 1.9k cache-write tokens measured up to 0.20 included the SessionStart text 0.21 removed). Up to 0.16 it pushed dispatches that would not otherwise have happened, which cost roughly a fifth on that workload.
  • Multi-file implementation on sonnet instead of opus cost 53% less with every hidden test passing.

One workload, three runs an arm: the direction is solid, the exact percentage is not. Full benchmarks.

Install

/plugin marketplace add AqueGen/model-routing

Then enable the plugin:

/plugin install model-routing@model-routing

More options and requirements: install guide.

Agents

Agent Model Effort Purpose
scout sonnet low Read-only codebase exploration: conclusions and file:line refs come back, file dumps stay out.
surveyor haiku medium Read-only breadth: enumerate, list, trace a chain end to end.
test-runner haiku low Run tests, builds and linters, report failures compactly. Never fixes anything.
e2e-runner sonnet medium Drive Playwright/E2E scenarios, interpret failures.
implementer sonnet medium Implement one well-defined task from an approved plan. model=opus only for security, money, data migrations or concurrency, or a retry.
reviewer opus high Review a diff for correctness bugs, ranked by severity.
task-reviewer sonnet high Per-task reviews and scoped re-reviews inside a plan loop.

Documentation

License

MIT

Yorumlar (0)

Sonuc bulunamadi