tokenscope

tokenscope is a Claude Code mod by moaazhomaid that live token & USD observatory for Claude Code: per agent, subagent, workflow, task, skill and model, with prompt-cache countdowns, a model lock while the cache is warm, and subscription.

Updated 2026-10-03

What is tokenscope?

tokenscope is a Claude Code mod by moaazhomaid that live token & USD observatory for Claude Code: per agent, subagent, workflow, task, skill and model, with prompt-cache countdowns, a model lock while the cache is warm, and subscription. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authormoaazhomaid
Repositorymoaazhomaid/claude-plugins
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (100/100)
Rank#4,015 of 5,272 Claude Code mods; #765 in Cost & usage
LicenseMIT
Last commit2026-10-03
Hooks11 events
Seesevery skill, every tool call, subagent spawns
Draws onPane, AbovePrompt

Is tokenscope safe to install?

tokenscope scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.command.rundrives Claude
$.session.model
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install tokenscope?

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

Or ask Claude to set it up

Paste this into Claude Code and it installs tokenscope for you:

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