cache-meter

by Claude · ★ 0 · updated 3 days ago

Bandsvalidates

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

Install

/plugin marketplace add T-AI-Labs/claude-code-mods
/plugin install cache-meter@T-AI-Labs

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.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
166f72d the 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.

More from T-AI-Labs/claude-code-mods

usage-limits

T-AI-Labs/claude-code-mods

One row above the prompt: how much of the 5-hour and weekly usage limits is used, in percent, with the time until each resets.

★ 0Bands