cache-tax

cache-tax is a Claude Code mod by cGradying 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-11-30

What is cache-tax?

cache-tax is a Claude Code mod by cGradying 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 1 GitHub stars.

TypeClaude code mod
AuthorcGradying
RepositorycGradying/claude-code-cockpit
Popularity1 GitHub stars
CategoryCost & usage
SecurityReview before installing (64/100)
Rank#3,404 of 9,397 Claude Code mods; #537 in Cost & usage
Last commit2026-11-30
Hooks9 events
Seesclassic hooks, compaction, every prompt
Draws onAbovePrompt

Is cache-tax safe to install?

cache-tax scores 64/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables; watches every prompt or event. It passed 3 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
Validator reported problemsNote
No license detectedNote

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/cGradying/claude-code-cockpit
    claude plugin validate ./claude-code-cockpit/cache-tax
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add cGradying/claude-code-cockpit && claude plugin install cache-tax@janvin-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/cGradying/claude-code-cockpit/tree/main/cache-tax. Run claude plugin validate on it first and show me what it can access before you enable it.

More from cGradying/claude-code-cockpit

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

  • blast-radius: Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would chang (Low risk)
  • cockpit: A one-line band above the prompt and a roomy Cockpit panel (prompt-cache countdown, context, plan limits, cost, next tas (High risk)
  • filetree: An IDE-style file tree for Claude Code that shows what Claude is doing and where in files (High risk)
  • polish: Cleans up dictated prompts with Haiku: drops the ums, false starts and spoken punctuation, and spells your jargon right. (Low risk)
  • reflect-mod: claude-reflect as a Claude Code mod: a model check on each short prompt finds reusable corrections (any language); a ban (High risk)
  • replay-theater: Replay Theater: step through the file edits Claude made in the last turn, one diff at a time. (Low risk)
  • savvy-progress: Progress bar above the prompt for /savvy-flow, plus an agents panel (/agents-info): running, finished and planned subage (Low risk)
  • skins: Skins for Claude Code's transcript: themed tool rows, reply gutters and spinner words. /skin swaps them live. (Review before installing)