ClaudeCodeMod

All shelves / Mods / Usage

jev-router

By dominicrico

jev-router is a Claude Code usage mod by dominicrico.

Asks TypeSafe's Jev which Claude model and effort fit each prompt, step, and subagent, runs it there, and draws every pick in a band above the prompt.

Draws

Install

The marketplace name is jev-router.

In Claude Code
/plugin marketplace add dominicrico/jev-router
/plugin install jev-router@jev-router
Open the repo

It 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.5.0
License
MIT
Repo stars
17
Last change
2026-10-23

What it can reach

  • Draws in the session
  • Reaches the network or an outside service

Then run /jev key with your TypeSafe key, or set TYPESAFE_API_KEY, and run /jev status. The lean preset is on by default and limits effort to medium; !full lifts it for one prompt, and !opus, !sonnet, or !haiku pins one prompt to a model. Each Jev call adds about 250 ms, and after three failures in a row it pauses for a minute and keeps your current model. Laya and Kev, two open System One models you run yourself, can take Jev's place, set under /plugin, jev-router, configure. The author's own measurements call long warm sessions its weak spot.

The marketplace, jev-router, holds only this plugin, from the repo root. This one installs on its own. Picking a cheaper model for each task is why this page files it under usage. claude-router picks a model and effort for each turn from a classifier, and draws the tier above the prompt. jev-pilot asks Jev, through OpenRouter, to set each turn's effort, the subagent model, and the one skill a prompt needs. This one asks Jev again before each step and once per subagent, caps the effort with a preset, and redacts keys, tokens, private keys, and password= values before the prompt goes to api.typesafe.ai; sendHistory turns off sending recent messages. In the source, the band is drawn in the AbovePrompt slot, and a toast says when Jev has failed three times in a row and is paused.

Demo

The author's recording of the JEV band above the prompt, one scene at a time with a caption over each: a task running with the spinner turning; a hard task sent to opus with the effort capped from xhigh; opus picked while the session ran on sonnet, which the band points out; a warm cache keeping sonnet when Jev wanted haiku; confidence turning amber, then red below 50%; and Jev paused for a minute after three failures while the session model keeps working. The scenes and figures are the author's sample.
From the author's repo.

What it hooks into

  • prompt.submitWhen you send a prompt
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command/jev
  • agent.spawnWhen a subagent starts
  • ui.renderDraws into the sessionAbovePrompt
  • session.startWhen a session starts
  • turn.startWhen Claude starts a turn
  • tool.callAround a tool call, where it can hold one
  • turn.stepAt each step of a turn

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /jev

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
dominicrico
Category
Usage
Marketplace
jev-router
Repo
dominicrico/jev-router
Version
0.5.0
License
MIT
Repo stars
17
Last change
2026-10-23
Language
TypeScript
Files
108

Other mods in Usage

usage-statsomeerdvrnOpens a /usage-stats pane of this machine's Claude Code tokens over 7 days, 30 days, or all time, by day, project, and model, with Linear issues closed.claujev-modCivalskiHolds a commandDraws a status line of the checks and actions TypeSafe's Jev made today for the ClauJev plugin, with the effort Jev suggests, and can apply that effort.jev-orchestratorhiyokuSends each subagent's task to TypeSafe's Jev, which picks its model, effort, and tool profile, and draws the picks, tokens, and cost on the status line.vitalsnaicudDraws a framed live dashboard above the prompt: model, effort, context, plan limits with a forecast, cost, tokens and cache, subagents, shells, and tools.dispatch-gatewdsewdser-bitHolds a commandRefuses one tool call once the main session has made 8 requests in a row itself, and a subagent past 3 an hour, so Claude hands work out. A retry goes through.usage-baromeerdvrnDraws your 5-hour and 7-day plan limits under the prompt, used or left, with the git branch and file counts, the model, context, and the session's cost.limitsRyan-LTDraws a band above the prompt with the 5-hour and weekly limits, a pace warning, and context fill, and toasts at 75%, 90%, and 100%.context-guardmelodic-softwareShows a toast when the session's context crosses into a worse zone, smart, acceptable, or dumb, and can draw the zone and percent in a row above the prompt.rate-limit-guardmelodic-softwareShows a toast when the account's 5-hour or 7-day rate-limit window reaches 90% or 95% and when it resets, and can draw both windows in a row above the prompt.orca-quotamutlumehmetDraws the 5-hour and 7-day usage of every Claude account on this machine in one band above the prompt, and warns once before the current account hits its limit.context-keepermishgoldenbergOpens a pane of what fills the context window with tips to trim it, and saves a handoff note of the goal, decisions, files, and TODOs to .claude/checkpoints/.usage-metermishgoldenbergOpens a pane of the 5-hour and 7-day plan limits with reset countdowns, burn rate and when a limit fills, session cost, cache hit ratio, and tokens per turn.
All 183 in Usage