Claude Code mod
keepalive
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-toolsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L3Network: network, runs processes, sets env vars, changes config, drives Claude, reads env vars, reads settings, requests an Anthropic credential handle, persists state, draws
- Sees
- classic hooks, compaction
- Draws in
AbovePromptPane- Hooks
classic.SessionStartclassic.SubagentStartclassic.PostToolUseclassic.Stopclassic.SubagentStopsession.startturn.stepui.rendersession.compactsession.endcommand.runui.close
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- alexandernicholson/agent-router
- Folder
keepalive- Marketplace
agent-router-tools- Author
- Alexander Nicholson
- License
- MIT
- Last updated
- 21 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is keepalive?
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. It is a mod for Claude Code, from alexandernicholson/agent-router on GitHub.
What can the keepalive mod access?
Its widest reach is "network" (network, runs processes, sets env vars, changes config, drives Claude, reads env vars, reads settings, requests an Anthropic credential handle, persists state, draws). It sees classic hooks, compaction. It draws in AbovePrompt, Pane. Like any mod, it runs with your permissions.
How do I install keepalive?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add alexandernicholson/agent-router and then /plugin install keepalive@agent-router-tools.
Is keepalive popular?
alexandernicholson/agent-router has 11 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 21 October 2026.
More context & usage mods
budget-guard
11Arunjay4213/claude-mods
Stops a session before it runs past a budget. Three figures are guarded, each with a limit you set: the session cost in dollars, the 5-hour plan window and the 7-day plan window. It says nothing until a figure nears its limit, then pins a status line and warns once; past the limit it refuses tool calls and asks before sending another prompt. /guard shows the state and changes the limits.
limits-meter
11ice-lfernandes/claude-code-mods
Plan limits, cache clock and context above the prompt: model and effort, 5-hour and weekly windows with reset times, a countdown of the prompt cache with an opt-in keep-warm that spends plan, context split by group (system, MCP, messages), tokens per turn, and a toast on a costly model switch near the limit
agent-router
11alexandernicholson/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.
quota-meter
11Arunjay4213/claude-mods
Shows the subscription plan limits - the 5-hour window, the 7-day window and a gateway spend limit - as a pinned status line under the prompt, with a reset countdown and a projection of when you would hit 100% at the pace of the last few samples. /quota opens a pane with a bar, the reset clock time and the burn rate for each window.
leaks
12davekiss/mods
Find where your Claude Code week went and fix it: /leaks ranks the avoidable spend in your transcripts with one-press fixes, and a strip above the prompt flags a leak while it happens.
cache-refresher
10olddonkey/cache-refresher
Shows when your prompt cache expires and what rebuilding it would cost. Optional auto-refresh, off by default, keeps it active while you are away and uses a little plan usage or API credit.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.