What is cache-tax?
cache-tax is a Claude Code mod by Berkay2002 that keeps the one-hour prompt cache warm during breaks (/keepwarm) and shows a cold send's estimated rewrite cost; this copy warns by default instead of refusing. Warming costs tokens. Copy of. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Berkay2002 |
| Repository | Berkay2002/berkays-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Review before installing (68/100) |
| Rank | #2,726 of 5,272 Claude Code mods; #468 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-11 |
| Hooks | 9 events |
| Sees | classic hooks, compaction, every prompt |
| Draws on | AbovePrompt |
Is cache-tax safe to install?
cache-tax scores 68/100 on the MCPMods security check: Review before installing. Things to review: 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.now | |
$.command.list | |
$.command.register | |
$.config.list | |
$.env.get | reads env vars |
$.model.complete | drives Claude |
$.model.fork | drives Claude |
$.session.id | |
$.session.model | |
$.session.usage | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
How do I install cache-tax?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Berkay2002/berkays-mods claude plugin validate ./berkays-mods/plugins/cache-tax
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Berkay2002/berkays-mods && claude plugin install cache-tax@berkays-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/Berkay2002/berkays-mods/tree/main/plugins/cache-tax. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Berkay2002/berkays-mods
This repository has at least 9 Claude Code mods on MCPMods.
- config-sync: Pulls the shared claude-config repo at session start, tells you when settings.shared.json changed, and applies it with / (Review before installing)
- effort-gate: Denies a subagent or background session running Opus at xhigh or max effort unless the user said so (Review before installing)
- identity-keeper: Keeps a session's name and role across restarts and compactions (Low risk)
- limit-resume: Resumes the session and its idle workers when a usage limit resets, and gives Claude the current 5h and weekly usage (High risk)
- proof-gate: Asks a worker that reports done for screenshots or video, sends the proof to you, and shows an approval band (Review before installing)
- route-ledger: Records which model and effort each subagent or background session ran at and how it went, with /routing-review to tune (Low risk)
- savvy-progress: Progress bar above the prompt and an agents panel (/agents-info): running, finished and planned subagents with model, pr (Review before installing)
- workers: A pane of the sessions this one orchestrates: state, branch, commits ahead, changed files, last message, who needs you (Low risk)