cache-meter

by Gaurav Lahoti · ★ 0 · updated 5 days ago

Bandsvalidates

0

A band above the prompt showing how long the prompt cache stays warm, the last turn's hit rate, and a Compact button

install cache-meter

Install

/plugin marketplace add gauravlahoti/claude-mods
/plugin install cache-meter@gauravlahoti

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.startsession.measuresession.compactui.render
API calls
$.clock.every$.clock.now$.session.compact$.session.usage$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Can see
compaction
Reach
level 2 of 3 other: $.state.getother: $.state.setdrives Claudedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/gauravlahoti/claude-mods
Path in repo
plugins/cache-meter
Source commit
6a9ea8b the exact code the scan read
Author
Gaurav Lahoti @gauravlahoti
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.

More from gauravlahoti/claude-mods

gauravs-panel

gauravlahoti/claude-mods

Gaurav's Tools: a footer button that opens a model row and an effort row of clickable buttons, so switching takes one click instead of /model and /effort

★ 0PanesStatus lineReskins

token-weather

gauravlahoti/claude-mods

A live forecast of the context window above the prompt: weather word, percent used, tokens, a 12-turn chart and the last turn's growth

★ 0Bands