bun-warmer
by Eugenia Wang · ★ 0 · updated 22 days ago
0
Keeps the prompt cache warm with a periodic ping for sessions with a large context, counts subagent work as activity, never blocks a prompt a human did not type, flags silent subagents, and writes an informational state file. Inspired by cache-tax by Karan Bansal (MIT).
Install
git clone https://github.com/eugeniawang/bun-warmerclaude --plugin-dir ./bun-warmerThen 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.startsession.endsession.compactcommand.runprompt.submitturn.startturn.stepturn.completetool.call- API calls
$.agent.list$.clock.after$.clock.now$.command.register$.env.get$.fs.list$.fs.read$.fs.stat$.fs.write$.model.fork$.process.run$.prompt.submit$.session.authorize$.session.id$.session.model$.session.usage$.settings.read$.ui.log$.ui.status- Can see
compactionevery promptevery tool call- Reach
- level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads settingsrequests an Anthropic credential handledraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/eugeniawang/bun-warmer
- Path in repo
- repository root
- Source commit
239eeb1the exact code the scan read- Author
- Eugenia Wang @eugeniawang
- 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.