DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to watch coding plan and OpenCode Go quota before you hit a limit with DSH Cost Meter

Show rolling usage percentages and reset times for supported coding plans and OpenCode Go in the sidebar and quota strip.

  • Money
  • Intermediate
  • 30 minutes
  • From the README
  • Any agent

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

  1. Open Settings → Cost and find the Coding plan quotas section.
  2. 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.
  3. Set the display position and refresh interval for each enabled vendor.
  4. Turn on the quota strip in Display settings so the window percentages show above the input box.
  5. 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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page