cache-meter

cache-meter is a Claude Code mod by satyamk4517 that status line with prompt-cache hit rate, context size and TTL countdown; toasts and prices every cache rebuild and names what coincided with it; /cache-meter summary.

Updated 2026-10-09

What is cache-meter?

cache-meter is a Claude Code mod by satyamk4517 that status line with prompt-cache hit rate, context size and TTL countdown; toasts and prices every cache rebuild and names what coincided with it; /cache-meter summary. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
Authorsatyamk4517
Repositorysatyamk4517/claude-mods
Popularity1 GitHub stars
CategoryCost & usage
SecurityLow risk (92/100)
Rank#2,289 of 5,272 Claude Code mods; #384 in Cost & usage
Last commit2026-10-09
Hooks3 events
Seesonly the events it hooks
Draws onnothing

Is cache-meter safe to install?

cache-meter scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 6 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.ui.statusdraws 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/satyamk4517/claude-mods
    claude plugin validate ./claude-mods/cache-meter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add satyamk4517/claude-mods && claude plugin install cache-meter@satyam-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/satyamk4517/claude-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 satyamk4517/claude-mods

This repository has 3 Claude Code mods on MCPMods.

  • blast-guard: Holds risky shell commands for a yes/no with a dry-run report, blocks Python heredocs carrying backslash escapes, and ca (Low risk)
  • usage-bar: Interactive band above the prompt: context fill, 5-hour and 7-day plan limits with resets, session cost, and a progress (Low risk)