What is usage-percent?
usage-percent is a Claude Code mod by schreibse that a row under the prompt: context, 5-hour, weekly and model-scoped weekly usage; in Nx repos also memory, the session's nx serve projects and the branch's pipeline. It is listed under Cost & usage and has 3 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | schreibse |
| Repository | schreibse/claude-code-mods |
| Popularity | 3 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (76/100) |
| Rank | #977 of 5,272 Claude Code mods; #176 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-18 |
| Stars this week | +1 |
| Hooks | 4 events |
| Sees | Bash calls |
| Draws on | PromptHint |
Is usage-percent safe to install?
usage-percent 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 |
|---|---|
$.clock.every | |
$.clock.now | |
$.fs.exists | reads files |
$.fs.read | reads files |
$.http.fetch | network requests |
$.process.run | runs processes |
$.session.authorize | reads the transcript |
$.session.root | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
How do I install usage-percent?
- 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/schreibse/claude-code-mods claude plugin validate ./claude-code-mods/usage-percent
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add schreibse/claude-code-mods && claude plugin install usage-percent@schreibse-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs usage-percent for you:
Install the "usage-percent" Claude Code mod from https://github.com/schreibse/claude-code-mods/tree/main/usage-percent. Run claude plugin validate on it first and show me what it can access before you enable it.
More from schreibse/claude-code-mods
This repository has at least 9 Claude Code mods on MCPMods.
- coderabbit-band: A band above the prompt with the open CodeRabbit threads and nitpicks of the branch's MR (Low risk)
- handover: The handover sentence for a cold session, one per session: a band above the prompt, /handover-copy to copy it, after /cl (Review before installing)
- mem-guard: Bash memory rules: Node commands run in claude-cmd.slice, and runs that would starve the machine are refused (Review before installing)
- mr-banner: A colored card with a link under each MR/PR created, merged, approved or reviewed (Low risk)
- quiet-bash: One-line tool rows, tool output hidden, inline PNG thumbnails; /quiet shows everything, /thumb shows a PNG (Review before installing)
- quiet-spinner: Plain words for the turn spinner and the turn-duration line (Low risk)
- redact: Secrets found by betterleaks reach the model as ‹secret:…› tokens; Write/Edit restore them, other tools refuse them (Review before installing)
- reminder-log: Tallies the reminders Claude Code injects for the model, per session; drops the token counter and repeated attribution b (Low risk)