cache-timer

by rmkr · ★ 0 · updated 5 days ago

BandsCommandsvalidates

0

Prompt cache countdown with compact, keep warm, and an automatic action before it expires

install cache-timer

Install

/plugin marketplace add rmkr/claude-mods
/plugin install cache-timer@claude-mods

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.startcommand.runturn.startturn.stepturn.completesession.compactui.pressui.render
API calls
$.agent.list$.clock.every$.clock.now$.command.register$.command.run$.config.list$.config.set$.model.fork$.session.compact$.session.id$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
compaction
Reach
level 2 of 3 other: $.state.getother: $.state.setchanges configdrives Claudepersists 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/rmkr/claude-mods
Path in repo
cache-timer
Source commit
f3c0664 the exact code the scan read
Author
@rmkr
License
No license declared — ask the author before reusing code.
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.