session-graph

session-graph is a Claude Code mod by TroyJLorents-GH that 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.

Updated 2026-10-13

What is session-graph?

session-graph is a Claude Code mod by TroyJLorents-GH that 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. It is listed under Context & memory and has 1 GitHub stars.

TypeClaude code mod
AuthorTroyJLorents-GH
RepositoryTroyJLorents-GH/mod-squad
Popularity1 GitHub stars
CategoryContext & memory
SecurityHigh risk (44/100)
Rank#2,357 of 5,272 Claude Code mods; #226 in Context & memory
Last commit2026-10-13
Hooks6 events
Seesevery prompt, every tool call
Draws onPane

Is session-graph safe to install?

session-graph scores 44/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 2 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.model.completedrives Claude
$.process.runruns processes
$.session.cwd
$.session.id
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install session-graph?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/TroyJLorents-GH/mod-squad
    claude plugin validate ./mod-squad/mods/session-graph
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add TroyJLorents-GH/mod-squad && claude plugin install session-graph@mod-squad

Or ask Claude to set it up

Paste this into Claude Code and it installs session-graph for you:

Install the "session-graph" Claude Code mod from https://github.com/TroyJLorents-GH/mod-squad/tree/main/mods/session-graph. Run claude plugin validate on it first and show me what it can access before you enable it.

More from TroyJLorents-GH/mod-squad

This repository has at least 9 Claude Code mods on MCPMods.

  • burn-rate: A terminal cost dashboard (/burn): spend by day, project, model, activity, tools, shell commands and MCP servers, read f (Review before installing)
  • context-gauge: A band above the prompt showing how full the context window is, shading green → orange → red, with a nudge to /compact a (Low risk)
  • model-router: Routes each turn to the cheapest model + effort that fits the task (Haiku 5.5 → Sonnet 5.5 → Opus 5.5 → Fable 5.1) and s (Low risk)
  • ping: Plays a chime and shows a toast when a long turn finishes (or Claude is waiting on your approval), so you can walk away. (Low risk)
  • safety-net: Blocks destructive tool calls before they run (force pushes, rm -rf outside the project, DROP TABLE, terraform destroy, (Low risk)
  • secret-scrubber: Redacts API keys, tokens, private keys and .env secrets from tool output before the transcript stores it and before the (Low risk)
  • standup: /standup: click Generate and get a written standup of everything you got done today, grouped by project, from your local (High risk)
  • stock-watch: /stock: watch tickers and get a chime when one reaches the low or high you set. Works any time, in any session. (High risk)