cache-tax

cache-tax is a Claude Code mod by karanb192 that a Claude Code mod that keeps the one-hour prompt cache warm during breaks and stops a cold send once with its estimated rewrite cost. Warming uses model requests and costs tokens. Requires.

Updated 2026-10-17

What is cache-tax?

cache-tax is a Claude Code mod by karanb192 that a Claude Code mod that keeps the one-hour prompt cache warm during breaks and stops a cold send once with its estimated rewrite cost. Warming uses model requests and costs tokens. Requires. It is listed under Cost & usage and has 204 GitHub stars.

TypeClaude code mod
Authorkaranb192
Repositorykaranb192/cache-tax
Popularity204 GitHub stars
CategoryCost & usage
SecurityReview before installing (72/100)
Rank#95 of 5,272 Claude Code mods; #15 in Cost & usage
LicenseMIT
Last commit2026-10-17
Stars this week+62
Hooks9 events
Seesclassic hooks, compaction, every prompt
Draws onAbovePrompt

Is cache-tax safe to install?

cache-tax scores 72/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables; 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
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.now
$.command.list
$.command.register
$.config.list
$.env.getreads env vars
$.model.forkdrives Claude
$.session.id
$.session.model
$.session.usage
$.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

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/karanb192/cache-tax
    claude plugin validate ./cache-tax/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/karanb192/cache-tax && claude --plugin-dir ./cache-tax/.

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/karanb192/cache-tax. Run claude plugin validate on it first and show me what it can access before you enable it.