What is session-info?
session-info is a Claude Code mod by dougcunha that session pane: context, cost and turns, the prompt cache with the time until it expires, keep warm and a guard that holds a prompt that would write an expired cache again, the last turn's. It is listed under Security and has 4 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | dougcunha |
| Repository | dougcunha/claude-mods |
| Popularity | 4 GitHub stars |
| Category | Security |
| Security | High risk (32/100) |
| Rank | #1,516 of 9,397 Claude Code mods; #182 in Security |
| License | MIT |
| Last commit | 2026-11-23 |
| Hooks | 22 events |
| Sees | ? calls, AskUserQuestion calls, Bash calls, PowerShell calls, Skill calls, classic hooks, compaction, every prompt, every skill, every tool call, subagent spawns |
| Draws on | AbovePrompt, Pane |
Is session-info safe to install?
session-info 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 |
|---|---|
$.agent.list | |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.clock.sleep | |
$.command.list | |
$.command.register | |
$.command.run | drives Claude |
$.config.set | changes config |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.mcp.call | calls MCP servers |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.process.spawn | |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.prompt.suggest | writes the prompt box |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.turns | |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.list | |
$.tool.register | drives Claude |
$.ui.copy | draws interface |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.notify | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.scroll | draws interface |
$.ui.toast | draws interface |
How do I install session-info?
- 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/dougcunha/claude-mods claude plugin validate ./claude-mods/session-info
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add dougcunha/claude-mods && claude plugin install session-info@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs session-info for you:
Install the "session-info" Claude Code mod from https://github.com/dougcunha/claude-mods/tree/main/session-info. Run claude plugin validate on it first and show me what it can access before you enable it.
More from dougcunha/claude-mods
This repository has 5 Claude Code mods on MCPMods.
- feature-progress: A tool any spec-driven flow calls to report the progress of a feature and its tasks; a band above the prompt shows the s (Review before installing)
- session-cleanup: The /cleanup command lists the temporary files the session created and the Git items it left (uncommitted changes, chang (Review before installing)
- topic-guard: Before a prompt enters the session, a small model judges whether it belongs to the session's topic. When it starts a sep (High risk)
- visual-review: The /visual-review command shows the design of the changes against a base branch as a diagram in the browser: classes an (Review before installing)