session-graph
by Troy Lorents · ★ 1 · updated 22 days ago
A knowledge graph across your Claude Code sessions. Each session records its topics and files; when another session covers the same ground you get an alert, and /graph can pull its findings into the one you are in.
Install
/plugin marketplace add TroyJLorents-GH/mod-squad/plugin install session-graph@mod-squadThen 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.callturn.completecommand.runui.render- API calls
$.clock.after$.clock.now$.command.register$.env.get$.fs.list$.fs.read$.fs.write$.model.complete$.process.run$.session.cwd$.session.id$.state.get$.state.set$.store.get$.store.set$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- Can see
every promptevery tool call- Reach
- level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads mod statepersists 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/TroyJLorents-GH/mod-squad
- Path in repo
mods/session-graph- Source commit
e04ddd9the exact code the scan read- Author
- Troy Lorents @TroyJLorents-GH
- 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 TroyJLorents-GH/mod-squad
standup
TroyJLorents-GH/mod-squad
/standup: click Generate and get a written standup of everything you got done today, grouped by project, from your local Claude Code sessions.
stock-watch
TroyJLorents-GH/mod-squad
/stock: watch tickers and get a chime when one reaches the low or high you set. Works any time, in any session.
turn-recap
TroyJLorents-GH/mod-squad
Adds a one-line TL;DR beneath long answers, written by a quick Haiku 5.5 call.
burn-rate
TroyJLorents-GH/mod-squad
A terminal cost dashboard (/burn): spend by day, project, model, activity, tools, shell commands and MCP servers, read from your local Claude Code transcripts and estimated at list price.
context-gauge
TroyJLorents-GH/mod-squad
A band above the prompt showing how full the context window is, shading green → orange → red, with a nudge to /compact as it nears the limit.
model-router
TroyJLorents-GH/mod-squad
Routes each turn to the cheapest model + effort that fits the task (Haiku 5.5 → Sonnet 5.5 → Opus 5.5 → Fable 5.2 or 5.1) and shows the ladder in a side pane.
ping
TroyJLorents-GH/mod-squad
Plays a chime and shows a toast when a long turn finishes (or Claude is waiting on your approval), so you can walk away.
safety-net
TroyJLorents-GH/mod-squad
Blocks destructive tool calls before they run (force pushes, rm -rf outside the project, DROP TABLE, terraform destroy, writes to .env and keys, ...) and explains why.
secret-scrubber
TroyJLorents-GH/mod-squad
Redacts API keys, tokens, private keys and .env secrets from tool output before the transcript stores it and before the model reads it.
Related mods
Other mods in Panes, close to this one by stars.