cache-tax
by Karan Bansal · ★ 0 · updated 8 days ago
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 Claude Code 2.1.287+.
Install
/plugin marketplace add cGradying/claude-code-cockpit/plugin install cache-tax@janvin-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.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/cGradying/claude-code-cockpit
- Path in repo
cache-tax- Source commit
1c0f773the exact code the scan read- Author
- Karan Bansal @cGradying
- License
- A license file GitHub could not identify — read it in the repository before reusing code.
- 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 cGradying/claude-code-cockpit
blast-radius
cGradying/claude-code-cockpit
Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would change, with Proceed and Cancel buttons.
cockpit
cGradying/claude-code-cockpit
A one-line band above the prompt and a roomy Cockpit panel (prompt-cache countdown, context, plan limits, cost, next tasks, shortcuts), plus guards: no Claude credit lines in shell commands, pasted API keys held back, impeccable nudge on UI prompts.
filetree
cGradying/claude-code-cockpit
An IDE-style file tree for Claude Code that shows what Claude is doing and where in files
polish
cGradying/claude-code-cockpit
Cleans up dictated prompts with Haiku: drops the ums, false starts and spoken punctuation, and spells your jargon right. Learns your vocabulary as you type.
reflect-mod
cGradying/claude-code-cockpit
claude-reflect as a Claude Code mod: a model check on each short prompt finds reusable corrections (any language); a band above the prompt saves them to CLAUDE.md on one press
replay-theater
cGradying/claude-code-cockpit
Replay Theater: step through the file edits Claude made in the last turn, one diff at a time.
savvy-progress
cGradying/claude-code-cockpit
Progress bar above the prompt for /savvy-flow, plus an agents panel (/agents-info): running, finished and planned subagents with model, task progress, context, cost and time.
skins
cGradying/claude-code-cockpit
Skins for Claude Code's transcript: themed tool rows, reply gutters and spinner words. /skin swaps them live.