claudecodemods.dev

All mods / agulhas-labs/claude-plugins

cache-guard

CAUTION

★ 0 by Agulhas Labs Repository ↗ Mod source ↗

Safety & guards Context & compaction Terminal UI

Description

Warns once before a message that will cost far more than usual: a large Claude Code context whose prompt cache has expired, or a model or effort change that resets it. Shows the estimated cost, and offers a handoff file written by a cheap model in the background so you can /clear instead.

What it can do

Reach level 2 — writes or runs What does this mean? →

runs processeswrites the prompt boxreads filespersists statedraws

Can see: classic hooks · every tool call · every prompt

Raw API calls (14) +
  • $.clock.after
  • $.clock.every
  • $.clock.now
  • $.fs.read
  • $.process.run
  • $.prompt.fill
  • $.session.cwd
  • $.session.id
  • $.session.usage
  • $.store.get
  • $.store.set
  • $.ui.invalidate
  • $.ui.resolve
  • $.ui.toast

Static check passed on Claude Code 2.1.295.

Install

$/plugin marketplace add agulhas-labs/claude-plugins
$/plugin install cache-guard

Check the repo for the exact name.

Details

Repository
agulhas-labs/claude-plugins
Path in repo
plugins/cache-guard
License
Apache-2.0
Last updated
Oct 9, 2026
First seen
Oct 10, 2026
Last scanned
Oct 10, 2026

Related mods — reach level 2

Capability data is machine-generated by static analysis and may be incomplete. A SAFE badge is not a guarantee — read the code before installing anything with broad access. Not affiliated with Anthropic.

Found a mistake in this listing or verdict? Report an issue →