ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add blendbunjaku/optimaizr
/plugin install optimaizr@optimaizr
Open the repo

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

The optimaizr section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • session.endWhen a session ends
  • prompt.contextA Claude Code event
  • session.compactWhen the context is compacted
  • session.measureWhen usage is measured
  • turn.startWhen Claude starts a turn
  • turn.stepAt each step of a turn
  • tool.callAround a tool call, where it can hold one
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionSpinnerAbovePromptPane
  • command.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
Repo
blendbunjaku/optimaizr
Folder
mods/optimaizr
Version
0.11.1
License
MIT
Repo stars
80
Last change
2026-10-15
Language
TypeScript
Files
7

Other mods in Usage

clawdmeterwelternDraws Clawd and the session, weekly, and context bars in a band above the prompt.ccswaperrhythmDraws your ccswap accounts and their 5-hour and 7-day usage, and switches from a button on the band.routeralexei-ledPicks a model and effort for each turn from a classifier, and draws the tier above the prompt.context-budgetmelodic-softwareHolds a commandDraws the session's context by category, in a pane or a band above the prompt, and asks before a settings file is written.extra-modsJhonatan-de-SouzaDraws a menu for Zen, themes, model and effort, and a status line of context, plan limits, and cache.jevNasrallah-ALHas Jev drop stale tool calls at compaction and keep the rest word for word, toasts what it kept, and adds slash commands for the jev CLI.decknvr0x5Draws a collapsible panel above the prompt for the plan, context, the 5-hour and 7-day limits, and a small pet.desktop-statuslinecentminmodDraws a status band above the prompt in the Desktop app's Code tab, with context, plan limits, and the last turn.pixel-buddyhamymarnieDraws the 5-hour and 7-day usage above the prompt, with what each window cost, a cache timer, and a pixel creature.account-rotatorivokundDraws each account's usage under the prompt, and can move the session to another account as a limit fills.usage-bandJetsonChanDraws one line above the prompt for the 5-hour and 7-day limits, the context, and the last turn's cache hit.burn-meterOneWave-AIDraws session spend as a fuse above the prompt, with the plan limits and a cost in burritos and McDoubles.
All 183 in Usage