better-memory
by xobotyi · ★ 23 · updated 8 days ago
0
Keeps Claude Code's auto memory to facts that still hold: gates memory writes and sifts new entries when the session goes idle
Install
/plugin marketplace add xobotyi/cc-foundry/plugin install better-memory@foundryThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.starttool.describetool.callprompt.attachmenttool.checkui.renderturn.startturn.complete- API calls
$.clock.after$.clock.sleep$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.http.fetch$.process.run$.process.spawn$.session.append$.session.id$.session.messages$.session.repo$.session.root$.session.surfaces$.session.turns$.settings.read$.store.delete$.store.get$.store.set$.tool.list$.tool.register$.ui.log- Draws
ToolUse- Can see
every tool callmcp__better-memory__write_entry callsmcp__better-memory__remove_entry callsmcp__better-memory__answer_instruction_proposal calls- Reach
- level 3 of 3 networkruns processeswrites filesdrives Claudereads filesreads env varsreads settingsreads the transcriptpersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/xobotyi/cc-foundry
- Path in repo
plugins/better-memory- Source commit
f9a5d9cthe exact code the scan read- Author
- @xobotyi
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.