cache-keepwarm
by mupamuc · ★ 0 · updated 2 days ago
0
Keeps the prompt cache of an idle Claude Code session warm: just before the cache lapses it submits a short service prompt, so your next message reads the context from the cache instead of writing it again. Off by default; /keepwarm on|off|status. Needs function hooks (early access).
Install
git clone https://github.com/mupamuc/cache-keepwarmclaude --plugin-dir ./cache-keepwarmThen 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.startsession.endprompt.submitturn.startturn.stepturn.completecommand.runui.render- API calls
$.clock.every$.command.register$.prompt.submit$.session.id$.store.get$.store.set$.ui.invalidate$.ui.log$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePrompt- Can see
every prompt- Reach
- level 2 of 3 drives Claudepersists 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/mupamuc/cache-keepwarm
- Path in repo
- repository root
- Source commit
791bc72the exact code the scan read- Author
- @mupamuc
- 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.