cache-caffeine
by Luis Perez Morales · ★ 0 · updated 2 days ago
0
Keeps the prompt cache warm while you step away: a short poke before the cache expires, so the next turn reads the cache instead of writing it again. A row above the prompt turns it on and off and edits the message. Near the usage limit it books Claude a wake right after the reset.
Install
/plugin marketplace add lperezmo/cache-caffeine/plugin install cache-caffeine@cache-caffeineThen 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.StopFailureturn.stepturn.startturn.completeprompt.submitsession.compactsession.endcommand.runui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.prompt.submit$.session.id$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.ask$.ui.focus$.ui.invalidate$.ui.log$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePrompt- Can see
classic hooksevery promptcompaction- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudereads env varspersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/lperezmo/cache-caffeine
- Path in repo
plugins/cache-caffeine- Source commit
30969f7the exact code the scan read- Author
- Luis Perez Morales @lperezmo
- 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.