UsageAppears in · BandAdded

cache-tax

Keep the one-hour prompt cache warm and estimate cold-write cost.

cache-tax · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
cache-tax · keepwarm 5h 12m left
cold send blocked · est. rewrite $6.28
ping · fork keep-alive ok
❯ /keepwarm 90m
❯

Illustration. Actual results depend on the mod, terminal and environment.

Install

/plugin marketplace add karanb192/claude-code-mods
/plugin install cache-tax@claude-code-mods
/reload-plugins

Run these commands one at a time in a Claude Code session.

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Reads whether a prompt is slash-only, session usage/model ids, and keepwarm state in plugin store.

Writes files

Yes

Writes keepwarm deadline, ping period and guard switches in $.store.

Runs commands

None

Network

Yes

Issues $.model.fork API requests inside the keepwarm window to keep the cache warm.

Introduction

cache-tax is a function-hooks mod that arms a keepwarm window, pings with $.model.fork to keep the one-hour prompt cache warm, and estimates cold-write cost before a cold send. /keepwarm arms the window. Install from marketplace karanb192/claude-code-mods (plugin source is this repo). Needs Claude Code 2.1.287+; pings cost tokens. Author documents reach in What it can reach. A separate shell-hook version exists; this listing is the Mod only. Not run-tested. Preview is illustrative.

Who it is for

  • People who leave sessions idle and want to avoid cold-cache rewrite cost

Requirements

  • Claude Code ≥ 2.1.287
  • Needs a one-hour prompt cache; API/credit paths may need promptCacheTtl=1h.
  • Keep-warm pings cost tokens.