claudemods

All Claude Code modspauldandurand/claude-mods

cache-keeper

A Claude Code mod in pauldandurand/claude-mods

One-line bar above the prompt with a live prompt-cache countdown, when your 5-hour usage resets, and Compact / Handoff buttons when the cache is about to expire.

cache-keeper reaches L2 (writes or runs) by its classified calls and passed claude plugin validate with warnings on Claude Code 2.1.302.

Install hint

/plugin install cache-keeper --marketplace pauldandurand/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsother: $.state.get, other: $.state.set, drives Claude, writes the prompt box, reads env vars, reads settings, reads the transcript, persists state, draws

Validation

Passed with warnings on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, command.run {command=cache-keeper}, turn.step, turn.complete, session.measure, session.end, ui.render {component=AbovePrompt}
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.command.run, $.env.get, $.prompt.fill, $.prompt.submit, $.session.messages, $.session.usage, $.settings.read, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.resolve, $.ui.toast
Validation on 2.1.302
Passed with warnings
Scanned revision
d3b5f4604b81
Marketplace warnings
claude-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

Badge for your README

Reach badge for cache-keeper Validation badge for cache-keeper

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/pauldandurand--claude-mods--cache-keeper-reach.svg)](https://mods.aidojo.si/mods/pauldandurand--claude-mods--cache-keeper/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/pauldandurand--claude-mods--cache-keeper-validates.svg)](https://mods.aidojo.si/mods/pauldandurand--claude-mods--cache-keeper/)