token-bar

token-bar is a Claude Code mod by santosli that how full the context window and the quota are, and what today cost, above the prompt.

Updated 2026-10-12

What is token-bar?

token-bar is a Claude Code mod by santosli that how full the context window and the quota are, and what today cost, above the prompt. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorsantosli
Repositorysantosli/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (72/100)
Rank#4,526 of 5,272 Claude Code mods; #872 in Cost & usage
LicenseMIT
Last commit2026-10-12
Hooks6 events
Seescompaction
Draws onAbovePrompt

Is token-bar safe to install?

token-bar scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 5 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 no files or configPass
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
$.clock.after
$.clock.every
$.clock.now
$.env.getreads env vars
$.process.runruns processes
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.calldrives Claude
$.tool.list
$.ui.resolvedraws interface

How do I install token-bar?

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

Or ask Claude to set it up

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

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