cache-keeper
by Nate Herk · ★ 7 · updated 3 days ago
Keeps a big chat's prompt cache warm, warns before an expensive cold restart, shows every local chat on one board (/board), and hands a chat off to a fresh one (/handoff)
Install
/plugin marketplace add nateherkai/claude-code-mods/plugin install cache-keeper@nateherk-modsThen 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.startclassic.SessionStartsession.endprompt.submitturn.startturn.stepturn.completesession.compactsession.measuretool.checktool.callcommand.runui.closeui.render- API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.list$.command.register$.command.run$.env.get$.fs.exists$.fs.read$.fs.write$.model.fork$.prompt.fill$.prompt.submit$.session.compact$.session.cwd$.session.id$.session.model$.session.surface$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.invalidate$.ui.open$.ui.resolve$.ui.toast- Draws
AbovePromptPaneSessionMode- Can see
classic hooksevery promptcompactionevery tool call- Reach
- level 2 of 3 writes filesdrives Claudewrites the prompt boxreads 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/nateherkai/claude-code-mods
- Path in repo
cache-keeper- Author
- Nate Herk @nateherkai
- 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.
More from nateherkai/claude-code-mods
collision-guard
nateherkai/claude-code-mods
Asks before Claude edits a file another open chat changed in the last 30 minutes: Proceed, Move to a worktree, or Cancel (/guard)
goal-meter
nateherkai/claude-code-mods
A progress bar for /goal built from Claude's own task plan: tasks done out of the plan, elapsed time, an ETA at the goal's own pace, and every chat's goal in /goals
recording-mode
nateherkai/claude-code-mods
/rec before you record: masks keys, personal details, and business figures on screen and keeps private files closed (/rec strict, /rec off, /rec config)