keepalive
by Alexander Nicholson · ★ 2 · updated today
0
A prompt cache bar for every conversation, subagent and teammate, a dashboard with /keepalive, per-conversation cache TTLs, and upkeep that keeps an idle cache warm or compacts it before it expires. Requires Claude Code Mod function hooks enabled.
Install
/plugin marketplace add alexandernicholson/agent-router/plugin install keepalive@agent-router-toolsThen 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
classic.SessionStartclassic.SubagentStartclassic.PostToolUseclassic.Stopclassic.SubagentStopsession.startturn.stepui.rendersession.compactsession.endcommand.runui.close- API calls
$.agent.list$.clock.every$.clock.now$.command.register$.config.list$.config.set$.env.get$.env.set$.model.fork$.process.run$.session.authorize$.session.compact$.session.id$.settings.read$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve- Draws
AbovePromptPane- Can see
classic hookscompaction- Reach
- level 2 of 3 runs processessets env varschanges configdrives Claudereads env varsreads settingsreads the transcriptpersists 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/alexandernicholson/agent-router
- Path in repo
keepalive- Source commit
a9bb40bthe exact code the scan read- Author
- Alexander Nicholson @alexandernicholson
- 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.