session-info

by Douglas Cunha · ★ 4 · updated today

PanesBandsGuardsCommandsPromptvalidates

0

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 tokens, cache, tools and refused calls, a task list Claude keeps with a switch that keeps Claude working while tasks remain open, an autopick switch that answers a question left unanswered with its recommended...

install session-info

Install

/plugin marketplace add dougcunha/claude-mods
/plugin install session-info@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
config.describesession.startclassic.SessionStartclassic.PostModelSwitchui.rendersession.endcommand.runprompt.submitsession.appendprompt.composetool.callclassic.Stopskill.promptturn.starttool.checkturn.stepsession.measureturn.completeprompt.suggestagent.spawnsession.compactui.scroll
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.clock.sleep$.command.list$.command.register$.command.run$.config.set$.env.get$.fs.exists$.fs.read$.fs.write$.http.fetch$.mcp.call$.model.fork$.process.run$.process.spawn$.prompt.fill$.prompt.read$.prompt.suggest$.session.cwd$.session.id$.session.messages$.session.turns$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set
Draws
AbovePromptPane
Can see
classic hooksevery prompt? callsSkill callsevery skillsubagent spawnscompactionBash callsPowerShell callsevery tool callAskUserQuestion calls
Reach
networkMCP serversruns processeswrites fileschanges configdrives Claudewrites the prompt boxreads filesreads env varsreads settingsreads the transcriptreads the prompt boxreads mod statepersists state

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/dougcunha/claude-mods
Path in repo
session-info
Source commit
2e8ca05 the exact code the scan read
Author
Douglas Cunha @dougcunha
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 dougcunha/claude-mods

topic-guard

dougcunha/claude-mods

Before a prompt enters the session, a small model judges whether it belongs to the session's topic. When it starts a separate topic, the mod holds it in the prompt box: press Enter to keep it here, or New session to clear the session and send it there.

★ 4BandsStatus linePrompt