cache-keeper

cache-keeper is a Claude Code mod by bbarney7 that keeps an idle session's prompt cache warm for as long as you choose, then compacts or hands off before it expires; holds a costly cold send with its price and your choices; /keepwarm opens.

Updated 2026-10-29

What is cache-keeper?

cache-keeper is a Claude Code mod by bbarney7 that keeps an idle session's prompt cache warm for as long as you choose, then compacts or hands off before it expires; holds a costly cold send with its price and your choices; /keepwarm opens. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorbbarney7
Repositorybbarney7/claude-code-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (80/100)
Rank#5,095 of 9,397 Claude Code mods; #898 in Cost & usage
LicenseMIT
Last commit2026-10-29
Hooks10 events
Seesclassic hooks, compaction, every prompt
Draws onAbovePrompt, Pane

Is cache-keeper safe to install?

cache-keeper 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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.model.forkdrives Claude
$.prompt.fillwrites the prompt box
$.prompt.read
$.prompt.submitdrives Claude
$.session.append
$.session.compactdrives Claude
$.session.model
$.session.surfaces
$.session.usage
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install cache-keeper?

  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/bbarney7/claude-code-mods
    claude plugin validate ./claude-code-mods/plugins/cache-keeper
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add bbarney7/claude-code-mods && claude plugin install cache-keeper@claude-code-mods

Or ask Claude to set it up

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

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

More from bbarney7/claude-code-mods

This repository has 6 Claude Code mods on MCPMods.

  • ctx-control: See and control the skills, tools, files, and other context sent with every message (Low risk)
  • effort-router: Sets the effort of each main-conversation turn from how demanding its prompt is, rated by Jev (through OpenRouter or Typ (High risk)
  • mod-firewall: A firewall for Claude Code mods: watches what every other mod does (network, processes, secret files, env vars) and asks (Low risk)
  • room: Codex, Cursor and a second Claude inside Claude Code: an agent room (one chat, @mentions, handoffs) plus one-shot review (High risk)
  • switchboard: See and message your other Claude Code and Codex sessions: who is working on what, direct messages, broadcast, handoffs, (Low risk)