/jev-style:jev-style-evalfrom jev-style
Evaluates the Jev-Style local decision model on user-provided labelled examples, reporting accuracy, Brier, ECE, automation thresholds at error budgets, and refitted calibration temperature.
Ships in jev-style. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
jev-style eval data.jsonl sends every labelled example to the model and reports, per question and
overall: accuracy, Brier, ECE, and automation at an error budget (the share of decisions the model
can take alone if you only act above a confidence threshold, with the threshold to use). It also refits
a temperature on half the rows and reports the effect on the other half. No training involved.
One JSON object per line: the same shape as a /v1/systemone request, plus "label" on each question
to score. Lines starting with # are ignored.
{"state": "I was charged twice for order #4411.",
"questions": {
"team": {"type": "choice", "instructions": "Which team should handle this ticket?",
"criteria": {"billing": "charges, refunds", "shipping": "delays, lost parcels"}, "label": "billing"},
"escalate": {"type": "noul", "instructions": "The customer asks for a person to handle this urgently.",
"label": false},
"mood": {"type": "score", "instructions": "How upset is the customer?",
"criteria": ["calm", "annoyed", "angry"], "label": "annoyed"}}}
Labels: noul true/false; choice an option name; score a level label, or a 0-based index when no level
has that name (so with levels "1".."5" the label "3" means the level named 3).
Where labels come from, best first:
jev-style-adopt).Aim for at least 100 labelled decisions per question (the automation numbers are noisy below that), drawn the way production traffic is. Never put the same example in twice.
curl -s http://127.0.0.1:8765/healthz # if nothing answers, start `jev-style serve` in another terminal
# and wait until healthz answers before running eval
jev-style eval data.jsonl --url http://127.0.0.1:8765 --json eval.json
Without --url (or JEV_STYLE_URL), eval loads its own copy of the model in-process. Labels that name
no option are skipped with a warning (--strict stops instead).
A bundled example (30 hand-written tickets, format demo only):
jev-style eval examples/support_tickets.jsonl --url http://127.0.0.1:8765 from a clone of https://github.com/lawrence3699/jev-style.
question n acc brier ece automate @1% / 5% / 10% error
team 30 93.3% 0.077 0.123 90.0% (p>=0.65) / 93.3% (p>=0.57) / 100.0% (p>=0.44)
acc: top answer equals the label. brier (lower is better) and ece (0 = perfectly calibrated)
judge the probabilities, which matter because the code acts on them.automate @5%: 93.3% (p>=0.57): acting only when the top probability is >= 0.57 covers 93.3 % of
cases with at most 5 % errors among them; the rest go to a person or an LLM. This is the number to
pick thresholds with. The threshold is on the top probability (max(probabilities), or max(p, 1-p) for
noul), not on the confidence field.refitted temperature: if ECE and log loss drop on the held-out half, apply it in code with
jev_style.evaluate.recalibrate(probabilities, T) before thresholding. If they do not improve (small
data), keep T = 1.Tell the user the n, which data it was, and that numbers on hand-written or tiny sets are indicative
only. If accuracy is low on a question, try rewording it (a noul phrased as a statement, clearer
criteria descriptions, an other option) and re-run on the same file; do not tune wording on the
final test rows you report.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lawrence3699/jev-style --plugin jev-style6 skills in this plugin
/jev-styleCall the local Jev-Style decision model (systemone-compatible API, default http://127.0.0.1:8765) to answer typed questions about text or JSON - yes/no probabilities (noul), one-of-N choices, ordered scores - for routing, classification, gating, triage, guardrails and scoring. Use when writing code that classifies, routes, scores or checks text with a small local model, when replacing an LLM call that only returns a label, or when the user mentions jev-style, /v1/systemone, noul, choice or score questions./jev-style-adoptFind LLM API calls in a codebase that only return a decision (a category, yes/no, or a 1-5 rating) and move them to the local Jev-Style decision model safely - scan, pick candidates with the user, rewrite each as a typed noul/choice/score question with a confidence cascade back to the LLM, run in shadow mode, measure agreement with jev-style eval, then switch. Use when the user wants to cut LLM cost or latency for classification, routing, moderation, gating or scoring calls, or asks which LLM calls a small local model could replace./jev-style-guardInstall the Jev-Style guard, a Claude Code PreToolUse hook that has a local decision model check every Bash, Write, Edit, Read, WebFetch and MCP tool call for destructive actions, data exfiltration, secrets access and out-of-project paths, and answers allow / ask / deny. Use when the user wants a local safety net or approval gate for Claude Code (or another agent with PreToolUse-style hooks), wants to block recursive deletes, force-pushes or key exfiltration, or wants to tune or measure such a guard./jev-style-mcpConnect 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 text with a local model through MCP, or asks to add jev-style as an MCP server./jev-style-serveInstall and start the Jev-Style local decision server (systemone-compatible API + Playground at http://127.0.0.1:8765) on macOS, Linux or Windows/WSL, pick the right backend (MLX on Apple silicon, PyTorch CUDA/CPU elsewhere, llama.cpp GGUF optional), verify it answers, and optionally keep it running at login. Use when the user wants to run Jev-Style, set up a local decision model / systemone endpoint, or when another jev-style skill finds no server on :8765.Other plugins' skills for the same job