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.
| Type | Claude code mod |
|---|---|
| Author | omeerdvrn |
| Repository | omeerdvrn/o-mods |
| Popularity | 7 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (76/100) |
| Rank | #1,158 of 9,397 Claude Code mods; #186 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-15 |
| Stars this week | +1 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | Pane |
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.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.mcp.call | calls MCP servers |
$.process.run | runs processes |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
How do I install usage-stats?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)