claudemods

All Claude Code modsmako-code/gobworks

cache-guard

A Claude Code mod in mako-code/gobworks

Asks before /model, /output-style, /fast, /effort, MCP or plugin changes and /config rows that would throw away a warm prompt cache, with the cost of rewriting it; names the rebuilds it could not prevent.

In its last recorded footprint, cache-guard reaches L1 (reads) by its classified calls and passed claude plugin validate on Claude Code 2.1.296.

Install hint

/plugin install cache-guard --marketplace mako-code/gobworks

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. The latest scan could not confirm this mod, so the command may be out of date.

Access

L1 Reads filesother: $.state.get, other: $.state.set, other: $.tool.list, reads env vars, persists state, draws

Validation

not verified

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks, compaction
Hooks
session.start {cwd=/"(?:)"/}, state.set {plugin=mod-manager, key=host}, ui.render {component=AbovePrompt}, ui.render {component=PromptHint}, ui.render {component=SessionMode}, session.start, classic.PreModelSwitch, classic.PostModelSwitch, command.run {command=output-style|fast|effort|mcp|plugin|reload-plugins}, config.set {key=outputStyle|language|thinking}, turn.start, turn.complete, turn.step, session.compact, session.end, command.run {command=cacheguard}, ui.render {component=AbovePrompt}, ui.render {component=Pane, requestId=cache-guard}
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.env.get, $.session.surfaces, $.state.get, $.state.set, $.store.get, $.store.set, $.tool.list, $.ui.ask, $.ui.close, $.ui.invalidate, $.ui.log, $.ui.open, $.ui.panes, $.ui.resolve, $.ui.status, $.ui.toast
Validation on 2.1.296
not verified
Last known result
Passed on 2.1.296
Validator output
Repository could not be scanned; showing the last known footprint.
Scanned revision
ec6ea2383749
Marketplace passed
gobworks

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.

More from mako-code/gobworks

See all 118 mods from mako-code/gobworks

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