AI Agent Hub
Back to plugins
🖥️

dsh-claude-usage

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install leonardoxr/dsh-claude-usage

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

Run dsh plugin install leonardoxr/dsh-claude-usage in your terminal to install the plugin into DeepSeek Harness; the source lives at https://github.com/leonardoxr/dsh-claude-usage .

About this plugin

Knowing how much Claude subscription quota you have left is the first question before kicking off a long coding session, yet the official CLI /usage command sends you back to a terminal while the DeepSeek Harness interface offers no built-in indicator. This plugin drops a plan-usage ring, carrying the Anthropic mark and matching the existing 28 px context-meter geometry, directly onto the right edge of the Settings row so quota visibility lives exactly where you already look.

Hover or keyboard-focus the ring to reveal a detailed quota panel: the 5-hour session window, the weekly window, model-scoped weekly limits, extra-usage state, and the current plan and rate-limit tier. Background polling runs on a five-minute cadence by default, a 250 ms debounced hover refresh keeps numbers current on demand, and the plugin honors Anthropic Retry-After cooldowns so it never out-races the provider rate limiter. A transient provider or network blip retains the last-good values rather than wiping the display.

On the security side, the plugin reads the local credentials file in strict read-only mode; the access token lives only inside the Host process for the duration of a single request. The web endpoint is loopback-bound, and every response passes through a normalizer that strips tokens, identifiers, emails, and unknown provider fields before anything reaches the browser. It is built for developers who use a Claude Code subscription daily within DeepSeek Harness and want at-a-glance quota and rate-limit visibility without ever leaving the workspace.

Use Cases

  • Check remaining Claude 5-hour and weekly quota at a glance in the DSH Web UI
  • Hover the usage ring to inspect model-scoped weekly limits, rate-limit tier, and extra-usage state
  • Confirm whether quota has hit its cap before kicking off a long coding session

Best For

  • Developers using Claude Code subscriptions daily within DeepSeek Harness
  • Users who want real-time quota visibility without switching to a terminal
  • Development teams tracking API rate limits and extra-usage billing