Credentials. Quota queries need vendor keys, and Xiaomi MiMo uses a console cookie, so store those credentials only in the plugin settings and never paste them into a shared agent prompt.
Who it is forA developer on a coding subscription plan who runs long coding sessions and needs to pace usage before a window resets.
The problemSubscription windows such as 5-hour or weekly limits run out without warning, which stops work in the middle of a task.
The outcomeYou see used percentage and reset times for each enabled window, and a chip row above the input box flags usage at 80 percent or more.
What you need first
- DeepSeek Harness (DSH) version 0.2.0 or later installed
- The dsh-cost-meter plugin installed from the README Installation section
- Provider keys or accounts only for the balance and quota sources you want to query
Steps
- Open Settings → Cost and find the Coding plan quotas section.
- Turn on the enable switch for each vendor you use and enter its key, or leave it blank to use the auto-discovery options the README lists for OpenCode Go.
- Set the display position and refresh interval for each enabled vendor.
- Turn on the quota strip in Display settings so the window percentages show above the input box.
- Click a chip in the quota strip to refresh that vendor's data immediately.
Prompt for your agent
Using the dsh-cost-meter plugin in DeepSeek Harness 0.2.0 or later, read the current usage percentage and reset time for each enabled coding plan window and for OpenCode Go, then list any window at 80 percent or more. Verify that the values match the sidebar quota cards for the same vendors.
Caveat. The README says that without a valid snapshot, SCNet monthly usage is estimated from the local ledger, so those figures are estimates rather than live vendor readings.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Han-1413141/dsh-cost-meter and "Watch coding plan and OpenCode Go quota before you hit a limit"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer