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.

Updated 2026-11-02

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.

TypeClaude code mod
Authorvmlinuz82
Repositoryvmlinuz82/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (64/100)
Rank#9,064 of 9,397 Claude Code mods; #1,815 in Cost & usage
Last commit2026-11-02
Hooks4 events
Seescompaction
Draws onUserMessage, 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.env.getreads env vars
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.id
$.session.root
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.ui.askdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install cache-meter?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)