ClaudeCodeMod

All shelves / Mods / Usage

taxi-meter

By devbrother2024

taxi-meter is a Claude Code usage mod by devbrother2024.

Draws this session's cost as a taxi fare, in won at API list price, with context fill and the plan limits.

Draws

Install

The marketplace name is devbrothers-mods.

In your shell
claude plugin marketplace add devbrother2024/devbrothers-mods
claude plugin install taxi-meter@devbrothers-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
0.3.4
License
MIT
Repo stars
9
Last change
2026-10-04

What it can reach

  • Draws in the session
  • Reads usage or context figures

Needs Claude Code 2.1.287 or newer. The panels are drawn in Korean. They show in the terminal and in the Desktop app's Code tab. On that tab the meter becomes one line of text, because the Desktop app does not draw the LED picture. The VS Code extension chat, claude -p, and the Agent SDK draw nothing. One session is one ride. The fare is the API list price converted to won, not the subscription bill. The exchange rate defaults to 1400 won per dollar. The big number only rises during the session, and the last request is shown on its own. /clear starts a new ride at 0. Opening with --continue starts a new ride from that reopen. It shows the model name, a car class (Sonnet and Haiku standard, Opus premium, Fable black), output tokens per second, the context percent, the 5-hour limit and its reset, and the weekly limit. Changing the model with /model warns, before you send, what it will cost to write the cache again. At 90 percent of a limit it warns that you are close. At 100 percent the numbers go red. The panel needs a window 75 columns wide and 9 rows tall, or it becomes one line. /meter shows this ride, the last request, today, the last 7 days, and the running total. /receipt opens the receipt. /meter reset sets the on-screen fare and the running total to 0. /meter demo plays about 10 seconds of a staged ride, and the next prompt returns to the real meter. By default a click plays as the fare rises, on macOS. The click amount defaults to 1000 won, and the style defaults to the meter panel rather than one line. The running total is kept for 90 days across sessions. The README does not name a file. The README reports that the meter follows Claude Code's session cost, the same value as /cost, and that an author check matched the list price of the recorded replies plus calls missing from the transcript, to seven decimal places. It does not count tokens itself. The README says a mod runs with your permissions and no sandbox, to read the code before installing, and that this pack does not read files, start programs, or make web requests. Sound is macOS only. If you also install the other taxi mods, install taxi-blackbox before taxi-speedcam so a stopped command is recorded.

The plugin folder has no README. These lines are the repository README. The taxi fare stands for this session's API list price in won. cost-meter draws the session cost and, once you set a budget, asks before the next tool call. usage-meter draws the 5-hour and 7-day bars. token-ledger pins the session cost and the last turn. This fare does not ask before a tool call. The 90 and 100 percent lines are warnings on the meter. The click is played by Claude Code on macOS, so this page does not list a local program.

Demo

Claude Code with taxi-meter: a fare of 270 won, the last request plus 30 won, Sonnet 5.5, context at 4 percent, the 5-hour limit at 13 percent, and the weekly limit at 2 percent
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • classic.SessionStartA Claude Code event
  • classic.PostModelSwitchA Claude Code event
  • session.endWhen a session ends
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends
  • turn.stepAt each step of a turn
  • session.measureWhen usage is measured
  • command.runWhen you run its slash command/meter/receipt
  • 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 2

  • /meter택시 미터기: 이번 승차(세션)·방금 요청·오늘·누적 요금과 한도 (reset은 미터기와 누적 초기화, demo는 촬영용 데모 주행)
  • /receipt택시 영수증 열기

Files

The author's source, 3 files. They load when you open them.

Facts

Author
devbrother2024
Category
Usage
Marketplace
devbrothers-mods
Repo
devbrother2024/devbrothers-mods
Folder
plugins/taxi-meter
Version
0.3.4
License
MIT
Repo stars
9
Last change
2026-10-04
Language
TypeScript
Files
7

Other mods in Usage

agent-routeralexandernicholsonHolds a commandAssigns a model and effort to each subagent role from your endpoint's catalog, and draws that model beside the prompt.keepalivealexandernicholsonDraws a prompt-cache bar for each conversation, and can keep an idle cache warm or compact it before it expires.hudhoobnnDraws model, context, and plan-usage gauges above the prompt, with git, the running tools, and a one-line task summary.limits-meterice-lfernandesDraws plan limits and context above the prompt, in tokens and percent, with the model, effort, and a toast on a costly switch.elizabeth-progressYaxin9LuoDraws Elizabeth from Gintama walking a context-window bar above the prompt, with the usage split, turns left, and rate limits.spending-effort-with-jevYaxin9LuoAsks TypeSafe's Jev which /effort level a message needs, sends that message to api.typesafe.ai, and switches on your OK.cache-paneldanyuchnAfter 50 idle minutes, draws a prompt-cache line and a panel to keep it warm, ping it once, or compact, with a cost for each.context-cardNongfsqDraws context fill, the prompt cache, and weekly plan usage in one line above the prompt, with a breakdown on click. One of two mods for running many sessions.statuslineryanclarkDraws context, the 5-hour and 7-day limits, and extra usage under the prompt, from statusline, a status-line binary you install first.usage-headerSzotaszDraws the context window above the prompt, a color per category, with the 5-hour and weekly limits under it.green-lanternvogiaan1904Draws the 5-hour and 7-day limits as Green Lantern charge that drains as you use it, with a power-ring spinner and an emerald theme.long-live-the-claudeLapis0x0Draws the 5-hour and 7-day limits, context, and cache time above the prompt. Long-run, off by default, keeps the cache warm and pauses near the limit.
All 183 in Usage