From atc-cache-tax
Claude Code mod: holds a big prompt once when the prompt cache has expired and shows what re-caching the conversation costs, and /atc-keepwarm keeps the cache warm while you're away with cheap pings that stop by themselves, or auto keep-warm does it after every answer. /atc-cache-tax shows the cache's state. Works on Windows, macOS and Linux. Requires Claude Code 2.1.287+.
7 events · 11 calls
Ships in atc-cache-tax. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
env.getsettings.readmodel.forkprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startturn.startturn.completeturn.stepprompt.submitcommand.run{command=atc-cache-tax}command.run{command=atc-keepwarm}ui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
everynowregistergetforkusagereadgetsetresolvetoastCLAUDE_CODE_PROMPT_CACHE_TTLDISABLE_PROMPT_CACHINGENABLE_PROMPT_CACHING_1HFORCE_PROMPT_CACHING_5MWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub atc-net/atc-agentic-toolkit --plugin atc-cache-tax