r/opencodeCLI • u/rizal72 • 6h ago
[Plugin] oc-budget now shows your Claude limits, without touching your token
Quick update on my opencode-plugins suite: small plugins for OpenCode v2, each doing one thing, in Desktop and CLI.
oc-budget now shows your Claude 5-hour and weekly limits (via Claude Agent), next to OpenCode Go and your other balances. Desktop and CLI, as usual.
What's different: there are plenty of usage plugins around, some really nice, but most of the ones I looked at, grab your subscription's OAuth token and call Anthropic themselves. Anthropic's terms say third-party developers must not do that, and I like my account ;)
So mine never reads your token: it just asks the official claude CLI for /usage. Zero tokens spent, and a much safer way to do it (though I can't promise anything on Anthropic's behalf).
Needs Claude Code 2.1.325+. Tested on macOS only.
The rest of the suite:
- oc-models-pro: every model with price, speed and intelligence
- oc-tps-meter: tokens per second, step by step (Desktop only)
- oc-notify: a push to your phone when a turn ends
- oc-git: branch and working tree at a glance
- oc-coffee: keeps your Mac awake while the agent works
- oc-ponytail-widget: the ponytail level
- oc-session-search: search your past sessions
- oc-plugin-updates: (deprecated in favour of OpenCode's new built-in updates)
Install any of them (@latest keeps it updated):
opencode plugin add @rizal72/oc-budget@latestAll in one repo: https://github.com/rizal72/opencode-plugins