cache-meter

cache-meter is a Claude Code mod by hal-9 that band above the prompt: prompt-cache countdown, cache hit rate, context fill and a Compact button, plus a keepwarm row from cache-tax that pings the cache through breaks and stops a cold.

Updated 2026-11-30

What is cache-meter?

cache-meter is a Claude Code mod by hal-9 that band above the prompt: prompt-cache countdown, cache hit rate, context fill and a Compact button, plus a keepwarm row from cache-tax that pings the cache through breaks and stops a cold. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorhal-9
Repositoryhal-9/claude-kit
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (80/100)
Rank#6,178 of 9,397 Claude Code mods; #1,155 in Cost & usage
LicenseMIT
Last commit2026-11-30
Hooks8 events
Seesclassic hooks, compaction, every prompt
Draws onAbovePrompt

Is cache-meter safe to install?

cache-meter scores 80/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 5 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
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.list
$.command.register
$.model.forkdrives Claude
$.session.compactdrives Claude
$.session.id
$.session.model
$.session.usage
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.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/hal-9/claude-kit
    claude plugin validate ./claude-kit/mods/cache-meter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add hal-9/claude-kit && claude plugin install cache-meter@hal-9

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/hal-9/claude-kit/tree/main/mods/cache-meter. Run claude plugin validate on it first and show me what it can access before you enable it.

More from hal-9/claude-kit

This repository has 4 Claude Code mods on MCPMods.

  • baton: Context budget guard and handoff relay: measures real context use per model request, stops subagents that run too long o (Low risk)
  • mod-switch: A mods button in the prompt footer opens a popover of every installed mod with switches that enable or disable them at u (Review before installing)
  • relay: Role buttons above the prompt: check or adversarially review the working tree with Codex, hand a task over to Codex, or (Review before installing)