cache-meter

cache-meter is a Claude Code mod by LupusMalusDeviant that band: time left on the warm cache, hit rate, context as weather with its trend over 12 turns, plan limits, compact and keep-warm buttons; stops one send to a cold cache and names its cost.

Updated 2026-11-30

What is cache-meter?

cache-meter is a Claude Code mod by LupusMalusDeviant that band: time left on the warm cache, hit rate, context as weather with its trend over 12 turns, plan limits, compact and keep-warm buttons; stops one send to a cold cache and names its cost. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
AuthorLupusMalusDeviant
RepositoryLupusMalusDeviant/mod-box
Popularity1 GitHub stars
CategoryCost & usage
SecurityReview before installing (60/100)
Rank#3,863 of 9,397 Claude Code mods; #655 in Cost & usage
LicenseMIT
Last commit2026-11-30
Hooks9 events
Seesclassic hooks, compaction, every prompt
Draws onAbovePrompt

Is cache-meter safe to install?

cache-meter scores 60/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables; watches every prompt or event. It passed 4 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 files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.list
$.command.register
$.command.rundrives Claude
$.config.list
$.env.getreads env vars
$.fs.readreads files
$.fs.writewrites files
$.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/LupusMalusDeviant/mod-box
    claude plugin validate ./mod-box/plugins/cache-meter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add LupusMalusDeviant/mod-box && claude plugin install cache-meter@mod-box

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/LupusMalusDeviant/mod-box/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 LupusMalusDeviant/mod-box

This repository has at least 9 Claude Code mods on MCPMods.

  • mod-box: 21 Claude Code mods in one plugin, each switchable on its own; /mod-box opens the window to switch, configure and import (Low risk)
  • blast-radius: Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would hit. (Review before installing)
  • ci-watch: After every git push, follows the GitHub Actions runs (via gh) until they finish; with an open pull request (also after (Review before installing)
  • handoff: /handoff writes a handoff note to .claude/handoff.local.md; a new session offers to continue from it. (Low risk)
  • package-guard: Before Claude installs or runs a package (npm, pnpm, yarn, bun, npx, pip, uv, poetry, pipx, cargo), asks the public regi (Low risk)
  • pet: A desktop pet and little companion on the Windows desktop, always on top and in front of borderless games: a cardboard b (High risk)
  • read-guard: Holds a whole-file Read (no offset/limit) of a file above the limit, a lockfile, minified code or a source map, and the (Low risk)
  • relay: Main agent dispatches tasks to persistent worker sessions via CLI (Claude Code, Codex, OpenCode or the Werkbank servers (High risk)