cache-meter

by Florian Grimmer · ★ 2 · updated 20 days ago

PanesBandsGuardsCommandsPromptwarnings

0

Stop wasting tokens: keeps your prompt cache warm through breaks with /keepwarm, shows when it expires and what each answer costs.

install cache-meter

Install

/plugin marketplace add florian101010/cache-meter
/plugin install cache-meter@cache-meter

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.endclassic.SessionStartturn.stepclassic.StopFailureturn.startturn.completetool.callclassic.PreModelSwitchsession.measuresession.compactclassic.PostModelSwitchcommand.runui.closeprompt.submitconfig.setcommand.describeui.render
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.list$.command.register$.config.list$.env.get$.model.fork$.session.compact$.session.surfaces$.session.turns$.session.usage$.settings.read$.state.get$.state.set$.ui.close$.ui.copy$.ui.invalidate$.ui.log$.ui.notify$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
AbovePromptPane
Can see
classic hooksevery tool callcompactionevery prompt
Reach
level 2 of 3 drives Claudewrites the clipboardreads env varsreads settingsreads mod 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/florian101010/cache-meter
Path in repo
repository root
Source commit
0bbe166 the exact code the scan read
Author
Florian Grimmer @florian101010
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.