keepalive

by Alexander Nicholson · ★ 2 · updated today

PanesBandsCommandsvalidates

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 keepalive

Install

/plugin marketplace add alexandernicholson/agent-router
/plugin install keepalive@agent-router-tools

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
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
a9bb40b the 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.

More from alexandernicholson/agent-router

agent-router

alexandernicholson/agent-router

Choose a model and effort for five agent roles and for agent team teammates with /agent-models, and inspect routing and usage. Requires Claude Code Mod function hooks enabled.

★ 2PanesBandsStatus line