AI Agent Hub
Back to plugins
🖥️

dsh-usage-info

Client Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install navid-kianfar/dsh-usage-info

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

Run dsh plugin install navid-kianfar/dsh-usage-info in your terminal to install the plugin from https://github.com/navid-kianfar/dsh-usage-info .

About this plugin

When running long sessions in the Web Client, context occupancy creeps toward the window limit and the account balance quietly approaches zero, yet neither number appears where you are actually looking. dsh-usage-info surfaces both figures right in the session header for an at-a-glance readout, and a single click opens a panel that breaks down exactly what is consuming the window, so you never have to switch tabs or grep through logs again.

The panel splits the current request into system prompt, tool definitions, and conversation body as proportional parts, making it immediately clear which component is eating space. Balance reads are routed through the host process so the bearer token never reaches the browser, and every monetary figure preserves the exact decimal string the provider returned from JSON parse through wire to display, eliminating floating-point rounding. Low-balance threshold, poll cadence, and cache TTL are all adjustable live from the settings card. The balance backend is a swappable capability interface; to bill against a non-DeepSeek source, implement the same Service Definition and mount your plugin in place of the default provider.

This plugin is a natural fit for daily Harness Web Client users who run extended conversations and want constant awareness of token spend and remaining balance. It also serves teams on third-party billing who need a custom balance source: swap in one provider plugin and the rest of the readout logic stays untouched, with no changes to context-occupancy tracking.

Use Cases

  • Check remaining context window during extended conversations
  • Verify account balance without leaving the chat interface
  • Switch to a third-party billing backend and view balance details

Best For

  • Harness Web Client users running frequent long conversations
  • Developers who need real-time visibility into token spend and cost
  • Teams on third-party billing seeking a custom balance source