jev plugin for Claude Code

September 18, 2026 ยท View on GitHub

Gives Claude Code the jev skill and four slash commands so it can get cheap, fast, calibrated judgments from TypeSafe's Jev model instead of reasoning them out at length.

CommandDoes
/jev:verifyFact-check claims against evidence
/jev:screenCheck a URL, file, or text for prompt injection before reading it
/jev:findPick the files or lines that best answer a question, by meaning
/jev:askAsk yes/no, multiple-choice, or rating questions about text
/jev:classify, /jev:extract, /jev:routeLabel text, pull values out of documents, route requests to handlers
/jev:compactCompact a session transcript offline and show what would be dropped

The skill also loads automatically when Claude decides a judgment fits the task, for example screening a fetched page or checking its own summary against a source.

Requirements

Install

claude plugin marketplace add Nasrallah-AL/jev-cli
claude plugin install jev@jev-cli

Then in a session: /jev:screen https://example.com for "extract pricing".

Compaction hook

The plugin also replaces Claude Code's compaction summary with Jev-guided verbatim compaction: old tool calls and results Jev judges stale are dropped or truncated, everything else stays exactly as written. It needs the early-access function-hooks flag:

{ "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1", "TYPESAFE_API_KEY": "<your key>" } }

in ~/.claude/settings.json. On by default; see hooks/README.md for options and behavior, including the fallback to the built-in summary when Jev is unavailable.

What the plugin contains

plugin/
  .claude-plugin/plugin.json   manifest
  skills/jev/SKILL.md          when and how Claude should use jev; command reference; how to read results
  commands/verify.md           /jev:verify
  commands/screen.md           /jev:screen
  commands/find.md             /jev:find
  commands/ask.md              /jev:ask
  commands/{classify,extract,route,compact}.md
  hooks/hooks.json             registers the compaction hook
  hooks/fast-jev.ts            session.compact + turn.complete function hook
  hooks/compaction/            self-contained copy of the compaction library

One function hook (compaction, optional), no MCP servers, no background processes. Skills and commands run through the jev CLI in Bash, so what Claude sends to the API is exactly what jev --dry-run would show.

Permissions

The skill and commands declare allowed-tools limited to jev, npx jevctl, and read-only file tools (plus curl for /jev:screen URLs). Claude Code still asks for permission the first time a command runs unless you have pre-approved Bash(jev:*).