claudemods

All Claude Code modshal-9/claude-mods

baton

A Claude Code mod in hal-9/claude-mods

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.

baton reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.312.

Install hint

/plugin install baton --marketplace hal-9/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, reads mod state, persists state, draws

Validation

Passed on Claude Code 2.1.312

Listed under Context and usage meters for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
subagent spawns, mcp__baton__handoff calls
Hooks
session.start, turn.start, agent.spawn, turn.step, turn.complete, session.measure, tool.call {tool=mcp__baton__handoff}, command.run {command=baton}, ui.render {component=AbovePrompt}
API calls
$.clock.every, $.clock.now, $.command.register, $.session.append, $.session.cwd, $.session.id, $.session.usage, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.set, $.tool.register, $.ui.resolve, $.ui.status, $.ui.toast
Validation on 2.1.312
Passed
Scanned revision
b1e79aa1f0b1
Marketplace passed
claude-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from hal-9/claude-mods

Badge for your README

Reach badge for baton Validation badge for baton

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hal-9--claude-mods--baton-reach.svg)](https://mods.aidojo.si/mods/hal-9--claude-mods--baton/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hal-9--claude-mods--baton-validates.svg)](https://mods.aidojo.si/mods/hal-9--claude-mods--baton/)