session-stats
by DADA · ★ 0 · updated 5 days ago
0
工作階段狀態 pane:用量與預報(context、rate limit、compact 預估,可手動重新整理)、任務與執行紀錄(回放)、上下文與改動範圍;context 達 80% 時在回合之間先壓縮,壓縮摘要存到專案 .claude/session-notes/
Install
/plugin marketplace add hn83320589/claude-mods/plugin install session-stats@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
b7254f8the 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.