Claude Code mod

cachekeeper

Compacts an idle Claude Code session while its prompt cache is warm, with an AFK mode, a handoff note, and a cache TTL countdown in the status line and above the prompt.

Context & usage mods Plugin marketplaceValidates on Claude Code 2.1.316 Source

Install

Inside Claude Code
/plugin marketplace add the-cybersapien/claude-cache
/plugin install cachekeeper@claude-cache

Mods install like plugins. Run /reload-plugins or start a new session to load it.

What it can access

Reach
L2Writes or runs: runs processes, drives Claude, reads env vars, reads settings, reads mod state, persists state, draws
Sees
compaction, classic hooks, every prompt, mcp__cachekeeper__afk calls
Draws in
AbovePrompt
Hooks
session.startsession.compactturn.startturn.stepturn.completeclassic.Stopclassic.PreModelSwitchprompt.submittool.callui.rendercommand.run

From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.

How Claude Code mods work

  • A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
  • It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
  • Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
  • Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Claude Code docs

Details

Folder
.
Marketplace
claude-cache
Author
Aditya Aggarwal
License
Apache-2.0
Last updated
24 October 2026

FAQ

What is cachekeeper?

Compacts an idle Claude Code session while its prompt cache is warm, with an AFK mode, a handoff note, and a cache TTL countdown in the status line and above the prompt. It is a mod for Claude Code, from the-cybersapien/claude-cache on GitHub.

What can the cachekeeper mod access?

Its widest reach is "writes or runs" (runs processes, drives Claude, reads env vars, reads settings, reads mod state, persists state, draws). It sees compaction, classic hooks, every prompt, mcp__cachekeeper__afk calls. It draws in AbovePrompt. Like any mod, it runs with your permissions.

How do I install cachekeeper?

Inside Claude Code (v2.1.287 or later), run /plugin marketplace add the-cybersapien/claude-cache and then /plugin install cachekeeper@claude-cache.

More context & usage mods

cache-weather

vmurin/cache-weather

Prompt-cache countdown, cache hit rate, context weather and weekly limit in the permission-mode line under the prompt (not the status line).

Context & usage mods/plugin install

campfire-hud

aryswisnu/campfire-hud

A live HUD for Claude Code: context, spend, usage limits and repo status in RPG gauges, and your subagents as a fantasy party around a campfire.

Context & usage mods/plugin install

cache-watch

paweechinagarn/claude-code-mods

Shows prompt-cache hit rate and time to expiry, and offers the cheapest way to carry on before the cache lapses.

Context & usage mods/plugin install

cash-tax

kevinfactor/claude-kit

Warns before an idle session's prompt cache expires and the next message re-reads the whole conversation at full price, with the token count and cost. /keepwarm pings the cache to keep it alive.

Context & usage mods/plugin install

cache-watch

Gersom/claude-mod-cache-watch

Franja sobre el prompt que dice si el caché de prompts de la sesión está caliente o frío, con cuenta regresiva hasta que se enfríe.

Context & usage mods/plugin install

castle-hud

eddywong888/claude-castle-mod

A Castlevania-style HUD above the prompt in the Claude Code desktop app. It shows how full the context is (a blood meter), your 5-hour and weekly limits (moons), how long the prompt cache stays warm (a stopwatch), what this session and the 5-hour window cost, how long the session has run, the last turn, lines changed and running subagents (bats). A pixel castle grows bolder as the context fills and catches fire as the prompt cache runs down. You earn XP, levels, daily streaks and 14 achievements as you work; type /castle to see them. Everything stays on your machine.

Context & usage mods/plugin install

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.