cache-battery
by korengast · ★ 0 · updated 4 days ago
0
Shows the prompt cache as a draining battery above the prompt: 5m or 1h tier, seconds in the last minute, a snowflake when cold
Install
/plugin marketplace add korengast/cache-battery/plugin install cache-battery@cache-batteryThen 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.startclassic.SessionStartturn.stepui.render- API calls
$.clock.every$.clock.now$.env.get$.ui.invalidate$.ui.resolve- Draws
AbovePrompt- Can see
classic hooks- Reach
- level 1 of 3 reads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/korengast/cache-battery
- Path in repo
- repository root
- Source commit
95b813cthe exact code the scan read- Author
- @korengast
- 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.