lemo-meter

Reviewed at commit 10cbf1d

用量横条:输入框上方显示上下文、5 小时额度、花费和 git 分支;状态栏显示消息编号(已有自己的状态栏时默认关闭);点「检查」才联网查新版本 / Usage meter: context, 5-hour quota, cost and git branch above the prompt; a status…

Made by
lemomo
What we checked

Shows a usage bar above the prompt with context use, the 5-hour quota, cost and git branch, plus an optional status line with the message number. It reads the current git branch from .git/HEAD and stores two on/off switches. The only network call is a version check against the npm registry, made only when you press Check.

Review details

Static review of the source at the pinned commit; not run. Registers session.start, turn.complete, ui.render (AbovePrompt and the lemo hub Pane), lemo.caps, lemo.toggle and lemo.off. Uses $.session.usage/cwd/version/surfaces, $.fs.stat/read to walk up from the session directory and read .git/HEAD (and a .git file for worktrees); it never runs git or any program. $.store.get/set keep two booleans (band, status), $.ui.status and SVG/Text rendering draw the band, a one second $.clock.every timer refreshes the status line. $.http.fetch calls https://registry.npmjs.org/@anthropic-ai/claude-code/latest only from a button in the terminal panel and sends no user data. It depends on the separate lemo-core plugin (declared in plugin.json, not in this folder) for $.lemo.* APIs, shared state and badges. The helper files draw.ts, i18n.ts and shared/lemo.tsx are pure drawing and text code with no I/O. No obfuscation, no eval.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: yes
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of lemo-meter

用量横条:输入框上方显示上下文、5 小时额度、花费和 git 分支;状态栏显示消息编号(已有自己的状态栏时默认关闭);点「检查」才联网查新版本 / Usage meter: context, 5-hour quota, cost and git branch above the prompt; a status line with the message number (off by default if you have your own); checks for updates online only when you press Check

Made this mod? Add a badge to your README

modsforClaude badge for lemo-meter

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/lemo-meter.svg)](https://modsforclaude.com/mods/lemo-meter/)

← All mods