cache-tax

cache-tax is a Claude Code mod by zaripovfarrukh that holds a prompt once when the prompt cache has gone cold and shows the estimated re-write cost; /keepwarm pings the cache.

Updated 2026-10-11

What is cache-tax?

cache-tax is a Claude Code mod by zaripovfarrukh that holds a prompt once when the prompt cache has gone cold and shows the estimated re-write cost; /keepwarm pings the cache. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
Authorzaripovfarrukh
Repositoryzaripovfarrukh/claude-code-mods
Popularity1 GitHub stars
CategoryCost & usage
SecurityReview before installing (76/100)
Rank#4,533 of 9,397 Claude Code mods; #775 in Cost & usage
Last commit2026-10-11
Hooks6 events
Seesevery prompt
Draws onnothing

Is cache-tax safe to install?

cache-tax scores 76/100 on the MCPMods security check: Review before installing. Things to review: 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 no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.model.forkdrives Claude
$.session.usage
$.state.get
$.state.set
$.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/zaripovfarrukh/claude-code-mods
    claude plugin validate ./claude-code-mods/mods/cache-tax
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add zaripovfarrukh/claude-code-mods && claude plugin install cache-tax@claude-code-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/zaripovfarrukh/claude-code-mods/tree/main/mods/cache-tax. Run claude plugin validate on it first and show me what it can access before you enable it.

More from zaripovfarrukh/claude-code-mods

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

  • blast-radius: Holds risky Bash commands (rm -r, force push, reset --hard, clean, find -delete, drop/truncate), shows what they would a (Low risk)
  • filetree: Project file tree in a pane: files Claude reads or edits shimmer, committed ones turn green, uncommitted changes are mar (Low risk)
  • handoff: Hands a long session over to a fresh one before context runs out: watches the context fill, offers to write HANDOFF.md f (Review before installing)
  • reflect: Turns your corrections into saved rules: spots a stated preference in your prompt and offers to save it to CLAUDE.md fro (High risk)
  • replay-theater: /replay steps through every file edit Claude made in the last turn, one colored diff at a time. (Low risk)
  • savvy-progress: Live panel and progress band for subagents: model, context fill, tokens, estimated cost and time. Toggle with /agents-in (Low risk)
  • skins: Switch colour skins live with /skin : tool rows with icon, name, argument summary and duration, edits as diff cards, a s (Low risk)
  • you-should-know: A second agent on the side reads what Claude just did and flags anything you might miss, as a note above the prompt. Tog (Review before installing)