cache-keeper
by Sergei Tarassov · ★ 1 · updated 8 days ago
0
Keeps the prompt cache of an idle Claude Code session warm, only while someone is plausibly coming back. Pure hooks: no proxy, no MCP server, no dependencies.
Install
/plugin marketplace add cainrus/claude-cache-keeper/plugin install cache-keeper@claude-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.completeturn.startturn.steptool.callsession.compact- API calls
$.clock.after$.clock.every$.clock.now$.clock.sleep$.env.get$.fs.read$.model.fork$.process.run$.prompt.submit$.session.compact$.session.id$.ui.status- Can see
AskUserQuestion callscompaction- Reach
- level 2 of 3 runs processesdrives Claudereads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/cainrus/claude-cache-keeper
- Path in repo
- repository root
- Source commit
cf99350the exact code the scan read- Author
- Sergei Tarassov @cainrus
- License
- Apache-2.0
- 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.