jev
/jev
Switch the Jev model router on or off, set its Claude Code mode, run its fork check, or show its status. Use when the user types /jev, $jev, "jev on", "jev off", "jev status", "jev mode", asks to turn the Jev router on or off, asks how many messages went to each size, asks what Jev has cost, or asks about the fork check (snapshots, replays, the report). The router asks Jev (TypeSafe's model on OpenRouter) about each message. In Codex and opencode it sends small jobs to a smaller, cheaper model. In Claude Code it predicts how long the job is and prices a fresh subagent against doing it in the s
- Author
- yorrick ↗
- Repository
- agent-skills ↗
- Licence
- MIT
- Last repository change
- 09.10.2026
Assessment and security
- Files in this package
- 15
- Scripts
- 11
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 09.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 11 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/delegation.py, scripts/fork_check.py, scripts/jev_router.py, scripts/judge.py, scripts/publish.py, scripts/replay.py, scripts/report.py, scripts/session.py, scripts/snapshot.py, scripts/usage.py, scripts/warmup_hook.py
What it does and when to use it
Switch the Jev model router on or off, set its Claude Code mode, run its fork check, or show its status. Use when the user types /jev, $jev, "jev on", "jev off", "jev status", "jev mode", asks to turn the Jev router on or off, asks how many messages went to each size, asks what Jev has cost, or asks about the fork check (snapshots, replays, the report). The router asks Jev (TypeSafe's model on OpenRouter) about each message. In Codex and opencode it sends small jobs to a smaller, cheaper model. In Claude Code it predicts how long the job is and prices a fresh subagent against doing it in the s
Triggers from the description
Original author description
Switch the Jev model router on or off, set its Claude Code mode, run its fork check, or show its status. Use when the user types /jev, $jev, "jev on", "jev off", "jev status", "jev mode", asks to turn the Jev router on or off, asks how many messages went to each size, asks what Jev has cost, or asks about the fork check (snapshots, replays, the report). The router asks Jev (TypeSafe's model on OpenRouter) about each message. In Codex and opencode it sends small jobs to a smaller, cheaper model. In Claude Code it predicts how long the job is and prices a fresh subagent against doing it in the s
How it works
- Fork check
- What the router does
SKILL.md preview
--- name: jev description: Switch the Jev model router on or off, set its Claude Code mode, run its fork check, or show its status. Use when the user types /jev, $jev, "jev on", "jev off", "jev status", "jev mode", asks to turn the Jev router on or off, asks how many messages went to each size, asks what Jev has cost, or asks about the fork check (snapshots, replays, the report). The router asks Jev (TypeSafe's model on OpenRouter) about each message. In Codex and opencode it sends small jobs to a smaller, cheaper model. In Claude Code it predicts how long the job is and prices a fresh subagent against doing it in the session; in shadow mode, the default, it only logs that decision, and only live mode tells the session to delegate. It is off until the user turns it on. --- # Jev router switch Run the router script in this skill's `scripts/` directory with the user's word: `on`, `off` or `status` (no word means `status`). ```bash uv run --quiet --script <this skill's directory>/scripts/jev_router.py status ``` Show the user the script's output as it is. It already carries the privacy reminder when the router is on. Do nothing else. - `on` needs, once, the shell file that exports `OPENROUTER_API_KEY`: add `--key-file <path>`. The path is remembered for later `on`s. If `on` fails because no key file is known, ask the user for the path. Never search for keys and never print one. - `classify "<message>" ...` sizes messages without routing anything and prints a table of what Jev picked and how sure it was. Add `--harness codex` or `--harness opencode` to use those harnesses' sizes. - `JEV_ROUTER=off` in a run's environment turns the router off for that run, whatever the switch says; `JEV_ROUTER=on` opts a headless run (`claude -p`, `codex exec`, `opencode run`) in, such as an eval. - `mode shadow|capture|live` (runs `jev_router.py mode ...`) sets the Claude Code cache-aware router's mode: `shadow` decides and logs but tells the session nothing, `capture` also saves a snapshot of each job it would delegate, and `live` tells the session to hand the job to a fresh subagent. Add `--dir <path>` with `capture` to change where snapshots are saved; a path with a space or a non-ASCII character is refused. ## Fork check The fork check replays the jobs the router selected in `capture` mode, both kept and delegated, to measure real cost, time and quality before turning on `live` mode. Run its commands from `skills/jev/scripts/fork_check.py`, in this order: `check` (restore-check new snapshots), `list` (snapshots and what each real turn did outside the machine), `mark` (mark a snapshot safe or skip to replay, or inconclusive to take a stuck job out of the report), `replay` (restore a marked snapshot into two clones and run keep and delegate; it also resumes a job an interrupted replay left behind), `judge` (a blind Codex verdict on the two results, whose copies leave out ignored files outside dependency folders and virtualenvs, and any copy of a restored secret such as `.env`; a result holding a link out of the repository is not judged), `publish` (push both results to a private copy and open the comparison PR), `report` (the fork check's pass or fail over its 20 jobs), and `shadow` (shadow-mode decisions against what really happened). Replay a job captured in a worktree before removing that worktree: once its checkout is gone, the job can only be inconclusive. ## What the router does One switch, in `~/.config/jev-router/`, covers Claude Code, Codex and opencode. While it is on, each message the user types (up to its first 4,000 characters) is sent to Jev; in Claude Code, so are the last 1,500 characters of the assistant's previous reply. Each size maps to a model and a thinking level inside the same harness (the table is `scripts/tiers.json`). In Codex and opencode, Jev answers two typed questions: what is the smallest model that can do this job well, and does the message only make sense inside the conversation? When Jev gives its pick at least a 60% probability, and the message is not a short reply that only makes sense inside the conversation, the job goes to the helper for that size, and the reply ends with a line such as `Done by GPT-6 Luna at max thinking`. Headless runs (`claude -p`, `codex exec`, `opencode run`) are routed only with `JEV_ROUTER=on`. If Jev is slow (over 2 seconds) or anything fails, the message goes through as if the router were not there. | Harness | How a job reaches its model and thinking level | |---|---| | Claude Code | Jev predicts how many model calls the job will take, and the router prices doing it in the session against briefing a fresh `jev-router:<size>` subagent. Only in `live` mode, and only when delegating is expected to save at least $0.25 and 15% with at most a 20% chance of costing more, is the main model told to brief that subagent and review its result. `shadow` (the default) and `capture` tell the session nothing. | | Codex | The main model is told to `spawn_agent` with the size's model and `reasoning_effort`, unless it is certain it already runs that model at that level. It still reads the message and relays the result. | | opencode | The message itself moves onto the `jev-<size>` agent, model and thinking level, so there is no relay. |
Files in this package (15)
- SKILL.md 5 KB
- scripts/calibration.json 2 KB
- scripts/delegation.py 4 KB
- scripts/fork_check.py 24 KB
- scripts/jev_router.py 38 KB
- scripts/judge.py 9 KB
- scripts/prices.json 1 KB
- scripts/publish.py 6 KB
- scripts/replay.py 89 KB
- scripts/report.py 9 KB
- scripts/session.py 2 KB
- scripts/snapshot.py 10 KB
- scripts/tiers.json 2 KB
- scripts/usage.py 5 KB
- scripts/warmup_hook.py 2 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · yorrick/agent-skills | 100 | MIT |
| chrishuffman5/domain-expert | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| ratacat/ratacats-skills | 100 | MIT |
| kataras/jev | 100 | MIT |
| liby/dotfiles | 100 | MIT |
| wxk-ai/jev-opus | 100 | MIT |
| francoischastel/jev-code | 100 | MIT |
| chrishuffman5/domain-expert | 100 | MIT |
Database snapshot: 13.11.2026 · package version 9aaaf974c094 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100jev-setup
Use when Jev is not working yet, a Jev tool reports no_key or auth_failed, or the person asks to connect or fix Jev. Gets their TypeSafe or OpenRouter key into the secret store, unseen by you. - 100build-with-jev
Builds an app that uses TypeSafe's Jev decision model through a coding agent such as Cursor, from getting an API key to a running demo. Use when the user wants to build something on the Jev API, for example "build an app with the Jev API", "set up Jev in my project", "use Jev to… - 100jev-judgment-design
Design how a closed LLM judgment (relevance, novelty, evidence strength) moves to TypeSafe Jev. Use when replacing an LLM judgment with Jev, or when a Jev judgment lets everything through. For Jev's API and primitives, use typesafe:typesafe-ai first. - 100jev-architect
Explain TypeSafe Jev, explore what to build with it, and design or evaluate its use in existing software. Use for Jev product ideas, fit checks, bounded decisions, integration design, and rollout audits. Can recommend keeping an exact rule in code. Not for unrelated text… - 84sw-jev
Use Jev or optional OpenAI Decisions for bounded routing, shell-command risk, text screening and failure triage. Use for "jev", "system one", or "classify this". - 95jev-style-mcp
Connect the Jev-Style local decision model to an AI coding agent as an MCP server (tools decide, noul, choice, score, model_info) - Claude Code, Claude Desktop, Cursor, Codex CLI, Windsurf or any MCP client. Use when the user wants their agent to classify, route, gate or score…