session-hud
by lurenxing628 · ★ 1 · updated 2 days ago
0
把上下文、token、缓存命中、TPS、费用、增删行数、耗时写给原生 statusLine 显示
Install
git clone https://github.com/lurenxing628/claude-code-mod-statuslineclaude --plugin-dir ./claude-code-mod-statusline/modThen 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.startsession.endturn.startturn.completeturn.steptool.call- API calls
$.clock.after$.clock.every$.clock.now$.env.get$.fs.write$.session.id$.session.usage$.state.get$.state.set- Can see
Edit callsWrite calls- Reach
- level 2 of 3 other: $.state.getother: $.state.setwrites filesreads env vars
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/lurenxing628/claude-code-mod-statusline
- Path in repo
mod- Source commit
63b605cthe exact code the scan read- Author
- @lurenxing628
- 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.