cache-keeper

by etding · ★ 0 · updated 2 days ago

PanesBandsStatus lineCommandswarnings

0

Prompt-cache countdown, cost to re-warm, usage limits, cold-cache warnings and one-click handoff → clear & continue.

install cache-keeper

Install

git clone https://github.com/etding/cache-keeper
claude --plugin-dir ./cache-keeper/cache-keeper

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startcommand.runturn.startturn.completesession.compactsession.endui.render
API calls
$.clock.after$.clock.every$.clock.now$.command.list$.command.register$.command.run$.prompt.submit$.session.compact$.session.model$.session.usage$.state.get$.state.set$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
PaneAbovePrompt
Can see
compaction
Reach
level 2 of 3 other: $.state.getother: $.state.setdrives Claudedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/etding/cache-keeper
Path in repo
cache-keeper
Author
@etding
License
MIT
First published
Last pushed
First listed here
On X
Mentioned in 1 post on X

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.

Posts about this repo

Ethan Dinh@dinh_ethan

Step-by-step guide for non-developers, the full prompt, settings and fixes: https://github.com/etding/cache-keeper Credit to @nateherk for the idea 🙏 Watch his video on 5 Claude Code mods: https://www.youtube.com/watch?v=9hetShMMp2s