What is cache-warm?
cache-warm is a Claude Code mod by mustafa89 that keeps the prompt cache warm on idle chats with a capped fork ping, and tracks cache hits and misses. It is listed under Cost & usage and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | mustafa89 |
| Repository | mustafa89/my-claude-code-mods |
| Popularity | 1 GitHub stars |
| Category | Cost & usage |
| Security | Low risk (80/100) |
| Rank | #1,987 of 5,272 Claude Code mods; #352 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-09 |
| Stars this week | +1 |
| Hooks | 6 events |
| Sees | compaction, every prompt |
| Draws on | nothing |
Is cache-warm safe to install?
cache-warm scores 80/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 5 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 |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.model.fork | drives Claude |
$.session.usage | |
$.state.get | |
$.state.set |
How do I install cache-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/mustafa89/my-claude-code-mods claude plugin validate ./my-claude-code-mods/cache-warm
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/mustafa89/my-claude-code-mods && claude --plugin-dir ./my-claude-code-mods/cache-warm
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-warm for you:
Install the "cache-warm" Claude Code mod from https://github.com/mustafa89/my-claude-code-mods/tree/main/cache-warm. Run claude plugin validate on it first and show me what it can access before you enable it.
More from mustafa89/my-claude-code-mods
This repository has 6 Claude Code mods on MCPMods.
- diagram-mod: show_diagram: animated box-and-arrow explainers in the terminal (Low risk)
- image-peek: Previews pasted images in colour: above the prompt while drafting, and under the message in the transcript (Review before installing)
- slick-bar: One-line session bar above the prompt: model, effort, repo, branch, context gauge, prompt cache health, rate limits, cos (Review before installing)
- tool-cards: Draws tool calls as boxed cards: header, highlighted command, output preview, timing footer (Low risk)
- week-calendar: /week: weekly calendar of Claude Code and Codex sessions, with commits, no-commit sessions, hours per project and a 3-li (Review before installing)