Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mmc7676v1.0.0MITIn 1 marketplace
See how your Claude subscription is used: measured Claude Code tokens per request from this machine's session files, plus the plan usage-meter readings you type in, which cover Claude, Claude Duet and Claude Code together. Local only. Not for Claude Platform API usage.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

See how your Claude subscription is being used. My Usage measures your Claude Code tokens request by request from the session files on your own machine, and keeps a dated log of the plan usage-meter readings you give it. Claude and Claude Code share one set of plan limits, so those readings cover Claude (web, desktop, mobile), Claude Duet and Claude Code together. Everything stays on your machine.
Measuring and the ledger work in Claude Code on your own computer. Where My Usage runs without Claude Code's session files, such as in a Claude chat or a cloud session, it can only report the readings you give it, and its files may not be kept after that session.
It does not cover Claude Platform API (Console) usage.
Human0 built it for the size and scope of Human0's own use of one Claude subscription: long Claude Code sessions, many subagents and Claude Duet threads running in parallel, all against the same plan limits. The usage bars show how much of the plan is gone, but not where it went. My Usage answers that question for the part that can be measured, and keeps the bars' readings next to it. It was built and tested on a Pro plan, using Claude Duet.
| Surface | What My Usage gets | Label |
|---|---|---|
| Claude Code on your machine (terminal, desktop app, IDE) | Token counts per request: input, output, cache write, cache read, with model, session, project folder, and main session vs subagent | Measured |
| Claude (web, desktop, mobile) and Claude Duet | The plan's usage-meter percentages you type in (session limit, weekly limit, any model-specific limit) | Reading |
| Claude Code sessions that ran in the cloud | Only through the readings; their session files are not on your machine | Reading |
| Claude Platform API (Console) | Not covered | None |
My Usage never converts tokens into a plan percentage: Anthropic does not publish plan limits as token counts. Claude Code keeps session files for 30 days by default, so run /my-usage:my-usage at least monthly; the ledger keeps every request it has already seen.
In Claude Code 2.1.275 or later:
/plugin install my-usage --marketplace mmc7676/Human0
Once My Usage is listed in the Claude plugin directory, you can also install it from /plugin. To try a local copy without installing it, start Claude Code from a clone of the repository with claude --plugin-dir ./plugins/my-usage.
In Claude Code, after installing the plugin:
/my-usage:my-usage
Or just ask. Three example prompts:
/my-usage:my-usage scans your Claude Code session files and reports totals, the busiest days, the heaviest sessions and models, and how much of your usage was cache reads.How much of my Claude plan did I use this week? My usage bars say session 40%, weekly 72%, resets Monday 9 AM. records that reading and reports this week's Claude Code usage next to it.Which of my Claude Code projects used the most tokens in November? Make me a dashboard. writes a self-contained HTML dashboard with tokens per day, by model, by project folder and top sessions.To try it without your own data, ask Show me a My Usage demo (runs on the bundled synthetic sample).
From the plugin folder:
python3 skills/my-usage/scripts/my_usage.py scan
python3 skills/my-usage/scripts/my_usage.py reading --where claude-app --session-pct 40 --weekly-pct 72 --weekly-resets "Mon 9 AM"
python3 skills/my-usage/scripts/my_usage.py report --tz America/Los_Angeles --html my-usage-report.html
python3 skills/my-usage/scripts/my_usage.py demo
Python 3.9 or newer, standard library only. The ledger lives in ~/.my-usage/ (or $MY_USAGE_HOME); paths prints the exact locations.
My Usage opens Claude Code's session files on your machine (<project>/<session>.jsonl and their subagents/ files, nothing else in that folder) and parses each line. From each request it keeps only the timestamp, session id, message and request ids, model name, the subagent flag, the four token counts and the project folder name. Those files also hold your conversation; message text, tool calls and tool results are discarded in memory and never stored or printed. It does not query Claude's memory or the chat history of the Claude apps, and it opens no network connection. See PRIVACY.md.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mmc7676/human0 --plugin my-usagePlugins from other owners that cover similar ground