UsageAppears in · Status line / BackgroundAdded

Cache Warmer

Keeps an idle session's prompt cache warm with silent pings, then compacts large sessions once while still warm.

Cache Warmer · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
❯
⚠ cache-warmer: warm · 3 pings · next 16:16 · 225k
⚠ cache-warmer: compacted · 02:40 · 225k → 30k while warm
/warm · /warm off · /warm now (illustrative)

Illustration. Actual results depend on the mod, terminal and environment.

Install

Installation is unusual; follow the original author’s instructions

Read the author’s instructions ↗

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Reads session context size and plugin settings to decide whether to ping or compact.

Writes files

Yes

Writes daily budget and global off state into Claude Code's mod store.

Runs commands

None

Network

Yes

Sends silent keep-alive via $.model.fork and may call $.session.compact; these are model requests.

Introduction

Cache Warmer is a Claude Code function-hooks mod that, while a large session is idle, sends silent fork requests that stay out of the transcript to refresh the prompt cache; when the warm window ends, sessions above a size threshold are compacted once while the cache is still warm.

  • Defaults: ping only above ~100k tokens; about every 50 minutes; stop after ~10 idle hours; compact once above ~500k when the window ends; shared daily keep-alive budget across sessions.
  • Commands: /warm status, /warm off|on (optional all), /warm now.
  • Cost: the author says keep-alive is not free; long absences can cancel savings—check /warm spend.

Install with npx degit …/cache-warmer ~/.claude/skills/cache-warmer (not listed in the repo root marketplace). Needs Claude Code 2.1.287+. Different repo from Cache Control on this site. Preview is illustrative.

Who it is for

  • People with long idle sessions who want fewer cold full-context resends

Requirements

  • Claude Code ≥ 2.1.287
  • Install into ~/.claude/skills/cache-warmer via degit/clone; not in the root marketplace.
  • Keep-alive spends quota; check /warm for real cost.