5,900,066 AI resources indexedWorking toward the world’s largest AI resource index.

cache-tax

The comeback price of a cold prompt cache, shown before you pay it: a UserPromptSubmit guard that warns (or refuses once) when your next message re-writes a lapsed 1-hour cache at up to 80x the read rate, a SessionStart hook that prices a stale resume, and a one-line status line segment with minutes left and the cold-comeback cost.

Published by Karan Bansal

PDF
No ratings yet

How to use it

The comeback price of a cold prompt cache, shown before you pay it: a UserPromptSubmit guard that warns (or refuses once) when your next message re-writes a lapsed 1-hour cache at up to 80x the read rate, a SessionStart hook that prices a stale resume, and a one-line status line segment with minutes left and the cold-comeback cost.

Install through Claude Code: run /plugin marketplace add karanb192/claude-code-hooks, open /plugin, choose Discover, then select cache-tax from the added marketplace. Read the permission prompts and choose the installation scope that fits your project.

This is a Claude Code plugin bundle. It extends an existing Claude Code installation and requires access to Claude Code. It is not a standalone workflow engine. Dependencies mentioned in the publisher setup: Claude Code, Node.js mentioned in setup.

The package manifest, project license and setup documentation passed automated static checks. No additional service-account requirement was detected by that scan. The plugin has not been executed or certified account-free. Review any hooks or commands before enabling them.

Framework
Claude Code
Host application
Claude Code
Package path
./plugins/cache-tax
Plugin name
cache-tax
Requirements
Claude Code access; Node.js mentioned in setup
Review
Manifest, license and setup checked; runtime not tested
Access
Install in Claude Code
License
MIT
Visit Plugin Repository