jev
Skill1 starsChanged 2 months agoMITView on GitHub
Ask Jev (TypeSafe's System One model, on OpenRouter's decisions endpoint) typed questions about a piece of text and get probabilities back instead of prose — a Choice between named options, a Score on an ordered scale, or a Noul, the probability that something is true. Use when classifying, routing, triaging, labelling, rating, scoring or flagging text, especially many items against one set of criteria; when a judgment needs a confidence number to gate on rather than an opinion; when building a filter, moderation or triage step; or whenever the `jev` command, the `jev` crate or OpenRouter's decisions endpoint comes up — including when the user just says "sort these tickets", "score these reviews" or "which of these need a human?". Not for writing, summarizing or rewriting text — Jev only answers questions you define.
- Reads credentials
- Installs packages
21 other projects use a version of this.
Adopted by
Most recently taken up by
- connorch/skillstheir own version, first seen Oct 5, 2026
- benjamin-small/agentic-harness-developmenttheir own version, first seen Oct 1, 2026
- joetawil7/first-passtheir own version, first seen Oct 1, 2026
- wuyoscar/jev-skilltheir own version, first seen Sep 28, 2026
- contacto939/kit-jevtheir own version, first seen Sep 26, 2026
- AlexPEClub/Jev-Model-Router-Claude-Codetheir own version, first seen Sep 24, 2026
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- wuyoscar/jev-skill★ 568same name
- joetawil7/first-pass★ 106same name
- FrancoisChastel/jev-code★ 40same name
- BorisLeMeec/jev★ 39same name
- flc1125/skills★ 35same name
- ciberjohn/Hermes-Skills★ 14same name
- okooo5km/jev★ 11same name
- ratacat/ratacats-skills★ 9same name
- AlexPEClub/Jev-Model-Router-Claude-Code★ 8same name
- buchmark/claude-jev★ 7same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 120
When the decision is several answers combined ("raining and not hot → raincoat"), write it as rules rather than as jq arithmetic.
- Very specific: line 187
Put the tie-break rule in the instructions ("route by what the sender is asking for, not by what happened to them"), and add an other …
- Very specific: line 192
Read references/patterns.md when building a routing, triage or ranking step rather than asking a one-off question.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Jev: typed questions, probabilities back
Jev doesn't write text. It reads a state and answers questions about it with probability distributions your code can act on. Every question sees the same state and is answered independently, so ask all of them in one call — an extra question costs a few tokens and almost no time.
| Type | Asks | Answer |
noul | Is this true? | noul: the probability of yes. No separate confidence — that is the answer. |
choice | Which one of these? | choice, confidence, and probabilities for every option. 2–255 options. |
score | Which level? | score: the expected level, so it can fall between two; plus confidence and each level's probability. 2–10 levels, lowest first. |
Ask
A question is ID=INSTRUCTIONS then |-separated criteria. Each flag repeats; answers print in the
order written.
jev 'Our card was declined and the account is now suspended — nobody can get in.' \
--choice 'team=Which team should handle this? Route by what the sender is asking for, not by what happened to them.|billing:how the customer is charged or pays us|support:the product not working or not understood|security:who can get into the account' \
--noul 'blocked=Is the sender blocked from working right now?' \
--score 'urgency=How urgent is this?|No deadline|This week|Today'team billing confidence 0.79 (billing 0.86, security 0.12, support 0.02)
blocked 0.90 yes
urgency 1.98 of 2, nearest "Today" confidence 0.97
420 tokens in, 69 out, $0.000018, typesafe/jev-1.13-20260917| Flag | |
STATE / -f PATH | The state as an argument or from a file (- for stdin); stdin is read when it isn't a terminal. |
--state-json | Parse the state as JSON, so questions can point at named parts. |
--noul / --choice / --score | A question, repeatable. Noul criteria: none, or |YES MEANS|NO MEANS. Choice: two or more NAME[:DESCRIPTION]. Score: two to ten levels, lowest first. |
-q FILE | Questions from a JSON or TOML file (below) — the only way to use text containing |, or structured criteria. |
-r FILE | Fuzzy rules over the answers (TOML, below): prints each outcome's score instead of the answers. |
--graph / --svg PATH | With -r: draw the rules as a tree per rule in the terminal, or as an SVG rule-base diagram. Without a state, the structure alone and no call. |
--json / --table | The reply as JSON for jq (the fields jev knows, re-encoded); or a table. The default is one line per question. |
-m ID | Another model. Default ~typesafe/jev-latest; also typesafe/jev-1.13, jaredpalmer/kev-4b, and the yes/no-only respan/span-01, respan/span-01-lite, respan/span-01-lite:free. |
--dry-run | Print the request instead of sending it. Needs no key — check a question before paying for it. |
Write a questions file
A -q file is JSON or TOML, and its questions are asked in the order written. A Choice's
criteria maps option to description, a Score's is an array lowest first, a Noul's is optional
{"true":…, "false":…}. In JSON it is an object of ids to questions:
{"team": {"type": "choice", "instructions": "Which team?", "criteria": {"billing": "charges and invoices", "support": "the product misbehaving", "other": "neither"}},
"urgency": {"type": "score", "instructions": "How soon does this need an answer?", "criteria": ["No deadline", "This week", "Today"]}}The same in TOML is a [[question]] table per question, with the id as name and the
instructions as instruction (singular — instructions is an error there):
[[question]]
name = "team"
type = "choice"
instruction = "Which team?"
criteria = { billing = "charges and invoices", support = "the product misbehaving", other = "neither" }
[[question]]
name = "urgency"
type = "score"
instruction = "How soon does this need an answer?"
criteria = ["No deadline", "This week", "Today"]A Noul's criteria are criteria = { true = "…", false = "…" }. TOML has no null, so a Choice's
options without descriptions are a list of names: criteria = ["billing", "support"]. Quote dates
("2026-10-01"): a bare TOML date, nan or inf has no JSON form and is refused. A .json or
.toml name says which format a file is; from stdin, text starting with { is JSON. Two questions
with one name are refused.
Read
{"type": "noul", "noul": 0.9}
{"type": "choice", "choice": "billing", "confidence": 0.79, "probabilities": {"billing": 0.86, "security": 0.12}}
{"type": "score", "score": 1.98, "confidence": 0.97, "probabilities": {"0": 0, "1": 0.02, "2": 0.98},
"legend": {"0": "No deadline", "1": "This week", "2": "Today"}}A Score's probabilities and legend are keyed by level number as strings; the reply also
carries usage.cost in US dollars.
jev -f ticket.txt -q questions.json --json > reply.json
jq -r '.answers.team | select(.confidence > 0.6) | .choice' reply.json
jq -r '.answers.urgency | .legend[(.score | round | tostring)]' reply.jsonDecide with rules
When the decision is several answers combined ("raining and not hot → raincoat"), write it as rules
rather than as jq arithmetic. A rules file names answers as terms and combines them with fuzzy
logic into a support score per outcome. It reads each probability as the degree its term holds, a
modelling choice: a score is the policy's support, not a probability.
[terms] # lowercase names for answers
hot = "temp.Hot" # a Score level, by its exact text
humid = "humidity.Humid"
raining = "raining" # a Noul, by its id
# stormy = "sky.storm" # a Choice option
[[rule]]
if = "raining AND NOT hot" # AND OR NOT ( ), hedges VERY SOMEWHAT EXTREMELY INDEED — uppercase
then = "raincoat"
[[rule]]
if = "VERY humid OR hot"
then = "breathable fabric"
weight = 0.8 # optional, 0–1jev -f weather.txt -q weather.json -r wear.tomlraincoat 0.96 yes
breathable fabric 0.80 yes
threshold 0.50AND is min, OR is max, NOT is 1 − x; rules with the same then are joined by OR. An item is
a yes at or over [decide] threshold (0.5). --table adds the rules behind each score, and --json
prints {"reply", "outcome"}. The file is checked against the questions before the call, so a term
naming a level that doesn't exist fails for free, --dry-run included. Read
references/patterns.md for [logic] (other ANDs and ORs), outputs, and how to design the rules.
For an amount rather than a yes/no ("how long to water"), declare an output and conclude in its sets. The value is the centroid of the clipped sets; it says where the support is, not how much, so check the sets' scores (printed beside it) before acting on it:
[output.irrigation] # minutes of watering: the file has no units, so say it
range = [0, 100]
short = [0, 0, 20, 40] # trapezoid a, b, c, d
medium = [30, 50, 70] # triangle a, peak, c
[[rule]]
if = "regular"
then = "irrigation IS medium"To check the rules before trusting them, jev -q q.json -r rules.toml --graph shows every rule's
tree with no call. With a state, it shows the number at every node, so you can see which rule
decided.
Write criteria that decide something
Criteria exist for the cases that are nearly one thing and nearly another; the obvious ones answer themselves. Say what puts an item on each side of the line:
--score 'quality=How good is this review?|Bad|OK|Good' # the boundary is anyone's guess
--score 'quality=How useful is this to someone deciding whether to buy?|Says nothing specific — "great product"|Names one concrete thing|Names several, with the trade-offs between them'Put the tie-break rule in the instructions ("route by what the sender is asking for, not by what
happened to them"), and add an other option when the list may not cover every input.
Patterns
Read references/patterns.md when building a routing, triage or ranking step rather than asking a
one-off question; it works each of these through with jev and jq.
- Fan-out — ask every question you might need in one call, speculative ones included, and let your code pick what matters. They run in parallel, so extra questions barely cost anything.
- Confidence routing — the answer says what, confidence says whether to act. Gate each action on a threshold matched to its stakes, and send the rest to a person.
- Intent routing — classify cheaply first, then hand off to the right handler, instead of putting every request through an expensive model.
- Composite scoring — score independent dimensions separately, normalize each to 0–1, weight them and sum. Adjustable, and the individual scores stay visible.
- Fuzzy rules —
-r: IF–THEN rules over the answers decide what to do, readable and editable by the person who owns the decision.
Many items
One call per invocation, so a batch is xargs:
ls emails/*.txt | xargs -P 8 -I{} sh -c '
id=$(basename "$1" .txt)
jev -f "$1" -q questions.json --json |
jq -r --arg id "$id" "[\$id, .answers.team.choice, (.answers.team.confidence|tostring)] | @tsv"
' _ {}Rows arrive as they finish, so sort if order matters.
Gotchas
- Jev sees only the state — not your files, not the conversation, not the question ids. Quote into the state everything it needs.
- A Noul has no
confidencefield. Its probability is the answer. - A Score's
scoreis an expectation, not an index.1.98 of 2is nearly the top level, but1.2 of 2may be a case between two levels or a split between distant ones ([0.4, 0, 0.6]also expects 1.2): readprobabilitiesbefore rounding. - A Noul's probability is the answer. 0.01 is a confident no, and 0.5 is a real, uncertain answer, not a missing one.
- Refused before anything is sent (so it costs nothing): a repeated question id, a Choice with
under two options, a Score outside two to ten levels, an empty state, the state and
-qboth on stdin. Anything else is OpenRouter's own error. - Nothing else is validated. Jev will answer a badly-posed question with a confident-looking distribution. Garbage criteria, garbage answer.
- Deciding one thing, once, with the context already in front of you? Just decide it. Jev earns its keep on many items against one set of criteria, not on a single judgment you are already making.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

