claudemods

All Claude Code modskamilbakierzynski/cache-guard

cache-guard

A Claude Code mod in kamilbakierzynski/cache-guard

Counts down to prompt-cache expiry and, just before it, keeps the cache warm with a ping or compacts the conversation, so a long context is not re-written at full price.

cache-guard reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install cache-guard --marketplace kamilbakierzynski/cache-guard

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 runsruns processes, drives Claude, reads env vars, reads settings, reads mod state, persists state, draws

Validation

Passed

Listed under Prompt cache mods for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call, compaction, classic hooks
Hooks
session.start, command.run {command=cache-guard}, turn.start, turn.complete, turn.step, tool.call, session.compact, classic.PreCompact, classic.PreModelSwitch, ui.render {component=AbovePrompt}, ui.render {component=Pane, requestId=cache-guard-settings}
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.env.get, $.model.fork, $.process.run, $.session.compact, $.session.usage, $.settings.read, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.set, $.ui.close, $.ui.log, $.ui.notify, $.ui.open, $.ui.resolve, $.ui.status, $.ui.toast
Validation
Passed
Scanned revision
79d9bc3ad519
Marketplace passed
cache-guard

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. What a mod can access and how the scan works.

Badge for your README

Reach badge for cache-guard Validation badge for cache-guard

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/kamilbakierzynski--cache-guard--cache-guard-reach.svg)](https://mods.aidojo.si/mods/kamilbakierzynski--cache-guard--cache-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/kamilbakierzynski--cache-guard--cache-guard-validates.svg)](https://mods.aidojo.si/mods/kamilbakierzynski--cache-guard--cache-guard/)