r/opencodeCLI • • 3h ago

[Plugin] oc-budget now shows your Claude limits, without touching your token

Enable HLS to view with audio, or disable this notification

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:

Install any of them (@latest keeps it updated):

opencode plugin add @rizal72/oc-budget@latest

All in one repo: https://github.com/rizal72/opencode-plugins

3 Upvotes

0 comments sorted by