deepseek-harness-usage
Run the following command in DeepSeek Harness:
dsh plugin install jeffy-Peng/deepseek-harness-usage
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install jeffy-Peng/deepseek-harness-usage in your terminal to install the plugin. Full source: https://github.com/jeffy-Peng/deepseek-harness-usage
About this plugin
You code all day with the DeepSeek API and two questions keep nagging: how much have I spent today, and what is left on the account? deepseek-harness-usage answers both in a single glance, right beneath the chat input. Open any existing session and the figure is there—no console switch, no spreadsheet, no mental tally. The readout auto-refreshes every three minutes, and top-ups or promotional credits are recognised so they never wipe out the days estimated spend.
Today spend is derived from the account balance delta (marked with a tilde) and can be fine-tuned against the official figure in Settings if they diverge. The total balance comes straight from DeepSeek public API, so it is authoritative. An optional, experimental platform-token channel lets the plugin try DeepSeek internal usage endpoint; if that fails it degrades gracefully without affecting core queries. Everything reuses the DSH-configured API key—no extra credential entry in the browser—and the plugin ships with zero telemetry.
This is not a per-session or per-model token dashboard. It exists to answer one practical question: how much DeepSeek quota did I use today, and how much is left? If you want a glanceable, real-time usage line without breaking flow, this lightweight plugin is exactly for that.
Screenshots
Use Cases
- Glancing at today spend while coding
- Checking remaining balance before the day ends
- Tracking overall usage across multiple clients sharing one API key
Best For
- Developers who code daily with the DeepSeek API
- Independent devs who need to control API spend
- DSH users who prefer a glance over opening a console
Related Plugins
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
