cold-cache
by Mark Shaw · ★ 0 · updated 11 days ago
0
Warns above the prompt when a conversation's prompt cache has gone cold, and offers a Haiku-written handoff or compaction instead of an expensive uncached re-read.
Install
/plugin marketplace add mrkshw/cold-cache/plugin install cold-cache@cold-cacheThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startprompt.submitturn.completesession.compactui.render- API calls
$.clock.every$.clock.now$.command.run$.env.get$.fs.write$.model.complete$.prompt.fill$.session.id$.session.messages$.session.turns$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.copy$.ui.resolve- Draws
AbovePrompt- Can see
every promptcompaction- Reach
- level 2 of 3 writes filesdrives Claudewrites the prompt boxwrites the clipboardreads env varsreads the transcriptreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/mrkshw/cold-cache
- Path in repo
- repository root
- Source commit
a109ba2the exact code the scan read- Author
- Mark Shaw @mrkshw
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.