usage-mod

by qingyashizi · ★ 0 · updated yesterday

Bandsvalidates

0

在输入框上方常驻显示上下文占用、5 小时额度、每周额度和重置时间,带一键压缩上下文的按钮

install usage-mod

Install

/plugin marketplace add qingyashizi/claude-usage-mod
/plugin install usage-mod@usage-mod

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.measureturn.completeui.render
API calls
$.clock.every$.clock.now$.command.run$.fs.read$.fs.write$.session.usage$.state.get$.state.set$.ui.resolve$.ui.toast
Draws
AbovePrompt
Reach
level 2 of 3 other: $.state.getother: $.state.setwrites filesdrives Claudereads filesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/qingyashizi/claude-usage-mod
Path in repo
plugins/usage-mod
Author
@qingyashizi
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.