All shelves / Mods / Usage
automode
By mralexivy
automode is a Claude Code usage mod by mralexivy.
Picks the model and effort for each prompt, draws a bar above the prompt with context, cache countdown, cost, and savings, and denies git writes from subagents.
DrawsHolds a command
Install
The marketplace name is automode.
/plugin marketplace add mralexivy/AutoMode /plugin install automode@automode
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.10.0
- License
- MIT
- Repo stars
- 8
- Last change
- 2026-11-06
What it can reach
- Draws in the session
- Reads usage or context figures
- Holds a command
- Sees tool calls
- Calls another program on this machine
Claude Code 2.1.287 or later in the terminal; the Desktop app needs 2.1.286 or later and the VS Code extension 2.1.299 or later. The bar is not drawn in the VS Code chat panel or under claude -p, where /automode gives the same facts as text. Run /reload-plugins, or restart Claude Code, after the install. /automode off turns routing off for one session, and AUTOMODE_UI=off hides the bar. On a machine with managed settings, or in a Team or Enterprise login, a built-in guard skips some hooks of a user-installed mod, so plan mode detection and Haiku compaction are limited. The README also gives a shell form: claude plugin marketplace add mralexivy/AutoMode; claude plugin install automode@automode.
The marketplace, automode, holds only this plugin. Choosing the model and effort for each prompt, with the cost and cache on the bar, is why this page files it under usage. effortless draws a bar above the prompt with the reasoning effort it picked for this prompt, how full the chat is, and how long the prompt cache stays warm. claude-router picks a model and effort for each turn from a classifier, and draws the tier above the prompt. This one has a judge, one short Haiku call on your own Claude login, that sets the model and effort for each prompt in about a second, with a risk floor that gives security, migrations, and payments work an independent review. The bar also shows the saving against the model the session started on, and a Settings button. Open-ended work can run a plan, build, verify, and review workflow with six small agents. The guardian can pause a risky turn, redact secret-shaped text, and shorten large tool results. It denies git writes and rm -rf from subagents, and the main session can still commit when you ask.
Demo

What it hooks into
session.startWhen a session startsprompt.submitWhen you send a promptturn.stepAt each step of a turnsession.compactWhen the context is compactedtool.callAround a tool call, where it can hold oneBashmcp__automode__extractturn.completeWhen a turn endsagent.spawnWhen a subagent startsprompt.attachmentA Claude Code eventsession.appendWhen an entry is written to the transcriptcommand.runWhen you run its slash command/model/effortclassic.StopA Claude Code eventsession.endWhen a session endsturn.startWhen Claude starts a turn
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 5 files. They load when you open them.
Facts
- Author
- mralexivy
- Category
- Usage
- Marketplace
- automode
- Version
- 0.10.0
- License
- MIT
- Repo stars
- 8
- Last change
- 2026-11-06
- Language
- TypeScript
- Files
- 941