token-window

token-window is a Claude Code mod by pokhriyal-anmol that see how many input and output tokens you used in the current 5-hour Claude Code window, per session, in a docked dashboard pane.

Updated 2026-10-11

What is token-window?

token-window is a Claude Code mod by pokhriyal-anmol that see how many input and output tokens you used in the current 5-hour Claude Code window, per session, in a docked dashboard pane. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorpokhriyal-anmol
Repositorypokhriyal-anmol/claude-token-window
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (72/100)
Rank#7,866 of 9,397 Claude Code mods; #1,531 in Cost & usage
LicenseMIT
Last commit2026-10-11
Hooks4 events
Seesonly the events it hooks
Draws onAbovePrompt, Pane

Is token-window safe to install?

token-window scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config. 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 files or configReview
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.fs.writewrites files
$.process.runruns processes
$.session.usage
$.state.get
$.state.set
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install token-window?

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

Or ask Claude to set it up

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

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