Claude Code mod
cache-battery
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-batteryMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: reads env vars, draws
- Sees
- classic hooks
- Draws in
AbovePrompt- Hooks
session.startclassic.SessionStartturn.stepui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- korengast/cache-battery
- Folder
.- Marketplace
cache-battery- Author
- korengast
- License
- MIT
- Last updated
- 7 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is cache-battery?
Shows the prompt cache as a draining battery above the prompt: 5m or 1h tier, seconds in the last minute, a snowflake when cold It is a mod for Claude Code, from korengast/cache-battery on GitHub.
What can the cache-battery mod access?
Its widest reach is "reads" (reads env vars, draws). It sees classic hooks. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install cache-battery?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add korengast/cache-battery and then /plugin install cache-battery@cache-battery.
Is cache-battery popular?
korengast/cache-battery has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 7 October 2026.
More context & usage mods
burnrate
1nemke82/claude-code-burnrate
Live quota and prompt-cache monitor for Claude Code: how fast your plan windows are filling and when they run out, plus your prompt-cache misses and an estimate of the tokens each one rewrote. Needs function hooks (early access).
cache-live-control
1rezzminator/cache-live-control
Change the prompt-cache TTL (5m, 1h or automatic) of one Claude Code chat with /cache: instantly, with no model turn, for the main chat, its sub-agents or both.
burnline
1matrac/burnline
One status line beside the model selector: 5-hour and 7-day usage with pace and reset countdown, plus Claude's task list as milestone dots
cache-meter
1satyamk4517/claude-mods
Status line with prompt-cache hit rate, context size and TTL countdown; toasts and prices every cache rebuild and names what coincided with it; /cache-meter summary.
burn-rate
1TroyJLorents-GH/mod-squad
A terminal cost dashboard (/burn): spend by day, project, model, activity, tools, shell commands and MCP servers, read from your local Claude Code transcripts and estimated at list price.
cache-tax
1Orfila-antoine/claude-mods
Keeps the one-hour prompt cache warm during breaks and stops a cold send once with its estimated rewrite cost; its status line sits in the modkit band. Adapted from cache-tax by Karan Bansal (MIT).
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.