Prompt Cache Control

Claude Code Mod · observability

Prompt-cache-control एक observability mod है जो Claude Code में हर request के cache token usage, TTL countdown और cache management दिखाता है, जिससे developers को लागत और performance समझ में आता है।

Prompt-cache meter above the Claude Code prompt: how many tokens each request read from, wrote to and sent past the cache, a live countdown to the cache's expiry, and what to do about it (keep going, compact or clear). The TTL follows Claude Code's own rules for your account (1 hour on a Claude subscription, 5 minutes on an API key, cloud provider or usage credits, plus the TTL variables and setting) and corrects its

Install

npx claude-code-templates@latest --mod observability/prompt-cache-control

View on GitHub · by claude-code-templates