It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
Version
0.4.0
License
MIT
Repo stars
10
Last change
2026-10-09
What it can reach
Draws in the session
Reads usage or context figures
Reads this turn's file edits
Sees tool calls
Calls another program on this machine
budget-guard looks before a turn starts. This one watches one turn while it runs, because a long turn can use a big share of the session between two of your messages. It checks before each model request in a turn, subagents included. The default limits, whichever comes first, are 5 more points of the 5-hour session, or 500,000 uncached input tokens. Cache reads are not counted. Without a subscription there is no session reading, so only the token limit applies. At the limit, by default, the turn stops before the next request. A running command is never cut off. It writes a handoff from exact session data, with no model call: your last prompts, the todo list, the files Claude edited, and the last thing Claude said. It is saved under ~/.claude/handoffs/, and copied to the clipboard as the first message for a new session. The old session is never cleared. A toast tells you the handoff is copied and where it is saved. The handoff never touches the repository. git is only read, git status --short and git diff --stat, never written to. /handoff does the same at any time. /turn-budget ask shows a question at the limit instead. Stop here ends the turn. Anything but a clear Continue counts as Stop. A question nobody can answer, such as a -p run, never stops a turn. /turn-budget shows the settings. /turn-budget 8 sets the points. /turn-budget tokens 1000000 sets the token limit. /turn-budget handoff or ask chooses what happens at the limit. off and on switch it. Answers are toasts. While a turn runs, the status line reads like turn budget 3/5 pts. The README does not name a file for the limits, and it does not say how to delete the handoff files.
One plugin from VedantAndhale/claude-pro-kit. The root README says prompt-polish is the only mod in that kit that makes a model call, and turn-budget makes none. The plugin folder has no README. These lines are the repository README. budget-guard keeps a prompt from being sent before the turn, once the 5-hour or weekly reading is at your limit. compact-handoff writes a handoff and replaces the conversation with it. This one watches the turn, and the old session stays as it was. git status and git diff are the local programs.
Demo
Screenshot of the author's GitHub page.
What it hooks into
session.startWhen a session starts
tool.callAround a tool call, where it can hold one
command.runWhen you run its slash command/handoff/turn-budget
session.measureWhen usage is measured
turn.startWhen Claude starts a turn
turn.completeWhen a turn ends
turn.stepAt each step of a turn
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.