cache-keeper

by Brennen Barney · ★ 0 · updated 23 days ago

PanesBandsStatus lineCommandsPromptwarnings

0

Keeps an idle session's prompt cache warm for as long as you choose, then compacts or hands off before it expires; holds a costly cold send with its price and your choices; /keepwarm opens a pane with the session's settings

install cache-keeper

Install

/plugin marketplace add bbarney7/claude-code-mods
/plugin install cache-keeper@claude-code-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.endturn.startturn.stepturn.completesession.compactprompt.submitcommand.runui.render
API calls
$.clock.every$.clock.now$.command.register$.command.run$.model.fork$.prompt.fill$.prompt.read$.prompt.submit$.session.append$.session.compact$.session.model$.session.surfaces$.session.usage$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status
Draws
AbovePromptPane
Can see
classic hookscompactionevery prompt
Reach
level 2 of 3 drives Claudewrites the prompt boxreads the prompt boxdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/bbarney7/claude-code-mods
Path in repo
plugins/cache-keeper
Source commit
490361c the exact code the scan read
Author
Brennen Barney @bbarney7
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 bbarney7/claude-code-mods

ctx-control

bbarney7/claude-code-mods

See and control the skills, tools, files, and other context sent with every message

★ 0PanesStatus lineGuards

effort-router

bbarney7/claude-code-mods

Sets the effort of each main-conversation turn from how demanding its prompt is, rated by Jev (through OpenRouter or TypeSafe) with Haiku as the fallback

★ 0PanesStatus lineCommands

mod-firewall

bbarney7/claude-code-mods

A firewall for Claude Code mods: watches what every other mod does (network, processes, secret files, env vars) and asks, blocks or logs

★ 0PanesStatus lineCommands

room

bbarney7/claude-code-mods

Codex, Cursor and a second Claude inside Claude Code: an agent room (one chat, @mentions, handoffs) plus one-shot reviews and delegation

★ 0PanesGuardsCommands

switchboard

bbarney7/claude-code-mods

See and message your other Claude Code and Codex sessions: who is working on what, direct messages, broadcast, handoffs, an inbox that holds incoming messages for approval, and live warnings when another session edited the same file

★ 0PanesGuardsCommands