AI Agent Hub
Back to plugins
🖥️

dsh-quota-cards

Client Updated 2026.08.16

Run the following command in DeepSeek Harness:

dsh plugin install ShiraGawaAnri/dsh-quota-cards

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

Run dsh plugin install ShiraGawaAnri/dsh-quota-cards in your DeepSeek Harness terminal to install the plugin; source code is available at https://github.com/ShiraGawaAnri/dsh-quota-cards

About this plugin

When juggling both DeepSeek and OpenCode Go inside DSH, checking how much quota is left used to mean opening a separate admin page in the browser. dsh-quota-cards pins a small card to the left edge of the composer that follows the active model: DeepSeek shows the account balance (tooltip carries the granted and topped-up breakdown), while OpenCode Go displays remaining token usage across the rolling 5-hour, weekly, and monthly windows (tooltip adds the used share and reset time).

Two refresh paths keep the number fresh: a debounced click for an on-demand pull (2-second cooldown, in-flight requests silently ignore duplicates), or an interval timer at 1 / 5 / 10 / 30 / 60 minutes that re-schedules itself after every fetch. Credentials are resolved host-side through the credentials service; the browser never sees the key, only the read-only result.

Ideal for developers who mix the official DeepSeek endpoint with OpenCode Go routing in DSH, so a mid-session 402 never catches you by surprise.

Use Cases

  • Checking live quota the moment you switch between providers
  • Staring at a long generation without leaving the editor to verify token spend
  • Comparing balance and usage windows across multiple API keys at a glance

Best For

  • Developers juggling official DeepSeek and OpenCode Go routing inside DSH
  • AI engineers who track token quotas to avoid mid-session 402 errors
  • Privacy-sensitive users who insist keys never leave the host side