Home / Claude Code mods / Security / session-info

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.

Updated 2026-11-23

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.

TypeClaude code mod
Authordougcunha
Repositorydougcunha/claude-mods
Popularity4 GitHub stars
CategorySecurity
SecurityHigh risk (32/100)
Rank#1,516 of 9,397 Claude Code mods; #182 in Security
LicenseMIT
Last commit2026-11-23
Hooks22 events
Sees? calls, AskUserQuestion calls, Bash calls, PowerShell calls, Skill calls, classic hooks, compaction, every prompt, every skill, every tool call, subagent spawns
Draws onAbovePrompt, 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.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.every
$.clock.now
$.clock.sleep
$.command.list
$.command.register
$.command.rundrives Claude
$.config.setchanges config
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.mcp.callcalls MCP servers
$.model.forkdrives Claude
$.process.runruns processes
$.process.spawn
$.prompt.fillwrites the prompt box
$.prompt.read
$.prompt.suggestwrites the prompt box
$.session.cwd
$.session.id
$.session.messagesreads the transcript
$.session.turns
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.list
$.tool.registerdrives Claude
$.ui.copydraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.notifydraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.scrolldraws interface
$.ui.toastdraws interface

How do I install session-info?

  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/dougcunha/claude-mods
    claude plugin validate ./claude-mods/session-info
  3. 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)