Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By atc-netv0.2.0MITIn 1 marketplace
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+.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
When the cache has expiredguard
ask: a prompt that would re-cache 50k+ tokens is held once with the cost, and Enter sends it. notice: it is sent, and the cost is shown. off: nothing.
One of ask, notice, off
stringdefault ask
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads environment variables (CLAUDE_CODE_PROMPT_CACHE_TTL, DISABLE_PROMPT_CACHING, ENABLE_PROMPT_CACHING_1H, FORCE_PROMPT_CACHING_5M); reads your settings; calls a model on your account; reads or rewrites your prompts.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Prompt cache lifetimecacheTtl
auto: worked out like Claude Code does (one hour on a Claude subscription, five minutes otherwise, unless promptCacheTtl or CLAUDE_CODE_PROMPT_CACHE_TTL says else). 5m or 1h: what you know it to be.
One of auto, 5m, 1h
stringdefault auto
Auto keep-warmautoKeepWarm
off: keep-warm runs only when you start it with /atc-keepwarm. 1h to 4h: after every answer, keep the cache warm by itself for up to this long while you're away, when the context is 50k+ tokens. A break never costs more in pings than half of one rewrite.
One of off, 1h, 2h, 3h, 4h
stringdefault off
[!IMPORTANT] This is a Claude Code mod. It requires Claude Code 2.1.287 or newer and doesn't run in GitHub Copilot. It works on Windows, macOS and Linux.
atc-cache-tax stops you from paying to re-send a long conversation after a break without knowing it, and can keep the conversation cached while you're away.
/atc-keepwarm 2h keeps the cache warm while you're at lunch or in a meeting, with small pings that stop by themselves when they no longer help.autoKeepWarm to 3h, and you don't have to remember /atc-keepwarm: after every answer the cache is kept warm by itself for up to three hours, and a break never costs more in pings than half of one rewrite./atc-cache-tax shows whether the cache is warm, how big the conversation is and what re-caching it costs.Every prompt sends the whole conversation to the model again: the system prompt, CLAUDE.md, the files Claude read, every answer so far. Claude Code keeps that conversation in the API's prompt cache, so the part that was already sent is read back cheaply instead of being processed again:
| What happens | Price, as a share of the normal input price |
|---|---|
| Reading from the cache | 0.1x (0.05x on Opus 5.5 and Sonnet 5.5, 0.025x on Fable and Mythos 5.1 and 5.2) |
| Writing to the cache, five-minute lifetime | 1.25x |
| Writing to the cache, one-hour lifetime | 2x |
A cache entry lives for one hour on a Claude subscription, and for five minutes with an API key, Bedrock, Vertex or Foundry. Each use starts the clock again. You can change it with the promptCacheTtl setting or the CLAUDE_CODE_PROMPT_CACHE_TTL environment variable.
After a longer break the entry is gone. The next prompt then writes the whole conversation to the cache again, at the write price. For a 200k-token conversation on Opus 5.5:
| Cost | |
|---|---|
| A prompt while the cache is warm (read) | about $0.04 |
| The first prompt after the cache expired (one-hour write) | about $1.60 |
That's 40 times as much, for a prompt that looks just like the one before. On a subscription you don't pay dollars, but it counts against your plan's usage limits the same way. The dollar figures in this mod are estimates at list prices.
The guard makes that cost visible before it happens, so you can decide: send it anyway, or /clear and start fresh. Keep-warm avoids it for breaks you know about.
When all of these are true, a prompt you type is held once:
● Prompt dropped by a hook: atc-cache-tax held this prompt: the prompt cache expired 12m ago, so this
prompt writes 182k tokens to it again (about $1.46). Press Enter to send it anyway, or /clear to start over.
Your prompt stays in the prompt box. Press Enter to send it. Only one prompt is held each time the cache expires, so the next one goes through even if you changed it. Slash commands are never held.
Set the guard to notice to send the prompt straight away with the cost as a notice, or to off.
/atc-keepwarm 2h
While you're away, a ping goes out shortly before the cache would expire: after 50 minutes with the one-hour lifetime, after 4 minutes with the five-minute one. A ping is a one-line question over the conversation ("reply with just: ok"). It reads the cache, so it costs the read price, about $0.02 to $0.03 for a 120k-token conversation on Opus 5.5. It's never added to the conversation, and it never runs while Claude is working.
While keep-warm runs, a row above the prompt shows how it's going:
♨ keep-warm cache warm · next ping in 38m · 1h22m left · 1 ping, $0.03 off
It stops by itself, with a notice, when:
When the cache has already expired, keep-warm doesn't ping: that would cost the full rewrite. Pings start again after your next prompt.
If you forget to run /atc-keepwarm before a break, let the mod do it. Set autoKeepWarm in /config to how long a break may be kept warm: 1h, 2h, 3h or 4h. It's off until you set it. To try it for one session, use /atc-keepwarm auto 3h.
7-day copy clicks
npx claudepluginhub atc-net/atc-agentic-toolkit --plugin atc-cache-taxBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.