Let's stop here.
Pricing comes next.
Claude Code alone
Let's carry on.
Sure. What were we working on?
With project-memory
did: Pricing comes next.
Let's carry on.
We stopped before pricing. Starting on it now.
Claude starts the next conversation knowing where you stopped, and you can ask about anything from earlier.
Paste into Claude Code:
/plugin marketplace add zdraveski/project-memory
/plugin install project-memory@project-memoryNeeds Claude Code and Node.js 22 or newer. Works on Windows, macOS and Linux. Full install steps
What did we decide about the logo in September?
On 12 September we kept the brain with the code mark, and dropped the green version because it was hard to read.
Found in your journal, with the date.
The next morning, a new conversation.
Let's carry on.
Yesterday we finished the pricing table. The checkout copy is next, so I'll start there.
I deleted the note about pricing by mistake. Bring it back.
Restored pricing.md as it was before you deleted it.
Every change to your notes is kept, so an old version can come back. Needs Git.
Forget the password I pasted this morning.
2 journal entries from today mention it. Remove both?
Yes.
Removed from the journal.
project-memory makes no network connections of its own. Keys and passwords it recognizes are replaced with [redacted] before anything is saved.
v1.5.4, 20 Nov 2026, MIT license, tested on Windows, macOS and Linux with every change.
In plain words
Claude Code starts every conversation with a fresh context. The project-memory plugin for Claude Code (zdraveski/project-memory) is free and saves a journal of each exchange and a note of where you stopped, on your own computer. The next conversation starts with a short briefing (about 900 tokens) on the last one, and Claude can search the journal when you ask about earlier work. It needs no account or API key, and runs no server.
Here is what each setup remembers when you stop on Monday evening and open a new conversation on Tuesday.
Let's stop here.
Pricing comes next.
Claude Code alone
Let's carry on.
Sure. What were we working on?
With project-memory
Let's carry on.
We stopped before pricing. Starting on it now.
How it works
Nothing to learn, nothing to run. It works on its own after every reply, looks after the notebook Claude Code keeps for each project and adds a journal of everything you did. It helps most when you return to a project over days or weeks.
You work with Claude Code as you always do.
The exchange is saved, one file per day.
journal/2026-11-01.mdThe last exchanges are kept for next time.
handoff.mdClaude starts with a short briefing on where you stopped, about 900 tokens.
Every exchange is kept in full, up to a size limit, one file per day. Ask about earlier work and Claude searches the journal and your notes, then tells you when it happened. The journal is not loaded into the conversation. It is searched only when you ask, by words, not meaning. Type /project-memory:memory page to read it as one page in your browser, a week at a time, with a search box. The page is a file on your computer and loads nothing from the internet.
On 12 September we kept the brain with the code mark, and dropped the green version because it was hard to read.
Every version of a note is kept on your computer. Ask, and an old one comes back. Each change records which conversation made it, and what you had asked.
/project-memory:memory page. The entries shown are made up. Tap to open full size.Your privacy
project-memory makes no network connections of its own. What it saves stays in Claude Code's own folder, in your home folder. This page loads nothing from anywhere else, either.
It needs no account or API key.
Put it between <private> and </private>. Claude's reply to it stays out too.
Ask Claude to forget something. It lists the journal entries and removes the ones you confirm.
Anthropic still sees your conversation, as it does with Claude Code's own memory. Claude Code also keeps its own transcripts, which “forget” does not touch. The tags keep text out of project-memory's files only.
Read the privacy policySooner or later you paste a key or type a password in chat. Before anything goes into the journal, the handoff or the note kept for after a summary, project-memory replaces the keys and passwords it recognizes with [redacted].
A key in a command
You typed: export API_KEY=ghp_8fK…
Saved as: export API_KEY=[redacted]
A password typed in chat
You typed: the password is plum-42…
Saved as: the password is [redacted]
A cookie
You typed: Cookie: sessionid=a1b2c3…
Saved as: Cookie: [redacted]
A note that holds a secret stays out of the snapshots, and the startup briefing names it. Promoting it to the notebook all your projects share is refused.
On Linux and macOS, the files it writes can be read only by you.
No tool catches every secret. A look-alike Cyrillic or Greek letter gets through, for one. Put the rest in <private>.
A secret saved before project-memory learned to recognize it (in notes, journal, handoff or snapshots) can be found with /project-memory:memory rescan. It counts first and changes nothing unless you add --apply --yes. With those it also makes a backup, and that backup still holds the old text.
About 2,500 checks run on Windows, macOS and Linux with every change, all passing. The code is scanned for problems every week, and each release gets one review. Every step has a time limit of 5 to 120 seconds, so a stuck step can't hold Claude up.
The test runs and the time limits are on GitHub.
Compared
Claude Code's own memory keeps improving. project-memory adds what is still missing.
| Need | Claude Code alone | With project-memory |
|---|---|---|
| Picking up | No. Doesn't know where the last conversation stopped. | Yes. Starts knowing where you stopped. |
| Finding past work | No. Older work is hard to find without a journal. | Yes. A journal of every exchange, found with the date. |
| Undoing mistakes | No. A deleted or overwritten note is gone. | Yes. Old versions of notes come back. Needs Git. |
| Long tasks | Partly. Shortened to a summary. Notes and recent files come back; the task in progress can get lost. | Yes. Notes saved first; afterwards Claude is told where it was. |
| Many projects | Partly. A CLAUDE.md in your home folder reaches every project, but you keep it by hand. | Yes. Lessons that apply everywhere reach every project: ask Claude to remember one for all your projects. |
| Two windows | No. Two windows on one project can overwrite each other. | Yes. Writes take turns; each conversation keeps its own record. |
See how it compares with claude-mem, Mem0, Supermemory and other tools.
Install
Not sure what you have? Ask Claude: “Do I have Node.js 22 or newer, and Git?”
In Claude Code, type these 2 lines. When the second opens a menu, pick the option that installs it for you in every project (it may say user scope).
/plugin marketplace add zdraveski/project-memory
/plugin install project-memory@project-memoryClose Claude Code and open it again.
Start a conversation tomorrow. Claude begins with a short note on where you stopped, something like this:
asked Finish the pricing table
did Pricing table done. The checkout copy is next.
changed pricing.md
To remove it, type /plugin uninstall project-memory@project-memory. Your notes stay.
To check it's working, run this. No line should start with PROBLEM. A line that starts with note is fine, such as when Git isn't installed.
/project-memory:memory doctorUntil Claude finishes its first reply, one line says it's waiting for that reply. That's normal.
To update later, run these 2 lines in a terminal, then restart Claude Code. A marketplace you add yourself does not update on its own. To turn that on, type /plugin, open Marketplaces, choose project-memory and select Enable auto-update.
claude plugin marketplace update project-memory
claude plugin update project-memory@project-memoryA note can carry a rule for git commands. project-memory then watches your git commands and logs which note matched. It only watches and logs: it blocks nothing and prints nothing. Few lessons fit this form, and some commands it does not see. It is a 30-day trial, with a keep-or-cut decision on 2026-12-18.
enforce:
on: git add
has: [-A, --all, .]
unless: [mktemp, init]
At the top level of a note's front matter (not under metadata:). It logs a hit when a git add command holds -A, --all or a bare dot.
Questions
All questions and answers. Something missing? Ask in Discussions.
No. It is free and open source under the MIT license. It keeps plain files on your computer. It needs no account, API key or server, and no AI model writes the memories.
/resume reopens one earlier conversation with its whole history, as long as it was when it ended. project-memory starts a fresh conversation with a short briefing on where you stopped, and its journal covers every conversation you don't keep private, not only the one you reopen. Claude Code also deletes its own conversation files after 30 days unless you change that; the journal keeps each exchange until you delete it.
Each conversation starts with a short briefing: about 900 tokens (3,500 characters) on your last conversation, and never more than about 2,400 tokens in all. The note after a summary is larger, usually near that limit. /project-memory:memory doctor shows how long its steps take on your machine.
Every step has a time limit of 5 to 120 seconds. Run /project-memory:memory doctor to see what is wrong. To pause it, run claude plugin disable project-memory@project-memory in a terminal and restart Claude Code. To remove it, type /plugin uninstall project-memory@project-memory in Claude Code. Your notes and the journal stay either way; the privacy policy says what to delete by hand.
Half of the journal entries are under about 5 KB. A very busy project adds up to about 110 MB a year.
Each computer keeps its own notes and journal; they don't sync. Don't sync the memory folder yourself (Dropbox, OneDrive): each computer would undo the other's “forget”.
Yes, for long conversations. It assumes a window of 1,000,000 tokens, so the reminder to save notes never comes. Ask Claude: “Is my context window 200,000 tokens?” If it is, ask: “Add CLAUDE_CODE_AUTO_COMPACT_WINDOW set to 200k under env in my Claude Code settings,” then restart Claude Code.
On a bigger model, setting it lower than the model's window (such as 800k on a 1,000,000-token model) also asks Claude Code to let a step finish before it shortens the conversation, and even then it doesn't always wait. The note Claude gets after a summary needs no setting. The details.
4 ways, from narrow to wide.
None of these reaches Claude Code's own files. It keeps its own transcript of every conversation, for 30 days unless you change that. Turning it off, in detail.
Yes: CLAUDE.md files you write and auto memory notes Claude writes. Neither keeps a journal of every exchange, a note of where you stopped, or old versions of notes; project-memory adds those.
Claude can only see so much at once: your messages, its replies and the files it reads. When that fills up, Claude Code replaces the conversation with a summary, and details of a task in progress can get lost. project-memory acts at three moments.
No, by words. Ask with words that were used.
No, only with Claude Code.
Free, no account, and saved only on your computer. 2 lines in Claude Code, and it works in every project.
/plugin marketplace add zdraveski/project-memory
/plugin install project-memory@project-memoryNeeds Claude Code and Node.js 22 or newer.
If it's useful, a star on GitHub helps others find it.