cache-warm

by mustafa89 · ★ 1 · updated 8 days ago

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 drives Claudereads mod state

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
2323d55 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

CodeMode

mustafa89/my-claude-code-mods

Code mode for Claude Code: one tool that runs a JavaScript script over Claude's own tools and returns only the answer

★ 1Status lineGuardsTools & agents

diagram-mod

mustafa89/my-claude-code-mods

show_diagram: animated box-and-arrow explainers in the terminal

★ 1PanesReskinsGuards

image-peek

mustafa89/my-claude-code-mods

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

★ 1BandsReskinsPrompt

new-resume

mustafa89/my-claude-code-mods

/new-resume: condense this session's transcript and open a fresh Claude Code that reads it, with no model call in the old session

★ 1CommandsAutomation

secret-mask

mustafa89/my-claude-code-mods

Masks secrets before they reach the model and puts the real values back in tool calls

★ 1PanesStatus lineGuards

session-browser

mustafa89/my-claude-code-mods

Sidebar of every Claude Code session across workspaces, folded per folder, searchable; a click resumes one

★ 1PanesBandsCommands

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

★ 1ReskinsGuardsPrompt

tool-cards

mustafa89/my-claude-code-mods

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

★ 1ReskinsGuardsCommands

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

★ 1Status lineCommands