Introduction¶
When using Kimi Code and DeepSeek API simultaneously in DeepSeek Harness (DSH), checking usage windows and account balances often requires switching to separate consoles or other pages. When writing code or debugging agents, what is needed more is the remaining quota visible at a glance on the current page, rather than switching back and forth. The dsh-quota introduced below is a plugin for the DSH Web client, released by maintainer anysda. It displays the remaining Kimi 5-hour window via a badge on the Composer toolbar, and hovering expands a card showing quotas for multiple accounts and DeepSeek balance.
What is this¶
dsh-quota is positioned as a DeepSeek Harness web client plugin that displays Kimi Code quotas and DeepSeek API account balances in the Composer area. The repository is categorized as a client plugin; see the SkillHub entry for the community directory, and GitHub: anysda/dsh-quota for the source code. It does not replace the official billing backend; instead, under the premise that you are logged into DSH and the keys are held by the host process, it brings the numbers to the current page.
Core Features¶
Based on the repository README, the capabilities are as follows.
The badge on the Composer toolbar shows how much of the Kimi 5-hour window remains. Hovering over the badge opens a compact card: one line per configured account, listing the Kimi 5-hour window, monthly window, and DeepSeek API account balance. Clicking a row expands details: a progress bar for each window, showing how long until reset; the balance side shows top-up and grant related quantities. Progress color rules: Remaining ≥60% is Green, 30%–60% is Amber, Below 30% is Red. When the page is visible, numbers refresh approximately every 10 seconds.
The plugin provides data to the page via the DSH host; API keys are not saved in the browser. The logic for keys related to Kimi and DeepSeek requests is handled by existing configurations on the host side.
Installation and Enablement¶
In DSH, open Plugins, click Add plugin, and paste the repository address:
https://github.com/anysda/dsh-quota
No need to manually concatenate commands like dsh plugin add based on the plugin name; follow the steps above in the README.
Regarding authentication, the plugin uses DEEPSEEK_API_KEY and KIMI_CODING_API_KEY already existing in DSH. Sources can be Harness credentials, environment variables, or ~/.dsh/.credentials.yaml. Keys remain in the host process, and the page queries values from the host.
package.json specifies the plugin targets the web client, with immediately set to true, injecting runtime dependencies via a Cordis patch. The version number in current materials is 0.1.0, and the license is MIT.
Typical Usage¶
After installing and ensuring the two keys above are configured in DSH, simply open DSH Web and enter the interface with Composer.
- Check the toolbar badge to get an overview of the remaining Kimi 5-hour window.
- Hover over the badge to compare the 5-hour windows, monthly windows, and DeepSeek balances of multiple accounts in the card.
- Click the corresponding row when details are needed to view the reset countdown for each window or balance replenishment info, and decide whether to pause bulk calls based on the colors.
Apart from installation and key configuration, the README does not require additional configuration files or CLI parameters; behavior automatically polls and refreshes with page visibility.
Applicable Scenarios and Notes¶
Suitable for: Developers who frequently write Composer prompts in DSH Web and simultaneously use Kimi Code and DeepSeek API, wishing to monitor quotas on the same interface and avoid discovering the window is exhausted in the middle of coding.
Notes:
- The plugin runs under current DSH process permissions and reads keys configured by the host; before installing, it is recommended to browse the repository source code and confirm whether the MIT license meets your compliance requirements.
- Community directories (such as SkillHub) are independent ecosystem sites with no official affiliation with DeepSeek / Hypersphere; plugin source is based on the GitHub repository.
- Display accuracy and refresh frequency are based on the plugin implementation (10 seconds, visible page refresh); final reconciliation still depends on each service provider’s console.
Conclusion¶
dsh-quota brings Kimi Code dual-window quotas and DeepSeek balances into the Composer badge and hover card, reducing interruptions from switching pages to check quotas. For installation or source code, refer to the directory page https://www.skillhub.cn/plugins/anysda/dsh-quota and the repository https://github.com/anysda/dsh-quota.