cache-warm

by mustafa89 · ★ 0 · updated yesterday

CommandsPromptAutomationwarnings

0

Keeps the prompt cache warm on idle chats with a capped fork ping, and tracks cache hits and misses

install cache-warm

Install

git clone https://github.com/mustafa89/my-claude-code-mods
claude --plugin-dir ./my-claude-code-mods/cache-warm

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startcommand.runprompt.submitturn.stepturn.completesession.compact
API calls
$.clock.every$.clock.now$.command.register$.model.fork$.session.usage$.state.get$.state.set
Can see
every promptcompaction
Reach
level 2 of 3 other: $.state.getother: $.state.setdrives Claude

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/mustafa89/my-claude-code-mods
Path in repo
cache-warm
Source commit
5650833 the exact code the scan read
Author
@mustafa89
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 mustafa89/my-claude-code-mods

image-peek

mustafa89/my-claude-code-mods

Previews pasted images in colour: above the prompt while drafting, and under the message in the transcript

★ 0BandsReskinsPrompt

slick-bar

mustafa89/my-claude-code-mods

One-line session bar above the prompt: model, effort, repo, branch, context gauge, prompt cache health, rate limits, cost

★ 0ReskinsGuardsPrompt

tool-cards

mustafa89/my-claude-code-mods

Draws tool calls as boxed cards: header, highlighted command, output preview, timing footer

★ 0ReskinsGuardsCommands

week-calendar

mustafa89/my-claude-code-mods

/week: weekly calendar of Claude Code and Codex sessions, with commits, no-commit sessions, hours per project and a 3-line report

★ 0Status lineCommands