memory-lens

by Yonatan Gross · ★ 14 · updated 5 days ago

GuardsCommandsPromptAutomationwarnings

0

Recalls the few memories related to each prompt: one line for the human, one context entry for the model. Local files only, no network on the hot path.

install memory-lens

Install

git clone https://github.com/dwarvesf/dwarves-kit
claude --plugin-dir ./dwarves-kit/integrations/claude-code/memory-lens

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.startprompt.submittool.callcommand.run
API calls
$.clock.after$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.ui.log
Can see
every promptevery tool call
Reach
level 1 of 3 reads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/dwarvesf/dwarves-kit
Path in repo
integrations/claude-code/memory-lens
Source commit
d4f269e the exact code the scan read
Author
Yonatan Gross @dwarvesf
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 dwarvesf/dwarves-kit

board-pane

dwarvesf/dwarves-kit

/board opens a pane with the kit's board output and a Refresh button

★ 14PanesBandsCommands

context-inspector

dwarvesf/dwarves-kit

Context waste analyzer for Claude Code: what fills the window, re-reads, near-duplicate outputs, what compaction kept, advice

★ 14PanesGuardsCommands

loop-detective

dwarvesf/dwarves-kit

Detect repeated Bash failures and edit/retry cycles with evidence, live cases and investigation prompts

★ 14PanesGuardsCommands

secrets-veil

dwarvesf/dwarves-kit

Masks secret values in tool results before the model reads them: named vendor variables, value-shape patterns, and high-entropy tokens. No reveal path.

★ 14ToastsGuards