token-usage

token-usage is a Claude Code mod by Synthesizzz that a band above the prompt with context fill, the 5-hour and weekly windows, reset countdowns, a burn-rate forecast and cost. /tokens opens a detail pane; /tokens style, or words such as.

Updated 2026-11-14

What is token-usage?

token-usage is a Claude Code mod by Synthesizzz that a band above the prompt with context fill, the 5-hour and weekly windows, reset countdowns, a burn-rate forecast and cost. /tokens opens a detail pane; /tokens style, or words such as. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
AuthorSynthesizzz
RepositorySynthesizzz/claude-code-token-usage
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (60/100)
Rank#8,619 of 9,397 Claude Code mods; #1,721 in Cost & usage
LicenseMIT
Last commit2026-11-14
Hooks14 events
Seesclassic hooks, compaction, every tool call, subagent spawns
Draws onAbovePrompt, Pane

Is token-usage safe to install?

token-usage scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 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 processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.every
$.clock.now
$.command.list
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.model.forkdrives Claude
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.compactdrives Claude
$.session.id
$.session.usage
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.turn.abortdrives Claude
$.ui.notifydraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install token-usage?

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

Or ask Claude to set it up

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

Install the "token-usage" Claude Code mod from https://github.com/Synthesizzz/claude-code-token-usage. Run claude plugin validate on it first and show me what it can access before you enable it.