gargpratyush

Jev Router — AI skill for Claude Code

AI community

Route to the cheapest model in claude code for your task using jev-router.

How to install Jev Router

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gargpratyush/jev-router and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Jev Router does

Route to the cheapest model in claude code for your task using jev-router.

Alternatives in AI

  • Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
  • Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★
  • Model Selection — Model Selection & Task Tool 1.1k ★

README

jev-router

Automatic per-turn model routing for Claude Code and OpenAI Codex. Jev sends simple work to the fast tier and difficult work to the strong tier, while preserving each CLI's native interface, tools, sessions, permissions, and authentication.

Command Interface Authentication Routing decision
jev-claude Claude Code Existing claude login Status line
jev-codex OpenAI Codex Existing codex login Commentary line

Both commands launch the real upstream CLI. Jev only chooses the model for a fresh user turn.

Quick start

Requires Node.js 20.12+ and at least one supported CLI: [Claude Code](https://code.claude.com/docs/en/setup) or [OpenAI Codex](https://developers.openai.com/codex/cli).

1. npm package

npm install -g jev-router
echo "JEV_API_KEY=..." > ~/.jev-router.env

2. Local repository

git clone https://github.com/gargpratyush/jev-router.git
cd jev-router
npm install
npm link
echo "JEV_API_KEY=..." > ~/.jev-router.env

On Windows PowerShell:

Set-Content "$HOME\.jev-router.env" "JEV_API_KEY=..."

Get a key from [TypeSafe](https://docs.typesafe.ai). Then launch either interface from any repository:

jev-claude
jev-codex

No Anthropic or OpenAI API key is required when the corresponding CLI is already logged in with a subscription. Every CLI argument is forwarded:

jev-claude --resume
jev-claude -p "fix the failing test"
jev-codex resume --last
jev-codex exec "fix the failing test"

For a local checkout, `npm link` installs both commands. Without it, run `node bin/jev-claude.mjs` or `node bin/jev-codex.mjs`.

Claude Code interface

![Jev Router in the Claude Code model picker](docs/model-picker.png)

`jev-claude` launches Claude Code with **Jev Router** selected in `/model`. Selecting another model pauses routing; selecting **Jev Router** resumes i