English | 日本語
jev-skill-router
What happens when you add Jev to Claude Code as a skill router: the code, the log, and the week that ended with removing it.

jev-skill-router is a reference implementation for people building with TypeSafe's Jev, a model that writes no text and answers typed questions with probabilities. It is a Claude Code hook: on every prompt it asks Jev which installed skill fits and logs the answer. In shadow mode, the default, that is all it does; in inject mode it also gives Claude a one-line hint. Either way, Claude still sees every skill and makes the final pick. A bundled script checks that log against what Claude Code did next. It is Python 3.10+, standard library only, MIT licensed, version 0.2.0, and needs a paid TypeSafe API key.
I ran it for a week and removed it from my own setup. Of 539 suggestions, 28 were followed by a call of the suggested skill. Inside an agent that picks its own next step, I could not tell what the router changed. What I built on that lesson is jev-research-pipeline, where code owns the loop and Jev only judges (below). This README keeps the parts that carry over to other Jev builds, and why the whole did not pay off here. The full account and my other Jev experiments are under More from the author.
What the week showed
A per-prompt hook like this one can add a line to the turn, but it cannot change the skill listing. Claude Code still shows the model every skill's description, up to 1,536 characters each (skills docs, checked 2026-09-21), and the model still chooses. The router is a second opinion from a weaker judge (measured against Opus) to a stronger model that already reads the same descriptions. TypeSafe's skill suggestion cookbook, which this ports, was measured under different conditions: its agent, claude-haiku-4-5, read a skill index cut to 60 characters per skill, so a second reader with the full text had more to add.
Scripted requests went well, real sessions did not. Six single-intent requests such as "record this decision as an ADR" all got a sensible answer on 0.2.0 (2026-09-21). Then it ran in shadow mode for a week, 2026-09-21 to 2026-09-28, on my own roster of 52 to 66 skills, with jev-1.13.0 and prompts in Japanese:
| Count | Value |
|---|
| Decisions | 1,242 |
| Suggestions | 539 |
| Suggested skill called in the same session within 30 minutes | 28 (about 5%) |
After removing it, I read 20 unused suggestions drawn at random. 13 were off target, at least 6 of them reacting to text an agent wrote (a request to a subagent, or a subagent's report), which reaches the hook like a message you type. 5 were near the topic on a turn that needed no skill. In 1, Claude Code read the skill's file instead of calling it, and 1 may have been Claude Code's miss. The script, options and full counts are in evals/.
Why I stopped there. The 28 mixes three things: Jev's picks, how Claude Code chooses its next step, and how I counted. In an agent that decides its own next move, one added line can change everything after it, and the log cannot separate those three or show whether the router was quietly making things worse. In a pipeline whose steps are fixed in code, swapping one step for a Jev judgment leaves the rest unchanged, so its effect can be read.
The counterpart: jev-research-pipeline