himomohi/jev-skill-router keeps a library of skill instructions outside the main model’s prompt. Jev ranks skill descriptions, then checks shortlisted instruction excerpts. The selected guidance returns through MCP, the standard for connecting agents to tools. Execution and approvals remain with the host application.
Rank first, check the instructions second
- The first request ranks catalog metadata and includes an explicit no-match option.
- Separate yes/no and usefulness questions check whether shortlisted instructions support the actual task.
- Code requires fit, usefulness and confidence thresholds before loading a skill. The default permits one selected skill.
- Missing credentials, malformed responses and provider failures surface as errors. Offline keyword routing requires explicit selection.
The implementation bounds request attempts, including retries, and applies an overall routing deadline. This contains work; it does not establish calibrated judgments or correct skill selection.
Less prompt content still costs work elsewhere
The project’s deterministic accounting compares metadata plus one selected skill with a router interface plus that same skill. A local rerun reproduced its synthetic figures:
| Synthetic catalog | Baseline → routed UTF-8 bytes | Change |
|---|---|---|
| Five skills | 3,878 → 4,936 | 27.28% larger |
| 200 skills | 58,088 → 4,940 | 91.50% smaller |
These are skill-related bytes in one main-model context. Jev’s requests, additional model turns, cached billing and final task outcomes require separate accounting.
Adding the server also leaves native skill discovery intact. Users must separately disable native exposure or relocate their own skills, then begin a fresh session, to obtain the intended prompt change.
Local retrieval can remove the right skill
The optional metadata search narrows large catalogs before Jev sees them. On the project’s authored comparison set, a local rerun retained 83 of 92 required skills at an eight-candidate limit. It preserved every required skill in 75 of 84 positive cases.
A later semantic judge cannot recover a skill removed upstream. The production default checks the full catalog; local narrowing is opt-in.
The same rerun recovered 60/96 exact selections for the single-result lexical baseline and 53/96 for its thresholded alternative. The project supplies no live Jev comparison result. Those baselines therefore establish a test floor, without demonstrating a Jev advantage.
Keep the data boundary visible
Live routing sends focused task text, skill descriptions and shortlisted excerpts to TypeSafe. The main model receives selected instructions. Read helpers restrict paths and require a matching content digest for continuation, so an edited file cannot silently supply mixed pages.
Caveat: 287 supplied tests passed locally and four were skipped; offline accounting and baselines were rerun, while live Jev accuracy, host task success, total savings and security remain unvalidated.