What is cache-meter?
cache-meter is a Claude Code mod by Spendry that shows above the prompt how warm the prompt cache is, what a cache miss would cost to rewrite, context fill, and the session's API-rate cost. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Spendry |
| Repository | Spendry/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (96/100) |
| Rank | #8,512 of 9,397 Claude Code mods; #1,697 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-26 |
| Hooks | 6 events |
| Sees | only the events it hooks |
| Draws on | AbovePrompt |
Is cache-meter safe to install?
cache-meter scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.session.usage | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install cache-meter?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Spendry/claude-code-mods claude plugin validate ./claude-code-mods/cache-meter
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Spendry/claude-code-mods && claude plugin install cache-meter@claude-code-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-meter for you:
Install the "cache-meter" Claude Code mod from https://github.com/Spendry/claude-code-mods/tree/main/cache-meter. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Spendry/claude-code-mods
This repository has 5 Claude Code mods on MCPMods.
- deviation-kernel: Holds a project's refused assumptions in Claude's system prompt, flags edits and answers that re-impose them, and pauses (High risk)
- file-tree: A file tree of the working directory in a pane beside the transcript, with folders you open and close and the files Clau (Low risk)
- goal-board: Each session's goal, task progress and ETA above the prompt, and a /goals board of every running session on this machine (Low risk)
- idea-agents: Six exploration agents per project (premise-breaker, field-crosser, idea-sizer, and a lazy trogg for each), one ideas/ f (High risk)