cache-keeper

by bStyler · ★ 0 · updated 16 days ago

PanesBandsReskinsGuardsCommandsPromptvalidates

0

Keeps a big chat's prompt cache warm, warns before an expensive cold restart, shows every local chat on one board (/board), and hands a chat off to a fresh one (/handoff). Based on Nate Herk's cache-keeper (MIT).

install cache-keeper

Install

/plugin marketplace add bStyler/claude-mods
/plugin install cache-keeper@claude-super-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.startclassic.SessionStartsession.endprompt.submitturn.startturn.stepturn.completesession.compactsession.measuretool.checktool.callcommand.runui.closeui.render
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.clock.sleep$.command.list$.command.register$.command.run$.env.get$.fs.exists$.fs.read$.fs.write$.model.fork$.prompt.fill$.prompt.submit$.session.compact$.session.cwd$.session.id$.session.model$.session.surface$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.invalidate$.ui.open$.ui.resolve$.ui.toast
Draws
AbovePromptPaneSessionMode
Can see
classic hooksevery promptcompactionevery tool call
Reach
level 2 of 3 writes filesdrives Claudewrites the prompt boxreads filesreads env varspersists 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/bStyler/claude-mods
Path in repo
cache-keeper
Source commit
b5b64a2 the exact code the scan read
Author
@bStyler
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.

More from bStyler/claude-mods

goal-meter

bStyler/claude-mods

A progress bar for /goal built from Claude's own task plan: tasks done out of the plan, elapsed time, an ETA at the goal's own pace, and every chat's goal in /goals. Fork of Nate Herk's goal-meter (MIT).

★ 0PanesBandsReskins

lean-explore

bStyler/claude-mods

Replaces the built-in Explore subagent with a lean one on Haiku (Read/Grep/Glob only, short answers) and counts what it actually did: searches, reads, tokens delegated to Haiku, file text kept out of the main chat. /lean-explore on|off|stats|rescan.

★ 0BandsReskinsGuards

memory-guard

bStyler/claude-mods

Spots sessions worth remembering, nudges once to run /memorize, and queues the ones that ended without it for the next session. Files into your wiki if you have one, else Claude Code's own auto-memory.

★ 0BandsReskinsGuards

mods-bar

bStyler/claude-mods

One shared row above the prompt where the Copy chat, TL;DR, Explore and Memory guard parts sit side by side

★ 0Bands

tldr

bStyler/claude-mods

Highlights in yellow the few paragraphs of a long reply worth reading, says the reply in one sentence, and puts an on/off button above the prompt

★ 0BandsReskins

Other mods in Panes, close to this one by stars.