cache-countdown
by Omid Sayfun · ★ 0 · updated 2 days ago
0
A fuse above the prompt that burns down with the prompt cache, with context and rate limit meters and buttons to keep the cache warm or compact
Install
git clone https://github.com/iamomiid/cache-countdownclaude --plugin-dir ./cache-countdownThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.measureclassic.UserPromptSubmitclassic.Stopclassic.SessionStartclassic.PostModelSwitchturn.stepcommand.runui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.fs.read$.model.fork$.process.run$.session.usage$.state.get$.state.set$.ui.invalidate$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
classic hooks- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processesdrives Claudereads filesdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/iamomiid/cache-countdown
- Path in repo
- repository root
- Source commit
34302bethe exact code the scan read- Author
- Omid Sayfun @iamomiid
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.