usage-meter

usage-meter is a Claude Code mod by yut0takagi that ターンごとのトークン数とキャッシュの割合をステータス行に出し、セッション中の推移をペインにグラフで描く.

Updated 2026-10-09

What is usage-meter?

usage-meter is a Claude Code mod by yut0takagi that ターンごとのトークン数とキャッシュの割合をステータス行に出し、セッション中の推移をペインにグラフで描く. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authoryut0takagi
Repositoryyut0takagi/mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (100/100)
Rank#5,239 of 5,272 Claude Code mods; #1,026 in Cost & usage
LicenseMIT
Last commit2026-10-09
Hooks4 events
Seesonly the events it hooks
Draws onPane

Is usage-meter safe to install?

usage-meter scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.session.surfaces
$.state.get
$.state.set
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install usage-meter?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/yut0takagi/mods
    claude plugin validate ./mods/usage-meter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add yut0takagi/mods && claude plugin install usage-meter@yut0takagi-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs usage-meter for you:

Install the "usage-meter" Claude Code mod from https://github.com/yut0takagi/mods/tree/main/usage-meter. Run claude plugin validate on it first and show me what it can access before you enable it.

More from yut0takagi/mods

This repository has at least 9 Claude Code mods on MCPMods.

  • auto-worktree: セッションの最初のプロンプトを送ったときに、git のワークツリーを作ってそこへ移る (High risk)
  • branch-watch: ステータス行に worktree / branch を出し、どのセッションがどの worktree のどのブランチで作業しているかをペインに並べる。別のセッションが切り替えたブランチでの commit を止める (High risk)
  • done-chime: 長いターンが終わったときと、許可を待っているときに音とトーストで知らせる (Low risk)
  • ja-check: 返答が英語で書き出されたら知らせる。設定で日本語での書き直しを頼める (Low risk)
  • pr-pane: 開いている PR と CI の状態を gh で定期的に取り、ステータス行とペインに出す (Low risk)
  • push-gate: git push などを止め、人が承認ボタンを押した 1 回だけ通す (Low risk)
  • session-diff: このセッションが Edit・Write で変えたファイルと増減をペインに並べ、選ぶと差分を出す (Low risk)
  • side-question: /btw で、作業を止めずに会話の続きとして脇道の質問をし、答えをペインに出す。答えは会話に残らない (Low risk)