usage

by Daniel · ★ 0 · updated 10 days ago

PanesGuardsCommandsvalidates

0

Side pane with the session's tokens, context, tools and time

install usage

Install

/plugin marketplace add zrdqns/claude-code-usage
/plugin install usage@claude-code-usage

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.startcommand.runtool.callturn.completeui.render
API calls
$.clock.every$.clock.now$.command.register$.session.usage$.state.get$.state.set$.ui.invalidate$.ui.open$.ui.resolve
Draws
Pane
Can see
every tool call
Reach
level 1 of 3 other: $.state.getother: $.state.setdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/zrdqns/claude-code-usage
Path in repo
repository root
Source commit
6187f3a the exact code the scan read
Author
Daniel @zrdqns
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.