Skip to content
ccmods.app

cache-tax

Keeps the prompt cache warm while you take a break and shows the estimated cost before a cold send.

by @karanb192148Updated Moderate accessGitHub

Installation

  1. 1. Clone the repository

    $ git clone https://github.com/karanb192/cache-tax.git
  2. 2. Start Claude Code with the mod loaded for this session

    $ claude --plugin-dir ./cache-tax

The repository has no marketplace file yet, so this loads the mod for one session. Needs Claude Code 2.1.287 or later, in a terminal. Full install guide

cache-tax running in Claude Code
Image from the project README

What does cache-tax do?

  • /keepwarm pings the prompt cache during breaks, six hours by default or a set window like /keepwarm 90m
  • Drops a cold send once and shows the estimated cache rewrite cost; resend to continue
  • A row above the prompt shows warm, cold or unknown state, next ping and last ping cost
  • /cache-tax shows the cache estimate, warming window and this session's cold-write tally
  • /cache-tax guard warn shows the price and sends instead of refusing

What do you need?

  • Claude Code 2.1.287 or later (terminal)
  • A one-hour prompt cache; API-key, usage-credit and cloud-provider sessions must set promptCacheTtl to "1h"
  • Claude Code left running during the break
  • Pings cost tokens

What can this mod access?

Read from the mod's code with claude plugin validate on Claude Code 2.1.296, synced Oct 12, 2026. This is a capability list, not a security audit. Mods run with your permissions, so install only from authors you trust.

Moderate access
  • Reads or rewrites your prompts
  • Reads environment variables or settings
  • Calls models on your plan (uses quota)
Hooks and engine calls (10 + 17)

hooks

  • classic.SessionStart
  • command.run{command=cache-tax}
  • command.run{command=keepwarm}
  • config.set{key=theme}
  • prompt.submit
  • session.compact
  • session.start
  • turn.complete
  • turn.step
  • ui.render{component=AbovePrompt}

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

Do you maintain cache-tax?

Add this badge to your README so users can jump to this page for the install command and access report.

Listed on ccmods.app
[![Listed on ccmods.app](https://ccmods.app/badge.svg)](https://ccmods.app/mods/cache-tax)

prompt-cache-control

Nasrallah-Adel/claude-prompt-cache-control

1

Shows a prompt-cache meter above the prompt with hit rate and a countdown to expiry, and suggests /compact or /clear.

UIPromptCommandsBroad access
$ claude plugin install prompt-cache-control --marketplace Nasrallah-Adel/claude-prompt-cache-control

cache-refresher

olddonkey/cache-refresher

3

Shows when the prompt cache expires and what a rebuild would cost, with an opt-in auto-refresh while you are away.

UICommandsWorkflowModerate access
$ claude plugin install cache-refresher --marketplace olddonkey/cache-refresher

jev-pilot

Akramovic1/jev-pilot

10

Asks the Jev decision model before each turn to set reasoning effort, subagent model and the one skill a prompt needs.

UIPromptToolsBroad access
$ claude plugin install jev-pilot --marketplace Akramovic1/jev-pilot