Skip to content
ccmods.app

router

Picks the model and effort tier for each turn using a classifier, so simple turns cost less and hard ones get more.

by @alexei-led18Updated Broad accessGitHub

Installation

  1. Install from your shell (answer y to add the marketplace)

    $ claude plugin install router --marketplace alexei-led/claude-router

Already in a session? Type this at the Claude Code prompt:

$ /plugin install router --marketplace alexei-led/claude-router

Pick a scope and the mod is active right away. Needs Claude Code 2.1.287 or later, in a terminal. Full install guide

router running in Claude Code
Image from the project README

What does router do?

  • Picks a model and effort for each main-conversation turn based on a prompt classifier's tier and activity
  • Classifier choices: Jev, Cloudflare Clef or Clef Flash, OpenAI, or a local Ollama model
  • Band above the prompt shows the tier, activity, model and reason for each turn
  • /router opens a pane to pin a tier, edit each tier's model and effort, tune policy and view usage
  • /router auto turns routing on; /model picks a model and turns routing off

What do you need?

  • Claude Code 2.1.287 or later (terminal)
  • Claude Code 2.1.289 or newer
  • Credentials for one classifier: Jev API key, Cloudflare API token and account ID, or OpenAI API key
  • Or a local Ollama server with a pulled model instead of a hosted classifier

What can this mod access?

Read from the mod's code with claude plugin validate on Claude Code 2.1.296, synced Oct 12, 2026. This is a capability list, not a security audit. Mods run with your permissions, so install only from authors you trust.

Broad access
  • Writes files
  • Makes network requests
  • Reads files
  • Reads environment variables or settings
  • Reads your conversation
Hooks and engine calls (13 + 30)

hooks

  • agent.spawn
  • command.run{command=model}
  • command.run{command=router}
  • config.set{key=model}
  • session.compact
  • session.end
  • session.start
  • turn.complete
  • turn.start
  • turn.step
  • ui.render{component=AbovePrompt|Pane}
  • ui.render{component=SessionMode}
  • ui.render{component=Spinner}

calls

  • $.clock.after
  • $.clock.sleep
  • $.command.register
  • $.command.run
  • $.env.get
  • $.fs.exists
  • $.fs.list
  • $.fs.read
  • $.fs.stat
  • $.fs.write
  • $.http.fetch
  • $.session.cwd
  • $.session.id
  • $.session.messages
  • $.session.model
  • $.session.surfaces
  • $.session.usage
  • $.session.version
  • $.settings.read
  • $.state.get
  • $.state.set
  • $.store.delete
  • $.store.get
  • $.store.keys
  • $.store.set
  • $.ui.close
  • $.ui.copy
  • $.ui.open
  • $.ui.resolve
  • $.ui.toast

How do you uninstall router?

$ claude plugin uninstall router

To switch it off without removing it, use claude plugin disable with the same name.

cache-tax

karanb192/cache-tax

148

Keeps the prompt cache warm while you take a break and shows the estimated cost before a cold send.

UIPromptCommandsModerate access
$ claude --plugin-dir ./cache-tax

great-cto

avelikiy/great_cto

103

Runs Claude Code as a pipeline of specialist agents with stage checks and hard spending caps, while you keep the key decisions.

UICommandsBroad access
$ claude plugin install great_cto --marketplace avelikiy/great_cto

skins

hellosverre/claude-skins

104

Restyles Claude Code with icon tool rows, diff, table and Mermaid cards, a usage band and fifteen themes; /skin swaps them live.

UIPromptToolsBroad access
$ claude plugin install skins --marketplace hellosverre/claude-skins