cache-keeper

cache-keeper is a Claude Code mod by oioi555 that context, quota and prompt-cache meters above the prompt; while the session is idle on a 1-hour cache, keeps it alive and compacts before it lapses, holding off system sleep meanwhile.

Updated 2026-10-14

What is cache-keeper?

cache-keeper is a Claude Code mod by oioi555 that context, quota and prompt-cache meters above the prompt; while the session is idle on a 1-hour cache, keeps it alive and compacts before it lapses, holding off system sleep meanwhile. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authoroioi555
Repositoryoioi555/claude-code-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (60/100)
Rank#4,194 of 5,272 Claude Code mods; #802 in Cost & usage
LicenseMIT
Last commit2026-10-14
Hooks10 events
Seescompaction, every prompt
Draws onAbovePrompt, Pane

Is cache-keeper safe to install?

cache-keeper scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 4 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 processes outside the sandboxReview
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
$.model.forkdrives Claude
$.process.runruns processes
$.process.spawn
$.session.compactdrives Claude
$.session.model
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.closedraws 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/oioi555/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 oioi555/claude-code-mods && claude plugin install cache-keeper@oioi555

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/oioi555/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.