tokenscope

by Moaaz Homaid · ★ 0 · updated 2 days ago

PanesBandsStatus lineGuardsCommandsPromptvalidates

0

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 leverage

install tokenscope

Install

/plugin marketplace add moaazhomaid/claude-plugins
/plugin install tokenscope@moaazhomaid

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startsession.endturn.startturn.stepturn.completeagent.spawntool.callskill.promptsession.measurecommand.runui.render
API calls
$.clock.every$.clock.now$.command.register$.command.run$.session.model$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.invalidate$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
PaneAbovePrompt
Can see
subagent spawnsevery tool callevery skill
Reach
level 2 of 3 other: $.state.getother: $.state.setdrives Claudepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/moaazhomaid/claude-plugins
Path in repo
plugins/tokenscope
Author
Moaaz Homaid @moaazhomaid
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.