cache-keepalive
by Benjamin Feder · ★ 3 · updated 10 days ago
0
Keeps an idle session's prompt cache warm with a short prompt 2 min before it expires; capped per model, the last one a handoff
Install
/plugin marketplace add federbenjamin/cache-keepalive/plugin install cache-keepalive@cache-keepaliveThen 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.startcommand.runprompt.submitturn.startturn.stepturn.completesession.end- API calls
$.clock.every$.clock.now$.command.register$.env.get$.process.run$.prompt.submit$.state.get$.state.set$.ui.status- Can see
every prompt- Reach
- level 2 of 3 runs processesdrives Claudereads env varsreads mod 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/federbenjamin/cache-keepalive
- Path in repo
- repository root
- Source commit
4d47dabthe exact code the scan read- Author
- Benjamin Feder @federbenjamin
- 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.