What is cache-meter?
cache-meter is a Claude Code mod by vmlinuz82 that shows how long Claude's prompt cache stays warm, how much each turn read from it and what it saved. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | vmlinuz82 |
| Repository | vmlinuz82/claude-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Review before installing (64/100) |
| Rank | #9,064 of 9,397 Claude Code mods; #1,815 in Cost & usage |
| Last commit | 2026-11-02 |
| Hooks | 4 events |
| Sees | compaction |
| Draws on | UserMessage, AbovePrompt |
Is cache-meter safe to install?
cache-meter scores 64/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 3 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 processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.env.get | reads env vars |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.id | |
$.session.root | |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.ui.ask | 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/vmlinuz82/claude-mods claude plugin validate ./claude-mods/plugins/cache-meter
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add vmlinuz82/claude-mods && claude plugin install cache-meter@claude-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/vmlinuz82/claude-mods/tree/main/plugins/cache-meter. Run claude plugin validate on it first and show me what it can access before you enable it.
More from vmlinuz82/claude-mods
This repository has 3 Claude Code mods on MCPMods.
- skill-usage: Lists every skill and MCP server in the session with how many times each was used (Low risk)
- task-list: Shows the session's tasks as a CLI-style checklist above the prompt (Low risk)