cache-tax
by Karan Bansal · ★ 0 · updated 7 days ago
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 karanb192/cache-tax 2.2.1.
Install
/plugin marketplace add Berkay2002/berkays-mods/plugin install cache-tax@berkays-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
config.setui.rendersession.startclassic.SessionStartcommand.runprompt.submitturn.stepturn.completesession.compact- API calls
$.clock.after$.clock.now$.command.list$.command.register$.config.list$.env.get$.model.complete$.model.fork$.session.id$.session.model$.session.usage$.store.delete$.store.get$.store.set$.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/Berkay2002/berkays-mods
- Path in repo
plugins/cache-tax- Source commit
c7eb68ethe exact code the scan read- Author
- Karan Bansal @Berkay2002
- 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.
More from Berkay2002/berkays-mods
config-sync
Berkay2002/berkays-mods
Pulls the shared claude-config repo at session start, tells you when settings.shared.json changed, and applies it with /config-sync apply
effort-gate
Berkay2002/berkays-mods
Denies a subagent or background session running Opus at xhigh or max effort unless the user said so
identity-keeper
Berkay2002/berkays-mods
Keeps a session's name and role across restarts and compactions
limit-resume
Berkay2002/berkays-mods
Resumes the session and its idle workers when a usage limit resets, and gives Claude the current 5h and weekly usage
proof-gate
Berkay2002/berkays-mods
Asks a worker that reports done for screenshots or video, sends the proof to you, and shows an approval band
route-ledger
Berkay2002/berkays-mods
Records which model and effort each subagent or background session ran at and how it went, with /routing-review to tune routing rules
savvy-progress
Berkay2002/berkays-mods
Progress bar above the prompt and an agents panel (/agents-info): running, finished and planned subagents with model, progress, context, cost and time. Crabs for the claude-config scout, builder and reviewer. Copy of johnnyvizz/claude-kit savvy-progress 1.2.0.
workers
Berkay2002/berkays-mods
A pane of the sessions this one orchestrates: state, branch, commits ahead, changed files, last message, who needs you