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.

Updated 2026-10-16

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.

TypeClaude code mod
Authorjoharraza
Repositoryjoharraza/claude-deck
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (80/100)
Rank#6,635 of 9,397 Claude Code mods; #1,246 in Cost & usage
LicenseMIT
Last commit2026-10-16
Hooks10 events
Seesclassic hooks, compaction, every prompt, every tool call
Draws onnothing

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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.model.completedrives Claude
$.prompt.fillwrites the prompt box
$.prompt.submitdrives Claude
$.session.compactdrives Claude
$.session.messagesreads the transcript
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install baton?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)