What is session-memory?
session-memory is a Claude Code mod by llkhacquan that 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. It is listed under Context & memory and has 4 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | llkhacquan |
| Repository | llkhacquan/qflow-kit |
| Popularity | 4 GitHub stars |
| Category | Context & memory |
| Security | High risk (32/100) |
| Rank | #1,704 of 9,397 Claude Code mods; #170 in Context & memory |
| License | MIT |
| Last commit | 2026-11-30 |
| Hooks | 11 events |
| Sees | compaction, every prompt, every tool call |
| Draws on | ToolUse, ToolResult |
Is session-memory safe to install?
session-memory scores 32/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 1 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.model.complete | drives Claude |
$.process.run | runs processes |
$.process.spawn | |
$.session.id | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
How do I install session-memory?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/llkhacquan/qflow-kit claude plugin validate ./qflow-kit/claude/mods/session-memory
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/llkhacquan/qflow-kit && claude --plugin-dir ./qflow-kit/claude/mods/session-memory
Or ask Claude to set it up
Paste this into Claude Code and it installs session-memory for you:
Install the "session-memory" Claude Code mod from https://github.com/llkhacquan/qflow-kit/tree/master/claude/mods/session-memory. Run claude plugin validate on it first and show me what it can access before you enable it.
More from llkhacquan/qflow-kit
This repository has 6 Claude Code mods on MCPMods.
- auto-approve: Answers permission prompts for you: regex layers allow routine tool calls and always ask on pushes to protected branches (High risk)
- qboard: Question board: Claude puts open questions on it, the user answers with Q ids (High risk)
- qdesk: Desktop app helpers: context meter in the footer and above the prompt (Review before installing)
- sidebar: Shows every live Claude Code session as a card in a side pane: title, status, current tool, git branch, model, context u (High risk)
- sidebar-feed: Publishes this session's live state (pane, status, current tool, spinner verb, context usage) to ~/.local/state/tmux-sid (High risk)