cache-keeper
by sorajate · ★ 0 · updated 3 days ago
0
Shows when the prompt cache lapses, keeps it warm with a few pings while idle, then compacts once and waits
Install
/plugin marketplace add sorajate/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.startprompt.submitturn.startturn.completeclassic.Stopsession.compactui.rendercommand.run- API calls
$.agent.list$.clock.every$.clock.now$.command.register$.env.get$.fs.read$.fs.stat$.model.fork$.process.run$.prompt.read$.session.compact$.session.id$.session.root$.state.get$.state.set$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePrompt- Can see
every promptclassic hookscompaction- Reach
- level 2 of 3 other: $.prompt.readother: $.state.getother: $.state.setruns 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/sorajate/claude-cache-keeper
- Path in repo
plugins/cache-keeper- Author
- @sorajate
- 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.