All shelves / Mods / Usage
optimaizr
By blendbunjaku
optimaizr is a Claude Code usage mod by blendbunjaku.
Draws this turn's cost, the 5-hour window, and cache time above the prompt, and holds a command that failed twice unchanged.
DrawsHolds a command
Install
The marketplace name is optimaizr.
/plugin marketplace add blendbunjaku/optimaizr /plugin install optimaizr@optimaizr
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.11.1
- License
- MIT
- Repo stars
- 80
- Last change
- 2026-10-15
What it can reach
- Draws in the session
- Reads usage or context figures
- Holds a command
- Sees tool calls
Claude Code 2.1.287 or later. The author says it reads the usage figures Claude Code already shows you (cost, token counts, context fill, plan windows) and the commands Claude runs, makes no network calls of its own, and never reads your prompts or file contents. When the same command fails twice in a row with nothing changed, the next identical attempt is held once. /optimaizr handoff, only when you run it, asks Claude for a three-line note through your own session, and the next conversation in that project starts from the note instead of re-reading the old one. The author says nothing leaves your machine besides that one request to Claude. A checkout starts with claude --plugin-dir mods/optimaizr.
Demo

What it hooks into
session.startWhen a session startssession.endWhen a session endsprompt.contextA Claude Code eventsession.compactWhen the context is compactedsession.measureWhen usage is measuredturn.startWhen Claude starts a turnturn.stepAt each step of a turntool.callAround a tool call, where it can hold oneturn.completeWhen a turn endsui.renderDraws into the sessionSpinnerAbovePromptPanecommand.runWhen you run its slash command/optimaizr
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/optimaizrThis session's spend, savings and plan windows; hud opens the HUD, handoff saves a note to start fresh from, off or on pauses a switch
Files
The author's README and source, 5 files. They load when you open them.
Facts
- Author
- blendbunjaku
- Category
- Usage
- Marketplace
- optimaizr
- Folder
- mods/optimaizr
- Version
- 0.11.1
- License
- MIT
- Repo stars
- 80
- Last change
- 2026-10-15
- Language
- TypeScript
- Files
- 7