Jev directory
CommunityJev Agents & MCP
Jev Enforce · npmjs.com
Claude Code plugin that checks every reply and every file edit against your CLAUDE.md or AGENTS.md rules using TypeSafe Jev, quoting broken rules back to Claude so it fixes them in the same turn.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 16, 2026
This is one of several Jev listings for the same project. The canonical entry is Jev Enforce · erkamyaman.
Works forJev for Decision gating
- Languages
- TypeScript
- Platforms
- CLI
Highlights
- Reads the same rule files Claude Code does: ~/.claude/CLAUDE.md, CLAUDE.md, .claude/CLAUDE.md, CLAUDE.local.md, .claude/rules/**, and AGENTS.md.
- A Stop hook checks the final reply and a PostToolUse hook checks Edit, Write and MultiEdit.
- Each bullet in a rule file becomes one typed yes/no question, about 350ms and about 3 cents per 1,000 checks.
- At the default threshold of 0.7 it scores 93.3% precision and 93.3% recall on 59 labeled examples against 19 rules.
- Requires TYPESAFE_API_KEY; with no key set, no checks run at all.
Questions about this entry
Short answers drawn from the linked project or page.
Run claude plugin marketplace add erkamyaman/jev-enforce, then claude plugin install jev-enforce@jev-enforce. Add TYPESAFE_API_KEY from console.typesafe.ai to the env block of ~/.claude/settings.json. Node 18+ and npx are enough for the CLI.
Yes. TYPESAFE_API_KEY must be set, either in ~/.claude/settings.json under env or in the environment for CLI use. With no key there are no checks. The plugin states it cannot break a session.
Your reply text, your edits, and your rule files are sent to TypeSafe's API for checking. The decision comes back as typed answers rather than generated text. Nothing about the rules is stored locally beyond a cached sort of each rule.
Jev answers one typed yes/no question per rule, all in one request, at about 350ms. The published benchmark reports 348ms p50 and $0.0027 for a whole 59-example run, which the project describes as about 3 cents per 1,000 checks.
Yes. The CLI reads TYPESAFE_API_KEY from the environment: jev-enforce check --as code src/orders.ts exits 1 if a rule is broken, and check --as reply message.txt checks reply text. jev-enforce rules lists your rules and how each was sorted.
It is a model, not a guarantee: at the default threshold about 1 in 15 flags is wrong and about 1 in 15 broken rules slips through. It also struggles with exact characters, dataflow rules such as prefer-const, and rules that depend on state outside the text, such as package.json.
No. Broken rules come back as decision block with the rules quoted, once per turn, so it cannot loop. That also means the fix itself is not re-checked. JEV_ENFORCE_MODE=end checks all edited files and the reply once at the end of a turn.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
X: Vercel's fx safety reviewer, measured at 18× faster
Reddit: Early experiments wiring Jev into Pi as a safety layer and model router.
YouTube: Ray Amjad puts Jev inside an agentic coding loop and looks at what it costs to run.
YouTube: RoboNuggets puts Jev to work inside Claude Code.
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.