/sensibility:judgefrom sensibility
Ask Jev (TypeSafe's judgment model) for fast typed judgments during work - rank candidates, check a diff against its ticket, score quality, verify yes/no claims. Use when a decision can be phrased as yes/no, pick-one-of, or place-on-levels questions over some text.
Ships in sensibility. 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.
Read when SKILL.md points to them; scripts run unread.
Jev answers typed questions about a state (text or JSON). It never generates text. One call takes ~0.5 s and costs a fraction of a cent, so use it freely.
Always exactly this shape, as one Bash command and nothing else on the line:
${CLAUDE_PLUGIN_ROOT}/skills/judge/scripts/judge.py '<questions JSON>' --state '<text or JSON>'
${CLAUDE_PLUGIN_ROOT}/skills/judge/scripts/judge.py '<questions JSON>' --state-file path/under/cwd.txt
${CLAUDE_PLUGIN_ROOT}/skills/judge/scripts/judge.py <battery> --state-file ticket=path/ticket.md --git-diff main...HEAD
${CLAUDE_PLUGIN_ROOT}/skills/judge/scripts/judge.py <battery> --state '{"ticket":"text from the chat"}' --git-diff HEAD
${CLAUDE_PLUGIN_ROOT}/skills/judge/scripts/judge.py --list
'\''.;, &&, |, >, <, $(...), backticks, $VAR, env prefixes, cd, or heredocs. Those make the command need permission.--state-file key=path (repeatable) builds an object state {key: file text}. Paths must be under the working directory. For long text not already in a file, write it with the Write tool first.--git-diff <range> runs git diff <range> itself and adds the output as state key diff. Combine it with --state-file key=path, or with --state '{"ticket":"..."}' when the other text came from the chat. Never redirect a diff to a file.cat or Read a file you pass with --state-file; the script reads it so your context stays clean.Output is one JSON line: {"answers":{...},"model":"jev-1.14.0","ms":412}, plus "verdict" and "rule" when a battery has a gate.
{"error":"key",...}: relay message to the user verbatim and stop. Do not retry, do not look for keys.{"error":"busy"}: Jev is overloaded; already retried. Tell the user; do not loop.{"error":"blocked"}: TypeSafe's firewall rejected the state text. Paraphrase shell snippets (curl flags, system paths) and rerun once.budget, state, usage, request with the API's field path). Fix and rerun once.python3: command not found: tell the user to install python3 (xcode-select --install on macOS).{"<id>": {"type": "...", "instructions": "...", "criteria": ...}}. Ids are for you; Jev never sees them, so the whole question goes in instructions.
| Type | Use for | criteria | Answer |
|---|---|---|---|
noul | is this true? | optional {"true": "...", "false": "..."} | {"noul": 0.93} probability of yes |
choice | which one of these? | {"option": "description or null", ...}, max 255 | choice, probabilities, confidence |
score | how much, on described levels? | array of 2 to 10 level descriptions, low to high | score (0-based, can fall between levels), probabilities, confidence |
Rules that make answers good:
diff touch ticket.files?"none or other option whenever the list might not cover the case.Jev is weak at, so keep out of questions:
criteria.Reading answers: a Noul of 0.5 means "equally likely", not "medium". confidence is how peaked the probabilities are, not whether they are right. Do not compare numbers across types. Below ~0.5 confidence, treat a Choice as undecided.
| Name | State keys | Answers | Gate |
|---|---|---|---|
scope | ticket, diff | in_scope, complete, unrelated_change Nouls | act / confirm / escalate |
commit | message, diff | says_what, says_why, mismatch Nouls | act / confirm / escalate |
clarity | text | actionable, ambiguity, padding Scores, 0 to 3 | none (Taste) |
finish and risk are the hooks' batteries; you can run them too. --list shows every battery, including user ones in .claude/sensibility/batteries/ and ~/.claude/sensibility/batteries/.
Verdicts: act means go ahead; confirm means say what looks off and carry on unless it matters; escalate means stop and show the user the answers before acting. A verdict is advice from thresholds, not ground truth.
For ranking, test coverage, and anything without a battery, write the questions yourself. To save a rule as a new battery, follow the file format in reference.md, which also has more patterns, the full error table, and Jev's other weak spots.
${CLAUDE_PLUGIN_ROOT}/skills/judge/scripts/judge.py '{"best":{"type":"choice","instructions":"Which design in `designs` best fits `task`?","criteria":{"a":null,"b":null,"c":null,"none":"none of them fits"}},"a":{"type":"score","instructions":"How well does `designs.a` fit `task`?","criteria":["does not solve it","solves it with serious flaws","solves it with minor flaws","solves it cleanly"]}}' --state '{"task":"...","designs":{"a":"...","b":"...","c":"..."}}'
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub rajnandan1/sensibility --plugin sensibility3 skills in this plugin
/takeawaysWrite the parts of a local file that matter for the user's goal into a new Markdown file, without reading the whole file. Use when the user gives a goal or query plus a file or saved web page and wants its most important points for that goal./whichPick the skill to put in front of your prompt. Type /sensibility:which <prompt>. It prints the line to paste, one reason and, when a second skill fits, one runner-up.