Claude Code Jev — Development skill for Claude Code
Experimental Jev permission gate for Claude Code via OpenRouter, with reproducible latency and cost benchmarks.
How to install Claude Code Jev
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open RahulBalakavi/claude-code-jev and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Jev does
Experimental Jev permission gate for Claude Code via OpenRouter, with reproducible latency and cost benchmarks.
Alternatives in Development
- Jupyter Notebook — Create clean, reproducible Jupyter notebooks for experiments and tutorials 14.6k ★
- Infinite Agentic Loop — An experimental project demonstrating Infinite Agentic Loop in a two-prompt system using Claude Code 537 ★
- Fast Jev Compaction — Claude Code plugin that replaces the compaction summary with Jev decisions: every tool call and result is scor 425 ★
README
Claude Code × Jev
Auto-mode classifies every action before Claude Code runs it: `allow`, `block`, or `ask`. That gate fires dozens of times an hour, in the hot path, ahead of every tool call. It is a System 1 job, a fast reflex, but it runs on a System 2 model, a frontier chat model built for reasoning.
This repository runs that gate on a System 1 model instead. Jev is a purpose-built classifier that returns a typed decision with calibrated confidence. It installs as a `PreToolUse` hook and reaches Jev through OpenRouter's typed decisions endpoint.
Anthropic's own auto-mode design already leans this way: the first stage emits a single-token decision and only calls reasoning for flagged actions. The point here is to make that first stage an actual reflex model, and keep the reasoning model for the flagged minority where it earns its cost.
Reflex on a reflex model
A System 2 model reasons; it is flexible and slow. A System 1 model recognizes; it is narrow and fast. Permission gating wants recognition. Below is what you get when a reflex task runs on a reflex model, measured over five passes of the 18-case fixture (90 live decisions, `typesafe/jev-1.13`).
For a ~540-token classification call:
| System 2 (chat model as classifier) | System 1 (Jev) | Win | |
|---|---|---|---|
| Latency | ~4 s (LLM-judge baseline) | 264 ms | ~93% lower |
| Cost per call | ~$0.0022 (frontier, same context) | $0.0000227 | ~99% lower |
| Accuracy on the typed task | reference | 80-81% match, 0 dangerous allowed | held |
Read those honestly:
- Latency ~93% lower is against a published LLM-judge baseline, not a live measurement of Claude Code's own classifier. Against a bare single-token frontier call the gap is smaller, but you still skip frontier queueing and time-to-first-token.
- Cost ~99% lower (about 100×) is the durable win. A purpose-built classifier is not priced like a frontier model, however few tokens you make that model emit.
- **Accura
Related Skills
Jev Skill Gate
Cut Claude Code's skill manifest by ~75% with TypeSafe Jev. Scores every installed skill for relevance and hid
Fireworks Cost Benchmark
Public demo benchmarks of cost per successful execution
Claude Notch
Approve Claude Code from your Mac's notch. A native SwiftUI menu-bar app that surfaces Claude Code permission
Phi
a coding Agent from pi. ∞ providers, sub-agents, hashline edits, and a permission gate
Skill Compact
Shrink Claude Code SKILL.md token cost without breaking skills. Trigger-preserving description gate + lossless
Jev Disable
Switch JevSubRouter routing off without uninstalling it
Related Agents
Brain Eval Engineer
Evaluation engineer — question set tooling, layered metrics (harvest/graph/retrieval/answer), fixed-strategy a
Code Audit GitHub Workflows
Audits GitHub Actions workflow YAML and composite-action YAML for supply-chain, injection, permission, and sec
Deploy Guard
Pre-deploy validation gate. HUMAN-INVOKED ONLY. Project-scope permission rule Agent(deploy-guard) is DENIED in