claudemods

All Claude Code modskorengast/cache-battery

cache-battery

A Claude Code mod in korengast/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

review UI rewrite

cache-battery reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

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

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Reads filesreads env vars, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks
Hooks
session.start, classic.SessionStart {source=clear|resume|fork}, turn.step, ui.render {component=AbovePrompt}
API calls
$.clock.every, $.clock.now, $.env.get, $.ui.invalidate, $.ui.resolve
Validation on 2.1.302
Passed
Scanned revision
95b813c67ea3
Marketplace passed
cache-battery
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. hooks/lib/core/render.mjs:60, hooks/lib/core/render.mjs:62, hooks/lib/core/render.mjs:64

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

Badge for your README

Reach badge for cache-battery Validation badge for cache-battery

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/korengast--cache-battery--cache-battery-reach.svg)](https://mods.aidojo.si/mods/korengast--cache-battery--cache-battery/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/korengast--cache-battery--cache-battery-validates.svg)](https://mods.aidojo.si/mods/korengast--cache-battery--cache-battery/)