memory-lens
by Yonatan Gross · ★ 15 · updated 2 days ago
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
git clone https://github.com/consolelabs/devkitclaude --plugin-dir ./devkit/integrations/claude-code/memory-lensThen 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.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/consolelabs/devkit
- Path in repo
integrations/claude-code/memory-lens- Source commit
e75b5b2the exact code the scan read- Author
- Yonatan Gross @consolelabs
- 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 consolelabs/devkit
secrets-veil
consolelabs/devkit
Masks secret values in tool results before the model reads them: named vendor variables, value-shape patterns, and high-entropy tokens. No reveal path.
board-pane
consolelabs/devkit
/board opens a pane with the kit's board output and a Refresh button
context-inspector
consolelabs/devkit
Context waste analyzer for Claude Code: what fills the window, re-reads, near-duplicate outputs, what compaction kept, advice
loop-detective
consolelabs/devkit
Detect repeated Bash failures and edit/retry cycles with evidence, live cases and investigation prompts
Related mods
Other mods in Guards, close to this one by stars.