Skip to content

Latest commit

 

History

History

plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

jev plugin for Claude Code

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

Command Does
/jev:verify Fact-check claims against evidence
/jev:screen Check a URL, file, or text for prompt injection before reading it
/jev:find Pick the files or lines that best answer a question, by meaning
/jev:ask Ask yes/no, multiple-choice, rating, or where-is-it questions about text or images
/jev:classify, /jev:extract, /jev:route Label text, pull values out of documents, route requests to handlers
/jev:locate Find where something is in an image or screenshot (box + is-it-there)
/jev:compact Compact 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:*).