cache-alert

by candiesdoodle · ★ 0 · updated 9 days ago

PanesBandsStatus lineCommandsvalidates

0

Warns before this session's prompt cache expires (a countdown band above the prompt, a toast, desktop and Telegram alerts), and can keep the cache warm, compact or clear the session.

install cache-alert

Install

/plugin marketplace add candiesdoodle/cache-alert-mod
/plugin install cache-alert@cache-alert

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startclassic.SessionStartturn.startturn.completesession.compactsession.endcommand.runui.render
API calls
$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.config.list$.http.fetch$.prompt.submit$.session.cwd$.session.id$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.log$.ui.notify$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePromptPane
Can see
classic hookscompaction
Reach
level 3 of 3 networkdrives Claudereads settingsreads 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/candiesdoodle/cache-alert-mod
Path in repo
repository root
Source commit
7492ba1 the exact code the scan read
Author
@candiesdoodle
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.