Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By 0x7067v0.29.2MITIn 1 marketplace
Blocks edits that break rules in your CLAUDE.md or AGENTS.md and picks a model tier for each subagent spawn. Prompts and edit checks go to TypeSafe's Jev API, so it needs a TypeSafe or OpenRouter key.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
1 critical · 2 cautions to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs; changes your /config settings.
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Rule checksrules
Check edits and turn ends against the rules in CLAUDE.md and AGENTS.md.
booleandefault true
Jev providerprovider
auto reads TYPESAFE_API_KEY, then OPENROUTER_API_KEY, and lets the key's prefix pick. typesafe or openrouter pins that provider and reads only its variable, or the saved key.
One of auto, typesafe, openrouter
stringdefault auto
Compactioncompaction
Replace the compaction summary with the transcript blocks Jev keeps. Needs CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1.
booleandefault true
Prompt routing hintspromptRouter
Classify each prompt and add a routing hint.
booleandefault true
Subagent model routingsubagentRouter
Pick a subagent's model and check its brief before the spawn.
booleandefault true
TypeSafe or OpenRouter API keytypesafeApiKey
Saved from /claude-jev and hidden in /config so the value is never shown. A non-empty TYPESAFE_API_KEY or OPENROUTER_API_KEY in the launch environment wins. An sk-or- key calls OpenRouter.
stringdefault
Stop paying frontier-model prices for small judgments.
A coding agent makes dozens of quick calls every turn. What kind of prompt is this? Does it need tools? Does this edit break a rule in CLAUDE.md? Which turns still matter when the context fills up? This plugin sends those questions to TypeSafe's Jev. Jev is a System One model: it returns typed answers, not text, and it doesn't write code.
What you get:
Every hook fails open. An error, a missing key, or a timeout produces no output and never blocks a prompt. Compaction falls back to Claude Code's own summary.
claude plugin marketplace add 0x7067/claude-jev
claude plugin install claude-jev@claude-jev
Then set TYPESAFE_API_KEY or OPENROUTER_API_KEY. Without a key, the hooks switch off silently. The plugin needs only python3 and its standard library.
To turn on compaction and the /claude-jev settings pane, start Claude Code 2.1.278 or later with:
export CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1
The other hooks work without this flag.
pi install git:github.com/0x7067/claude-jev
Pi loads adapters/pi/jev.ts from the pi.extensions field in package.json. That file is the session_before_compact hook and the /jev command. Without TYPESAFE_API_KEY or OPENROUTER_API_KEY the hook returns nothing and Pi writes its own summary. The same two variables are read from the environment first, then from $PI_CODING_AGENT_DIR/.env (~/.pi/agent/.env). JEV_PROVIDER pins typesafe or openrouter. JEV_MODEL defaults to jev-latest.
The hook judges with selectBlocks in src/compact/strategy.ts. Pi-only pieces stay in the adapter: how a Pi message becomes a block, pairing a tool result to its call by toolCallId, relabeling bash output and earlier summaries, and the <read-files> and <modified-files> lists the summary shows the model. The kept blocks are fit to 14,000 characters. Paths from dropped or truncated calls may use 2,000 more. Pi's own read paths and <modified-files> sit outside that reservation. Claude's compaction budget is still one flat 16,000. 0x7067/pi-jev stays up; this repo does not replace that install yet.
TYPESAFE_API_KEY first.sk-or-, in either variable, sends every call to OpenRouter's System One API instead of api.typesafe.ai./claude-jev or /config. A pinned provider reads only its own variable.CLAUDE_CODE_ENABLE_FUNCTION_HOOKS is Claude Code's own switch for its experimental function hooks. It's off by default and undocumented. docs/claude-code-compaction-research.md records what was verified. Function-hook modules load only in a trusted workspace, and never for subagents.
Leave auto-compact on. It's the Auto-compact row in /config, stored as autoCompactEnabled in ~/.claude/settings.json. With the flag set, auto-compaction goes through Jev like /compact does. With auto-compact off, a session runs until it hits the context limit, and then you must run /compact yourself.
/claude-jev paneWith the flag set, /claude-jev opens a settings pane. Use it to:
scripts/stats.py report on router hints against what sessions did, rule calibration, and compactionWithout the flag, the four on/off rows are in /config.
The rule hook's comparators use ast-grep 0.45.3. If it isn't on your PATH, a detached process fetches the pinned release to ~/.claude/jev-bin the first time an edit needs it, and checks its sha256. Every hook works without it. To fetch it now, or to see which binary would run:
python3 scripts/comparators.py fetch
python3 scripts/comparators.py which
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub 0x7067/claude-jev --plugin claude-jevPlugins from other owners that cover similar ground