baton 0.3.0
Context budget guard and handoff relay: measures real context use per model request, stops subagents that run too long or too big, and hands work over to a fresh session before the main agent drowns.
Install
/plugin marketplace add hal-9/claude-mods /plugin install baton@hal-9
Run both lines inside Claude Code.
Hooks into
- Prompt
- Status line
- Tool calls
- Toasts
- Slash commands
- Model tools
Also in hal-9/claude-mods
- relay 0.1.5 Role buttons above the prompt: check or adversarially review the working tree with Codex, hand a task over to Codex, or verify with a second Claude model. A pane streams the run and turns findings into fix prompts. 0
- cache-tax 2.3.0 A Claude Code mod that keeps the one-hour prompt cache warm during breaks and stops a cold send once with its estimated rewrite cost. Warming uses model requests and costs tokens. Requires Claude Code 2.1.287+. 0
- mod-switch 0.3.1 A mods button in the prompt footer opens a popover of every installed mod with switches that enable or disable them at user scope. 0
- cache-meter 0.1.1 Band above the prompt: prompt-cache countdown, cache hit rate of the last request, context fill against auto-compact, and a Compact button. 0
More guardrails mods
- blast-radius 0.1.0 See what a risky command would change before it runs. 289.8k
- agents-md 0.1.0 AGENTS.md as project instructions, by one option. Under claude-md-or-agents-md a project with no instruction files of its own gets its AGENTS.md files instead: a prompt.context hook asks $.fs.ancestors for every AGENTS.md and .claude/AGENTS.md from the filesystem root down to the working director... 157.8k
- claude-mem 15.12.1 mod + skill Persistent memory for AI coding agents: the next session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and more. 114.9k
- ruflo-rvf 0.3.8 mod + skill RVF format for portable agent memory, session persistence, and cross-platform transfer. As a mod (ADR-445): a write guard that keeps secrets out of memory, sessions and transfers, /rvf-mod, and a status file the console shows 82.8k
- openviking-memory 0.7.32 mod + skill Long-term semantic memory for Claude Code, powered by OpenViking. Auto-recall relevant memories at session start and capture important information during conversations. 43.1k