dsh-commandcode-usage
Run the following command in DeepSeek Harness:
dsh plugin install zouxiaoyang/dsh-commandcode-usage
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install zouxiaoyang/dsh-commandcode-usage in a DeepSeek Harness terminal to install the plugin; the source is available at https://github.com/zouxiaoyang/dsh-commandcode-usage .
About this plugin
If your DeepSeek Harness relies on CommandCode, checking credit balance, the 5-hour window, and the weekly window often means leaving the editor, logging into a console, and scanning through billing pages. dsh-commandcode-usage collapses that loop into a single click at the bottom of the DSH sidebar, so usage and balance data live right where you are working.
The panel presents three layers of information at a glance. Summary cards show request count, success rate, token consumption, and total spend. Progress bars track the monthly quota, the 5-hour rolling window, and the weekly window, each annotated with its exact reset time (today, tomorrow, or N days later at HH:mm) so you always know when credits refresh. Color-coded percentage capsules shift to red, amber, or green based on remaining usage, flagging tight spots immediately. A footer line rounds out the view with account, plan, and subscription status. The whole card adapts to DSH light and dark themes with gradient headers, animated icons, and stat tiles that keep the layout clean.
Beyond the visual panel, the plugin registers a commandcode_usage tool that agents can call mid-conversation to query live usage and balance. This is useful when a long multi-step task needs to self-monitor quota and warn before credits run dry. In short, if you run CommandCode-powered work in DSH, this turns constant manual checking into a sidebar widget that shows up the moment you think about it.
Use Cases
- Check token spend and total cost after long multi-turn sessions to stay within budget
- Monitor the 5-hour and weekly window remaining before credits run out
- Let the agent call commandcode_usage mid-conversation to self-warn on quota limits
Best For
- Developers running CommandCode-powered work in DeepSeek Harness
- Individual users who need to check credit balance and reset time often
- Teams that want agents to self-monitor quota boundaries and reduce manual checks
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.