Cache Guard

Prevents prompt-cache thrash and runaway token burn in long or image-heavy agent sessions. Load BEFORE reading images/screenshots (visual QA, render checks, UI verification, diagram review) in a conversation that already has substantial history, when running long agentic loops with periodic wake-ups, or when the user asks why token usage / rate limits burn unusually fast. Teaches batched image reads, delegating vision work to isolated-context subagents, write-once notes instead of re-reading, and keeping large tool outputs out of context. Includes an audit script to measure a session's cache write/read ratio.

0x0funky 8517447 4 files · 10.6 KB Updated

File contents

0x0funky/claude-cache-guard/tree/main/ commit 851744745b

Frequently asked questions

npx skillmds@latest add 0x0funky/cache-guard