ClaudeCodeMod

All shelves / Mods / Workflow

mod-model-effort

By v-amorim

mod-model-effort is a Claude Code workflow mod by v-amorim.

Draws a pill with the session's model and effort level; a click changes either, and hovering shows the last reply's time to first token and tokens per second.

Draws

Install

The marketplace name is claude-mods.

In Claude Code
/plugin marketplace add v-amorim/moonlight-claude-mods
/plugin install mod-model-effort@claude-mods
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
2.0.0
License
MIT
Repo stars
5
Last change
2026-10-30

What it can reach

  • Draws in the session

Needs Claude Code 2.1.287 or newer; the author tested on Windows Terminal and macOS iTerm2. /plugin install asks where to install the mod: keep Install for you (user scope), press Enter, press Esc to leave the plugin screen, then run /reload-plugins. Auto-update is off for unofficial marketplaces; turn it on under /plugin, Marketplaces, claude-mods. The README warns that mods are not sandboxed and run with your permissions. Opens from the model pill. Only the main session's replies count for the speed. The command hooks need a POSIX shell, Git Bash on Windows; without one they write nothing and the mod falls back to what it can find on its own.

The marketplace, claude-mods, holds 13 mods in the Moonlight look, and other repositories use that name too, so add v-amorim/moonlight-claude-mods. Seeing and changing the model and effort without typing a command is why this page files it under workflow. model-effort-band draws a band above the prompt with the selected model and the effort of the latest main-conversation request. extra-mods draws a menu for Zen, themes, model and effort, and a status line of context, plan limits, and cache. This one is a pill: it shows the model and the effort level of the session, a click changes either one, and hovering shows how long the last reply's first token took and the tokens per second after it.

Demo

The Features section of the author's README: a pill that shows the session's model and effort level, a click changing either, and the last reply's speed on hover: how long the first token took and the tokens per second after it.
Screenshot of the author's GitHub page.

What it hooks into

  • ui.toastA Claude Code event
  • session.startWhen a session starts
  • session.endWhen a session ends
  • command.runWhen you run its slash command/mod-model-effort
  • ui.closeWhen its pane closes
  • state.setA Claude Code event
  • turn.stepAt each step of a turn
  • ui.messageAdds a message to the session
  • ui.renderDraws into the sessionAbovePromptPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /mod-model-effort

Hooks 4

  • SessionStartexec 2>/dev/null; IN=$(cat); D="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/mods-data/mod-model-effort/bridge"; S=$(printf '%s' "$IN" | sed -n 's/.*"session_id":"\([^"]*\)".*/\1/p'); [ -n "$S" ] && mkdir -p "$D" && printf '%s\n' "$IN" >> "$D/$S.jsonl" && find "$D" -name '*.jsonl' -type f -mtime +7 -exec rm -f {} + >/dev/null 2>&1; exit 0
  • PostModelSwitchexec 2>/dev/null; IN=$(cat); D="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/mods-data/mod-model-effort/bridge"; S=$(printf '%s' "$IN" | sed -n 's/.*"session_id":"\([^"]*\)".*/\1/p'); [ -n "$S" ] && mkdir -p "$D" && printf '%s\n' "$IN" >> "$D/$S.jsonl"; exit 0
  • ConfigChangeexec 2>/dev/null; IN=$(cat); D="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/mods-data/mod-model-effort/bridge"; S=$(printf '%s' "$IN" | sed -n 's/.*"session_id":"\([^"]*\)".*/\1/p'); [ -n "$S" ] && mkdir -p "$D" && printf '%s\n' "$IN" >> "$D/$S.jsonl"; exit 0
  • SessionEndexec 2>/dev/null; IN=$(cat); D="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/mods-data/mod-model-effort/bridge"; S=$(printf '%s' "$IN" | sed -n 's/.*"session_id":"\([^"]*\)".*/\1/p'); [ -n "$S" ] && rm -f "$D/$S.jsonl" >/dev/null 2>&1; exit 0

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
v-amorim
Category
Workflow
Marketplace
claude-mods
Repo
v-amorim/moonlight-claude-mods
Folder
mod-model-effort
Version
2.0.0
License
MIT
Repo stars
5
Last change
2026-10-30
Language
TypeScript
Files
24

Other mods in Workflow

mod-next-stepsv-amorimDraws up to three one-line next prompts above the input after each finished turn; a click puts one in the prompt to edit, and nothing is sent.mod-progressv-amorimDraws a Progress panel of the main session and each subagent: model, effort, context, tokens, time and gates, with their background shells and live output.mod-promptsv-amorimDraws a Prompts sidebar of every prompt in the session with its full text; a button jumps the transcript back to it, and a Chain tab lists handed-off sessions.mod-skill-panelv-amorimDraws a Skills panel of your skills and agents, grouped by color tag and model; a click adds one to the prompt, and tags badge skills in the slash list.mod-wrap-upv-amorimDraws a Wrap up pill that hands off to a fresh session or fills /compact with what you keep, and can hand off by itself at 400K tokens or 65% of the window.kairos-forgeVilelaAIHolds a commandDraws a panel of the delivery arc and a band when a human gate waits, asks before a call a revert cannot undo, and masks secrets in tool output.altimate-codeAltimateAIDraws a band for GitHub, Jira and Linear credentials it finds, an /integrations pane, and a /lineage pane of the dbt model Claude reads or edits.xcrewbreferrariHolds a commandDraws a live line above the prompt for each Xcode build and test, gives Claude only the failures, and asks you before Claude rewrites a generated project file.commit-medev-build-deployHolds a commandDenies a git commit whose message is not a Conventional Commit, with commit-me's error text and the allowed types and scopes, so Claude rewrites it.noctia-modsEtienneP-26Draws a Noctia band above the prompt, a side panel of subagents, an agent graph, a task checklist, and toasts when a Noctia guard blocks or questions a command.sidecarkaameo-labDocks a pane beside the chat with Claude's options and questions as buttons, a session summary, a diagram of the files it changed, and a log of each turn.android-device-consoleNathanWAHolds a commandDraws a band of live Android device toggles above the prompt and a /device pane for Doze, standby, and WorkManager jobs, and tells Claude the device state.
All 396 in Workflow