AI Agent Hub
Back to plugins
opencode-usage preview

opencode-usage

Fun & Dress-up Updated 2026.08.14

Run the following command in DeepSeek Harness:

dsh plugin install AmaTsumeAkira/opencode-usage

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install AmaTsumeAkira/opencode-usage in the DeepSeek Harness terminal to install this plugin; the source is available at https://github.com/AmaTsumeAkira/opencode-usage .

About this plugin

Working with OpenCode Go, keeping track of remaining quota and reset deadlines often means hopping to a dashboard or digging through docs mid-flow, and it is all too easy to burn through your allocation before you notice. opencode-usage drops that information straight into the composer dock of the dsh Web UI, so quota status stays in the same line of sight as your prompt.

The plugin renders the rolling, weekly, and monthly quota windows as color-graded percentage bars that shift from green through amber to red as consumption climbs, each paired with its own reset countdown. A timestamp shows when data was last fetched, switching to an updating indicator while a refresh is in flight. Quotas auto-refresh every five minutes, and a single click on the OpenCode Go label triggers a manual pull. On the security side, the API key is resolved per request through the harness credentials service and passed to curl via an environment variable, so it never reaches the browser or ends up in logs; without a configured key the badge simply reports a fetch failure.

If you rely on OpenCode Go for day-to-day tasks and want a constant glance at remaining quota without leaving the dsh editor, this lightweight badge plugin is ready to use out of the box with no build steps required.

Screenshots

Use Cases

  • Glance at remaining rolling/weekly/monthly quota between prompts
  • Plan upcoming tasks before the weekly limit runs out
  • Avoid discovering a mid-run cutoff only after an overage

Best For

  • Developers who rely on OpenCode Go for daily coding tasks
  • Students and researchers budgeting across multiple quota windows
  • Teams running a full workflow in dsh who want fewer context switches