All shelves / Mods / Usage
quality-router
By nextscape
quality-router is a Claude Code usage mod by nextscape.
Picks each prompt's effort and each subagent's model and effort with Haiku, refuses rule-breaking Workflow scripts, and shows its state on the status line.
DrawsHolds a command
Install
The marketplace name is nextscape-mods.
/plugin install quality-router --marketplace nextscape/ns-modsIt runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.3.1
- License
- MIT
- Repo stars
- 3
- Last change
- 2026-10-07
What it can reach
- Draws in the session
- Holds a command
- Reads usage or context figures
- Sees tool calls
Claude Code 2.1.287 or later; the author checked it on 2.1.292. It works from a new session. Haiku judges each request of 20 characters or more, and twice for each subagent it routes, on your plan or API key, about a second each; the main judgment waits up to 5 seconds. Haiku gets the start and end of the request and the end of the last reply, and the start and end of a subagent's description and prompt, through Claude Code's own connection. While it is on, it overrides the built-in /effort on the next request; turn it off with /qr off first to keep a level. Installed with effort-router, it leaves the main thread's effort to effort-router. The model guard is off by default; /qr guard on switches a main model such as Sonnet back to the top model, which uses more of your plan. Agents you defined and subagents started with a named model are left alone, and a saved Workflow in .claude/workflows/ only gets a notice. Its log in ~/.claude/quality-router/ keeps judgments and results, not the text. The author calls it experimental. The README is in Japanese.
The marketplace, nextscape-mods, also lists effort-router, git-nudge, and voice-notify. The effort and model it sets for each turn and subagent is why this page files it under usage. effort-router, by nextscape, picks only the main thread's effort, and this one hands the main effort to it when both are installed. subagent-tuner, by Kruhlikau, picks each subagent's model and effort by asking you in a pane. This one picks among medium, high, xhigh, and max for the main thread, raises the floor to xhigh while a brainstorming, planning, debugging, or code review skill runs, and goes up a level after two tool errors in a row. It sorts each Agent subagent by kind and weight and gives it a model and effort from a table, a level higher when the same subagent is started again. A Workflow script whose agent() calls fall outside the floor and ceiling for their label, such as chore: or review:, is refused with how to fix it. /qr stats and /qr log show the record, and /qr eval scores the judge on bundled examples.
Demo

What it hooks into
session.startWhen a session startssession.endWhen a session endscommand.runWhen you run its slash command/quality-router/qr/effort/modelturn.startWhen Claude starts a turnsession.appendWhen an entry is written to the transcriptturn.stepAt each step of a turntool.callAround a tool call, where it can hold oneprompt.composeWhile you write a promptagent.spawnWhen a subagent startsturn.completeWhen a turn ends
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- nextscape
- Category
- Usage
- Marketplace
- nextscape-mods
- Folder
- mods/quality-router
- Version
- 0.3.1
- License
- MIT
- Repo stars
- 3
- Last change
- 2026-10-07
- Language
- TypeScript
- Files
- 37
