Who it is forA developer working on a project across many Claude Code sessions who keeps re-explaining the stack, the rules and the approaches that already failed.
The problemEach Claude Code session starts with a fresh context, so decisions made last week live only in last week's chat and the agent may suggest an approach that already failed.
The outcomeDecisions, rules and failed approaches are written as lines in JEVMEM.md, and the relevant lines are sent back to Claude at the start of later prompts, with a guard that asks before a command that might break a saved rule.
What you need first
- A TypeSafe API key from https://console.typesafe.ai/keys, which jevmem's requests are billed to
- Claude Code 2.1.273 or later
- npm, to install the jevmem CLI that the plugin runs
- A project folder in a git repo, so JEVMEM.md can be committed and shared
Steps
- In the Claude app, open Plugins, then Discover, choose Jevmem, and click Add.
- Run
npm install -g jevmemin a terminal. - In your project folder, run
jevmem setupand enter your TypeSafe key when asked. - Start Claude Code in that project and work as usual; when you decide something, Jevmem writes one line to JEVMEM.md.
- Run
jevmem doctorif the setup seems incomplete.
Prompt for your agent
In the jevmem repo's setup for <project-folder>, run the jevmem setup flow and confirm that JEVMEM.md exists in the project root. Expected output: a JEVMEM.md file with at least one line tagged as a decision, rule or dead end after a short test chat. Verify by running `jevmem doctor` and checking that it reports no missing setup steps.
Caveat. The accuracy figures in the README come from the author's own test sets, each from one run, and are not an independent benchmark.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Avinash-jetwani/jevmem and "Stop Claude Code from repeating past decisions and dead ends"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer