Claude Cache Timer — Communication skill for Claude Code
Claude Code mod: prompt cache countdown in the prompt footer, terminal and desktop.
How to install Claude Cache Timer
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Sanexxxx777/claude-cache-timer and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Cache Timer does
Claude Code mod: prompt cache countdown in the prompt footer, terminal and desktop. Says why the cache was rebuilt early, and in Ghostty raises a macOS notification before a big cache expires.
Alternatives in Communication
- Agentrove — A self-hosted web and macOS desktop app for Claude Code and Codex, powered by ACP 270 ★
- Wechat Exporter — A Claude Code / Codex skill to export and decrypt WeChat (macOS) chat history into plaintext SQLite databases 208 ★
- HeartBench — HeartBench is an evaluation benchmark for the psychological and social sciences field, designed to transcend t 50 ★
README
cache-timer
How long until Claude Code's prompt cache goes cold, in the prompt footer of the terminal and the desktop app.
cache ━━━━━━━━━━ 47 min · 98%
The bar shrinks as the cache ages. The percent is the share of the last request the cache served. With plenty of time left the line is light olive. It turns khaki at 10 minutes left, amber at 5 and terracotta at 2. Once the cache expires the bar empties, the line goes grey and says how many tokens the next turn will write again, with `/compact` from 100k tokens up.
Where it sits:
- Terminal: on the row right under Claude Code's hint line (
auto mode on (shift+tab to cycle)), which stays as Claude Code draws it. On a narrow window the percent goes first, then bar cells. - Desktop app: under the prompt box, left of the model picker, with a shorter bar (5 cells) because the app draws
━wider than a letter. The desktop has no hint line to sit beside.
This is a Claude Code mod: hooks that run inside Claude Code itself. A one-second clock redraws the line, so the countdown moves while you're idle. It only repaints when the text or colour changes, which is once a minute until the last 5 minutes.
Why it usually says an hour
On a Claude subscription Claude Code asks for the 1-hour cache by itself. API keys, cloud providers and usage credits get 5 minutes. The mod follows Claude Code's documented order (`FORCE_PROMPT_CACHING_5M`, `CLAUDE_CODE_PROMPT_CACHE_TTL`, the `promptCacheTtl` setting, `ENABLE_PROMPT_CACHING_1H`, then the account), notices when a subscription runs out of plan usage and falls back to credits, and checks itself against request timing: a cache hit 20 minutes after the previous request proves the hour.
On a 5-minute cache the colour steps scale down to 50, 25 and 10 seconds.
When the cache is rebuilt early
The countdown assumes the next request reads what the last one cached. Some changes break that before the time runs out, and the line says so.
- Model switch. Eac
Related Skills
Cache Maxxing
A bar above your chat to see when Claude's prompt cache expires, and what your next message will cost, before
Claude Juice
A Claude Code status line that shows your usage limits as batteries: your 5-hour session, your weekly and Fabl
Keep Warm
Keeps a Claude Code chat's prompt cache warm while you're away, then turns itself off.
Claude Imessage Mod
A Claude Code mod that makes the terminal chat look like iMessage: bubbles, tapbacks, threaded replies and pho
Claude Last Turn Diff
A Claude Code mod that shows what Claude changed in its last turn: one diff per file, in a pane next to the ch
Cloudex Guard
Keep your Claude Code chats clean: a macOS menu bar app showing context per chat, chats waiting for you, hando
Related Agents
Release Radar Agent
Weekly auto-refresh of competitive intel + Aegis/Nimbus release notes. Scheduled via launchd (macOS) or system
X402 Profit Oracle
Audits this x402 repo as a commercial surface and raises revenue without breaking discovery, settlement, or th
Notification Manager
Designs, configures, and tests Claude Code notification channels. Use when the user wants to set up Slack/Disc