session-memory
by llkhacquan · ★ 3 · updated 17 days ago
Mines every session for decisions, rules, root causes and gotchas, and files them in a topic tree per repo group, each item with the session quotes it came from
Install
git clone https://github.com/llkhacquan/claude-modsclaude --plugin-dir ./claude-mods/plugins/session-memoryThen 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.startcommand.runtool.callprompt.submitturn.stepturn.startturn.completesession.compactsession.end- API calls
$.clock.after$.clock.now$.clock.sleep$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.http.fetch$.model.complete$.process.run$.process.spawn$.session.id$.store.get$.store.set$.tool.register$.ui.log$.ui.status- Can see
? callsevery promptevery tool callcompaction- Reach
- level 3 of 3 networkruns processeswrites filesdrives Claudereads filesreads env varspersists 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/llkhacquan/claude-mods
- Path in repo
plugins/session-memory- Source commit
c88d87dthe exact code the scan read- Author
- @llkhacquan
- 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 llkhacquan/claude-mods
auto-approve
llkhacquan/claude-mods
Answers permission prompts for you: regex layers allow routine tool calls and always ask on pushes to protected branches, and haiku judges the rest against your plain-text rules. Offers a rule after you approve the same kind of call twice, and logs every decision so /auto-approve learn can suggest more
sidebar
llkhacquan/claude-mods
Shows every live Claude Code session as a card in a side pane: title, status, current tool, git branch, model, context use and a last-turn recap. No tmux or daemon needed; in tmux a card's hotkey jumps to that session's pane