cache-meter
by Claude · ★ 0 · updated 3 days ago
0
Prompt-cache hit rate and context fill in one row above the prompt, with a switchable auto-compact threshold and Compact and Clear buttons.
Install
/plugin marketplace add T-AI-Labs/claude-code-mods/plugin install cache-meter@T-AI-LabsThen 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.completesession.measuresession.compactui.render- API calls
$.clock.after$.command.run$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
compaction- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/T-AI-Labs/claude-code-mods
- Path in repo
cache-meter- Source commit
166f72dthe exact code the scan read- Author
- Claude @T-AI-Labs
- 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.