What is baton?
baton is a Claude Code mod by joharraza that compacts at the hand-off between tasks (a wrap-up, shipped work, a natural break), never mid-task, with a hand-off summary, and warns when the prompt cache has gone cold. The deck band. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | joharraza |
| Repository | joharraza/claude-deck |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (80/100) |
| Rank | #6,635 of 9,397 Claude Code mods; #1,246 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-16 |
| Hooks | 10 events |
| Sees | classic hooks, compaction, every prompt, every tool call |
| Draws on | nothing |
Is baton safe to install?
baton scores 80/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.model.complete | drives Claude |
$.prompt.fill | writes the prompt box |
$.prompt.submit | drives Claude |
$.session.compact | drives Claude |
$.session.messages | reads the transcript |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.log | draws interface |
$.ui.toast | draws interface |
How do I install baton?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/joharraza/claude-deck claude plugin validate ./claude-deck/plugins/baton
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add joharraza/claude-deck && claude plugin install baton@claude-deck
Or ask Claude to set it up
Paste this into Claude Code and it installs baton for you:
Install the "baton" Claude Code mod from https://github.com/joharraza/claude-deck/tree/main/plugins/baton. Run claude plugin validate on it first and show me what it can access before you enable it.
More from joharraza/claude-deck
This repository has 4 Claude Code mods on MCPMods.
- deck: One band above the prompt for Limit Radar, Baton and Workbench: liquid gauges for the 5-hour and 7-day limits and the co (Low risk)
- limit-radar: Tracks the 5-hour and 7-day usage limits: picks a task back up on its own when a limit resets, and holds new subagents w (Low risk)
- workbench: Keeps git and dev servers in view: warns when you are on main with changes, have commits not on GitHub, or hit a merge c (Low risk)