better-memory

by xobotyi · ★ 23 · updated 8 days ago

ReskinsGuardsPromptTools & agentswarnings

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 better-memory

Install

/plugin marketplace add xobotyi/cc-foundry
/plugin install better-memory@foundry

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
f9a5d9c the 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.

More from xobotyi/cc-foundry

plugin-rollcall

xobotyi/cc-foundry

Reloads plugins that settings enable but Claude Code skipped at startup

★ 23GuardsAutomation

skill-enforcer

xobotyi/cc-foundry

Enforces skill invocation and reference reading via SEF checkpoints

★ 23GuardsPromptAutomation

wall-clock

xobotyi/cc-foundry

Wall-clock and elapsed-time grounding for agent context

★ 23GuardsPromptAutomation