session-stats

by DADA · ★ 0 · updated 5 days ago

PanesGuardsCommandsPromptvalidates

0

工作階段狀態 pane:用量與預報(context、rate limit、compact 預估,可手動重新整理)、任務與執行紀錄(回放)、上下文與改動範圍;context 達 80% 時在回合之間先壓縮,壓縮摘要存到專案 .claude/session-notes/

install session-stats

Install

/plugin marketplace add hn83320589/claude-mods
/plugin install session-stats@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
session.startcommand.runui.closeprompt.submittool.callturn.completesession.compactui.render
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.fs.list$.fs.stat$.fs.write$.session.compact$.session.model$.session.root$.session.turns$.session.usage$.state.get$.state.set$.ui.close$.ui.log$.ui.open$.ui.resolve$.ui.toast
Draws
Pane
Can see
every promptevery tool callcompaction
Reach
level 2 of 3 other: $.state.getother: $.state.setwrites filesdrives Claudereads filesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/hn83320589/claude-mods
Path in repo
session-stats
Source commit
b7254f8 the exact code the scan read
Author
DADA @hn83320589
License
No license declared — ask the author before reusing code.
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 hn83320589/claude-mods

project-activity

hn83320589/claude-mods

任何專案通用:專案活動 pane(專案狀態、熱門檔案、最近活動)與 Git 狀態 pane,加上測試結果 status line 與回合摘要 band

★ 0PanesBandsStatus line