cache-keeper
by Chris Vaillancourt · ★ 0 · updated 6 days ago
0
Keeps an idle session's prompt cache warm with a cache-served fork just before the TTL lapses, within limits you set.
Install
/plugin marketplace add chrisvaillancourt/claude-cache-keeper/plugin install cache-keeper@cache-keeperThen 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.startturn.startturn.stepturn.completesession.compactclassic.PostModelSwitchcommand.run- API calls
$.clock.after$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.fs.write$.model.fork$.session.id$.session.model$.session.usage$.session.version$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.status$.ui.toast- Can see
compactionclassic hooks- Reach
- level 2 of 3 other: $.state.getother: $.state.setwrites filesdrives Claudereads filesreads 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/chrisvaillancourt/claude-cache-keeper
- Path in repo
- repository root
- Source commit
1be3c1athe exact code the scan read- Author
- Chris Vaillancourt @chrisvaillancourt
- 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.