cache-battery

by korengast · ★ 0 · updated 4 days ago

Bandsvalidates

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 cache-battery

Install

/plugin marketplace add korengast/cache-battery
/plugin install cache-battery@cache-battery

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.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
95b813c the 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.