cache-tax

by Antoine Orfila · ★ 1 · updated 25 days ago

BandsStatus lineCommandsPromptwarnings

0

Keeps the one-hour prompt cache warm during breaks and stops a cold send once with its estimated rewrite cost; its status line sits in the modkit band. Adapted from cache-tax by Karan Bansal (MIT).

install cache-tax

Install

/plugin marketplace add Orfila-antoine/claude-mods
/plugin install cache-tax@claude-mods

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
config.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$.prompt.fill$.prompt.read$.session.id$.session.model$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.blit$.ui.invalidate$.ui.log$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePrompt
Can see
classic hooksevery promptcompaction
Reach
level 2 of 3 drives Claudewrites the prompt boxreads env varsreads settingsreads the prompt boxreads mod statepersists 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/Orfila-antoine/claude-mods
Path in repo
cache-tax
Source commit
6c30f37 the exact code the scan read
Author
Antoine Orfila @Orfila-antoine
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 Orfila-antoine/claude-mods

backstage

Orfila-antoine/claude-mods

Buttons above the prompt: rewrite your prompt in one key, verify Claude's weakest claim with a read-only scout, send one of three next prompts in one click, hand off to a fresh session

★ 1BandsCommandsPrompt

cues

Orfila-antoine/claude-mods

Small cues around the prompt: a Next step from each answer in the hint line, options that state their consequence, a start-of-session line, sparks on git push

★ 1BandsReskinsGuards

eta-band

Orfila-antoine/claude-mods

A line above the prompt with the time left in the turn and per sub-agent, learnt from your own history, plus something to do meanwhile from your open beads

★ 1BandsGuardsPrompt

mirror

Orfila-antoine/claude-mods

Spots a spiral (the same request, the same answer or the same failing tool, three times) and offers to break the loop

★ 1Bands

modkit

Orfila-antoine/claude-mods

A kit for Claude Code mods: an ordered middleware pipeline, terminal layers and smooth transitions; this plugin is its runnable example

★ 1BandsCommandsPrompt

ripple

Orfila-antoine/claude-mods

Edits collapse to one line in the conversation; a /ripple pane shows the edited files and the files that use them as a growing tree, one section per agent

★ 1PanesReskinsGuards

wipe

Orfila-antoine/claude-mods

Screen wipes for /clear and /new: black hole, fall, dust, fade, tv; /wipe plays one without clearing

★ 1PanesBandsReskins