Home / Claude Code mods / Games / cache-caffeine

cache-caffeine

cache-caffeine is a Claude Code mod by lperezmo that keeps the prompt cache warm while you step away: a short poke before the cache expires, so the next turn reads the cache instead of writing it again. A row above the prompt turns it on and.

Updated 2026-10-16

What is cache-caffeine?

cache-caffeine is a Claude Code mod by lperezmo that keeps the prompt cache warm while you step away: a short poke before the cache expires, so the next turn reads the cache instead of writing it again. A row above the prompt turns it on and. It is listed under Games and has no public popularity data yet.

TypeClaude code mod
Authorlperezmo
Repositorylperezmo/cache-caffeine
Popularityno public popularity data yet
CategoryGames
SecurityReview before installing (72/100)
Rank#3,829 of 5,272 Claude Code mods; #74 in Games
LicenseMIT
Last commit2026-10-16
Hooks11 events
Seesclassic hooks, compaction, every prompt
Draws onAbovePrompt

Is cache-caffeine safe to install?

cache-caffeine scores 72/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables; 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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.prompt.submitdrives Claude
$.session.id
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface
$.ui.focusdraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install cache-caffeine?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/lperezmo/cache-caffeine
    claude plugin validate ./cache-caffeine/plugins/cache-caffeine
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add lperezmo/cache-caffeine && claude plugin install cache-caffeine@cache-caffeine

Or ask Claude to set it up

Paste this into Claude Code and it installs cache-caffeine for you:

Install the "cache-caffeine" Claude Code mod from https://github.com/lperezmo/cache-caffeine/tree/main/plugins/cache-caffeine. Run claude plugin validate on it first and show me what it can access before you enable it.