cache-tax

cache-tax is a Claude Code mod by gauravruhela07 that how well the prompt cache works and what the cache tax costs: hit %, cost and the money paid above all-cache-read, per turn, with cache-bust alerts.

Updated 2026-10-12

What is cache-tax?

cache-tax is a Claude Code mod by gauravruhela07 that how well the prompt cache works and what the cache tax costs: hit %, cost and the money paid above all-cache-read, per turn, with cache-bust alerts. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorgauravruhela07
Repositorygauravruhela07/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (96/100)
Rank#6,054 of 9,397 Claude Code mods; #1,128 in Cost & usage
Last commit2026-10-12
Hooks6 events
Seesonly the events it hooks
Draws onPane

Is cache-tax safe to install?

cache-tax scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 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
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install cache-tax?

  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/gauravruhela07/claude-mods
    claude plugin validate ./claude-mods/cache-tax
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add gauravruhela07/claude-mods && claude plugin install cache-tax@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs cache-tax for you:

Install the "cache-tax" Claude Code mod from https://github.com/gauravruhela07/claude-mods/tree/main/cache-tax. Run claude plugin validate on it first and show me what it can access before you enable it.

More from gauravruhela07/claude-mods

This repository has 7 Claude Code mods on MCPMods.

  • blast-radius: Shows how far each change can reach: the files that depend on every file Claude edits, and a flag on wide-reaching shell (Low risk)
  • filetree: A live file-tree pane of the project that marks the files Claude read, changed or created this session. (Low risk)
  • reflect: /reflect: Claude critiques its own recent work (what may be wrong or missed, what to check next) in a pane, with one pre (Low risk)
  • replay-theatre: Records what Claude does in the session and plays it back like a film in a pane: scene by scene, step by step. (Low risk)
  • savvy-progress: A live progress band above the prompt: what Claude does now, time, steps, files, errors, and a task bar with a time-left (Low risk)
  • skins: Skins for Claude Code: /skin swaps the spinner's glyphs, verbs and color, the turn's closing line and the prompt hints. (Low risk)