dsh-balance
Run the following command in DeepSeek Harness:
dsh plugin install Yogioo/dsh-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Yogioo/dsh-balance within DeepSeek Harness to install; full source is available at https://github.com/Yogioo/dsh-balance
About this plugin
Once you start running conversations with the DeepSeek API for any length of time, a small but persistent question creeps in: how much balance is left? You end up switching to the web dashboard or hand-crafting an HTTP call, breaking your flow and usually forgetting. dsh-balance solves this by surfacing the balance right inside the dsh web UI you already have open—a single line of text below the input box, on the same row as the context stats. Hover to see the split between gifted and topped-up credits; on failure the error message appears and the plugin silently retries every 60 seconds. None of this relies on a model call, so it costs zero extra tokens.
Three design points stand out. First, zero key exposure: the API key never leaves the host process (resolved via the dsh credentials service); the browser only fetches a cached JSON summary, so no secret ever reaches the front-end. Second, a check_balance tool is registered for the model, meaning you can simply tell your agent "check the balance" and get a result—handy as a budget guardrail in automation pipelines. Third, the install is truly zero-config: the package declares dsh.bundle, the installer appends it to the profile layer and mounts its own patch automatically. Restart dsh web and the readout is live; no config files to edit.
Who is it for? Developers who live in dsh web and want a glanceable balance at all times; automation authors who want a budget-check step inside agent workflows; anyone using DeepSeek who refuses to leave the current window just to check a number. MIT-licensed, single lightweight package—install it and forget about it.
Use Cases
- Glance at your DeepSeek API balance without leaving the dsh web chat interface
- Tell your agent to check the balance and get a real-time answer via the check_balance tool
- Add a budget guardrail step inside automation workflows to prevent overage
Best For
- Developers who run DeepSeek conversations daily in dsh web
- Automation authors who need a budget guardrail in agent workflows
- DeepSeek users who want zero-config, zero-key-exposure balance checking
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.