What is cache-keep-warm?
cache-keep-warm is a Claude Code mod by andreichiritescu that shows how long your session's prompt cache stays warm, and can keep it warm in the background while you are away. It is listed under Cost & usage and has 6 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | andreichiritescu |
| Repository | andreichiritescu/claude-code-cache-keep-warm |
| Popularity | 6 GitHub stars |
| Category | Cost & usage |
| Security | Low risk (84/100) |
| Rank | #609 of 5,272 Claude Code mods; #114 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-08 |
| Stars this week | +2 |
| Hooks | 8 events |
| Sees | AskUserQuestion calls, classic hooks, compaction |
| Draws on | AbovePrompt |
Is cache-keep-warm safe to install?
cache-keep-warm scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.model.fork | drives Claude |
$.prompt.submit | drives Claude |
$.session.id | |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.tool.call | drives Claude |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install cache-keep-warm?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/andreichiritescu/claude-code-cache-keep-warm claude plugin validate ./claude-code-cache-keep-warm/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add andreichiritescu/claude-code-cache-keep-warm && claude plugin install cache-keep-warm@cache-keep-warm
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-keep-warm for you:
Install the "cache-keep-warm" Claude Code mod from https://github.com/andreichiritescu/claude-code-cache-keep-warm. Run claude plugin validate on it first and show me what it can access before you enable it.