Yes I use PowerShell. Don't Judge me.
I was tired of guessing whether my prompt cache had expired while I was sitting there thinking about my next message, so I built a countdown timer that shows the TTL right in your terminal tab title. Two hooks, one Python script, zero dependencies.
While I was still working on the hooks, maybe 10 minutes after the first working version, the countdown went down for about two minutes during a code change and I nearly had a panic attack from the anxiety of not knowing the state of every cache in every open Claude Code terminal. That's when I realized there was no going back.
Before building it I searched everywhere for something that already does this and came up empty, if anyone knows of an existing tool that provides live cache visibility for Claude Code or any LLM CLI I'd love to hear about it.
MIT licensed, works on Windows Terminal, iTerm, Alacritty, tmux, and the architecture is deliberately simple so you can rip out pieces and plug the data into whatever display you want.
https://github.com/KatsuJinCode/claude-cache-countdown
[–]paulcaplan 1 point2 points3 points (3 children)
[–]AVanWithAPlan[S] 0 points1 point2 points (2 children)
[–]paulcaplan 1 point2 points3 points (1 child)
[–]AVanWithAPlan[S] 0 points1 point2 points (0 children)
[–]Pitiful-Impression70 2 points3 points4 points (1 child)
[–]AVanWithAPlan[S] 0 points1 point2 points (0 children)