usage-stats

usage-stats is a Claude Code mod by omeerdvrn that your Claude Code usage on this machine as a receipt: total tokens, prompts, sessions, issues closed, daily activity, and tokens by project and model. Opens with /usage-stats.

Updated 2026-10-15

What is usage-stats?

usage-stats is a Claude Code mod by omeerdvrn that your Claude Code usage on this machine as a receipt: total tokens, prompts, sessions, issues closed, daily activity, and tokens by project and model. Opens with /usage-stats. It is listed under Cost & usage and has 7 GitHub stars.

TypeClaude code mod
Authoromeerdvrn
Repositoryomeerdvrn/o-mods
Popularity7 GitHub stars
CategoryCost & usage
SecurityReview before installing (76/100)
Rank#1,158 of 9,397 Claude Code mods; #186 in Cost & usage
LicenseMIT
Last commit2026-10-15
Stars this week+1
Hooks3 events
Seesonly the events it hooks
Draws onPane

Is usage-stats safe to install?

usage-stats scores 76/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; starts processes outside the sandbox. It passed 6 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
Sends data over the networkReview
Starts processes outside the sandboxReview
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
$.mcp.callcalls MCP servers
$.process.runruns processes
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install usage-stats?

  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/omeerdvrn/o-mods
    claude plugin validate ./o-mods/mods/usage-stats
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add omeerdvrn/o-mods && claude plugin install usage-stats@o-mods

Or ask Claude to set it up

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

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

More from omeerdvrn/o-mods

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

  • faah: Meme sounds on events: FAAAH when tests fail, anime wow when they pass, bruh when Claude asks you something; failed buil (Review before installing)
  • heat: NBA-Jam-style heat tracker: prompts and tool calls heat you up, idle time cools you down, and a fire burst rises above t (Low risk)
  • huh: /huh opens Claude's last answer in the sidebar, rewritten to be easy to read (a short summary first, clear sections, lis (Review before installing)
  • linear: Sidebar of your assigned Linear issues; Start creates a git worktree and begins implementing the issue. (Review before installing)
  • persona: Pick a role for Claude on this machine (UI/UX, Backend, Dev, QA, Docs, PM); edits and shell commands outside the role ar (Review before installing)
  • pr-status: Live CI status of the current branch's pull request above the prompt, or of any PR you pin with /pr-status . Detects Git (Review before installing)
  • scenes: Animated pixel scenes above the prompt while Claude works, a random one each time: night drive, rainy window, fish tank, (Low risk)
  • snippets: The input bar, smarter: your Linear tickets in the typeahead as you type an id, live highlighting (tickets, paths, @ment (High risk)