cache-tax

by Karan Bansal · ★ 421 · updated 4 days ago

BandsStatus lineCommandsPromptvalidates

0

A Claude Code mod that keeps the one-hour prompt cache warm during breaks and asks before a cold send, showing its estimated rewrite cost. Warming uses model requests and costs tokens. Requires Claude Code 2.1.287+.

install cache-tax

Install

git clone https://github.com/karanb192/cache-tax
claude --plugin-dir ./cache-tax

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
engine.createconfig.setui.rendersession.startsession.endclassic.SessionStartcommand.runprompt.submitturn.stepturn.completesession.compact
API calls
$.clock.after$.clock.every$.clock.now$.command.list$.command.register$.config.list$.env.get$.model.fork$.session.id$.session.model$.session.usage$.store.delete$.store.get$.store.set$.ui.ask$.ui.invalidate$.ui.log$.ui.resolve$.ui.status
Draws
AbovePrompt
Can see
classic hooksevery promptcompaction
Reach
level 2 of 3 drives Claudereads env varsreads settingspersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/karanb192/cache-tax
Path in repo
repository root
Source commit
2de12de the exact code the scan read
Author
Karan Bansal @karanb192
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.