Open source · MIT · Claude Code, Cursor and Codex · v0.7.11
Claude remembers you. jevmem makes your project's rules stick, across your agents and your teammates.
Write a rule once: in a chat, in CLAUDE.md, in AGENTS.md or in your Cursor rules. Before Claude Code, Cursor or Codex runs a command or edits a file, jevmem checks it against your rules and stops to ask you if it may break one. The rules live in one file in your repo, so your whole team gets them through git.
$ npm install -g jevmem $ jevmem setup
No TypeSafe key yet? The guard still checks simple rules on your computer, and sends nothing. How
# monday, in a chat > Don't hand-edit db/migrations/. Those files are generated. Got it. I'll generate migrations instead of editing them. jevmem asks Jev if it's worth keeping, then writes one line: + JEVMEM.md - [constraint] Don't hand-edit db/migrations/: those files are generated. $ git add JEVMEM.md && git commit -m "Save project rules"
Real runs
A rule in a Cursor rules file stopped a Claude Code delete before it ran.
Real Claude Code sessions in throwaway folders, recorded on 30 Nov 2026 with jevmem 0.7.10 and Claude Code 2.1.330. The steps above each window are ours. The terminal is as recorded; the start-up wait is cut, long pauses are shortened, and spans marked "sped up" play faster. The same runs in the README
One rule, every agent
jevmem reads the rules you already wrote, and checks them in all three agents.
Your rules
JEVMEM.mdsaved from your chatsCLAUDE.mdalready in your repoAGENTS.mdalready in your repo.cursor/rules/already in your repo
jevmem
checks each command, edit and delete before it runs
Your agent
- Claude Codestops and asks you
- Cursorasks before a command, stops an edit
- Codexstops the call until you let it through
Figure 2. When Cursor or Codex stops a call, jevmem guard allow <code> in your own terminal lets that one call through. Live check on 0.7.9: a forbidden edit was stopped in 3 of 3 runs in Cursor and in Codex, and an everyday edit ran in 3 of 3. How each agent does it
Does it work?
With jevmem on, a change the project's rules forbid was left in the final code in 0 of 15 sessions.
Figure 1. From the 0.7.7 comparison next to Claude Code's auto memory: 558 real Claude Code sessions on three new projects, checked by hand. My own test set, run once; not an independent benchmark. Method and every row
What it adds to Claude Code
The guard: rules checked before the agent acts
jevmem checks the agent's commands and file edits against your saved rules and the rules already in your CLAUDE.md. If one may break a rule, Claude Code stops and asks you first. Cursor and Codex get the same check.
jevmem: this may break a saved rule: "Don't hand-edit db/migrations/"the guard →
One JEVMEM.md, shared through git
Your project's memory lives in JEVMEM.md in your repo. Teammates get the same rules when they pull.
[decision] We use pnpm, not npm. [dead-end] In-memory cache broke the build: keep Redis.CLAUDE.md or JEVMEM.md →
Claude Code, Cursor and Codex
The same file works across your AI coding agents, and in Claude Desktop over MCP. It runs beside Claude Code's auto memory.
Claude Code plugin Cursor plugin Codex MCP, hooksClaude Code memory →
New in 0.7.11
No key? The guard still works.
Without a TypeSafe key, jevmem checks simple rules like "never delete public/uploads/" on your computer, and asks you before a command breaks one. Nothing is sent.
without a key →See what leaves your computer.
Add --show-sent to a jevmem command, or run jevmem sent, to see each request word for word, with your key hidden.
Check the numbers yourself.
jevmem guard bench runs the guard's test set with your own key, or your own commands against your own rules.
Install
$ npm install -g jevmem $ jevmem setup # in your project's folder
First add the plugin in the Claude app: Plugins → Discover → jevmem → Add. Needs Claude Code 2.1.273 or later, and a TypeSafe API key for saving and recall. Upgrading to 0.7.11: npm install -g jevmem@latest, then re-run jevmem init in a project set up with init. Every install path
Works with
| Tool | Saves | Brings back | Guard |
|---|---|---|---|
| Claude Code | Every turn | Every prompt | Yes |
| Cursor | Every finished turn | When the agent asks | Yes |
| Codex | While jevmem watch runs | When the agent asks | Yes |
| Claude Desktop | When you ask | When you ask | – |
The limits, in short
- Saving and recall need a TypeSafe API key. Requests to Jev, which decides what to save, are billed to it. Without a key, the guard checks only the simple rules. Install steps
- Message text goes to TypeSafe to be scored, with common secrets scrubbed first. No telemetry. What leaves your machine
- The guard is a backstop, not a sandbox, in Claude Code, Cursor and Codex. Its limits
- My own test sets, each run once; not an independent benchmark. The method
Every limit, with the numbers: the FAQ.
Questions people ask
- How do I make Claude Code remember project decisions across sessions?
- Should I use CLAUDE.md or JEVMEM.md?
- How do I keep the same rules across Cursor chats, Claude Code and my teammates?
- How do I stop an AI coding agent from breaking my project's rules?
- Can Claude Code check commands against my project's rules before they run?
- How does jevmem compare with CLAUDE.md, Claude Code's auto memory and other memory tools?
- Does jevmem work?
- What changed in each version of jevmem?