cache-meter

by Dmitry7917 · ★ 0 · updated 17 Oct 2026

PanesBandsStatus lineGuardsCommandsPromptwarnings

0

Context size, prompt cache countdown, subscription limits and subagents above the prompt; per-answer token summary, history pane, per-day stats over all sessions and /keepalive

install cache-meter

Install

/plugin marketplace add Dmitry7917/cache-meter
/plugin install cache-meter@dmitry-mods

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.startcommand.runprompt.submittool.callsession.measuresession.compactturn.startturn.stepturn.completeui.render
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.model.fork$.prompt.fill$.session.compact$.session.id$.session.root$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.log$.ui.notify$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePromptPane
Can see
every promptevery tool callcompaction
Reach
level 2 of 3 drives Claudewrites the prompt boxreads mod statepersists 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/Dmitry7917/cache-meter
Path in repo
repository root
Source commit
0cbd814 the exact code the scan read
Author
@Dmitry7917
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.