{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "aisland-sjl-dsh-usage--monitor-deepseek-balance-in-dsh-dock",
 "repo": "Aisland-SJL/dsh-usage",
 "repo_url": "https://github.com/Aisland-SJL/dsh-usage",
 "repo_slug": "aisland-sjl-dsh-usage",
 "title": "Watch DeepSeek balance and daily tokens in the Harness dock",
 "page_title": "How to watch DeepSeek balance and daily tokens in the Harness dock with DSH Usage",
 "summary": "Install the plugin so balance, today's tokens, and cache hit stay visible while you work in dsh web.",
 "who": "A developer who runs DeepSeek Harness Web GUI daily and wants to see remaining credit and token burn without leaving the app.",
 "problem": "Checking the DeepSeek balance and token usage means opening a separate dashboard, so spend can go unnoticed during long sessions.",
 "outcome": "A pinned dock shows the balance, today and month token totals, and cache hit rate inside the Harness Web GUI, refreshing in the background every 5 minutes.",
 "steps": [
  "Add your DeepSeek key in Harness credentials as DEEPSEEK_API_KEY, since the default credential ref for DeepSeek is that name.",
  "Run `dsh plugin --profile web add \"github:Aisland-SJL/dsh-usage\"` to install the plugin into the Web profile.",
  "Fully restart the web server with `dsh web`, then hard-refresh the browser.",
  "Open the gear in the dock to choose which widgets to pin, collapse, or hide.",
  "Click the refresh control in the dock to re-query the balance right away."
 ],
 "agent_prompt": "In the repo Aisland-SJL/dsh-usage, follow the install steps for the web profile and confirm the dock shows a DeepSeek balance value after a hard refresh of <dsh web URL>. Report the balance shown and whether the status is a number or a not-configured message.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says the plugin targets DeepSeek Harness 0.2.0-rc.2 and that a full 0.1.x-host regression has not been performed, so older hosts may not work.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "javascript",
 "requirements": [
  "DeepSeek Harness host, version 0.2.0-rc.2 for v0.3.1 of this plugin, with the dsh CLI installed",
  "An API key for each provider you want to query, configured through Harness credentials (for example DEEPSEEK_API_KEY)",
  "Node.js and npm only if you plan to run the offline tests or develop the plugin"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The DeepSeek API key must be stored in Harness credentials, and you should never paste it into shared logs, screenshots, or agent prompts."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/aisland-sjl-dsh-usage/monitor-deepseek-balance-in-dsh-dock/",
 "md": "https://dedupedai.com/use-cases/aisland-sjl-dsh-usage/monitor-deepseek-balance-in-dsh-dock/index.md",
 "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 hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/aisland-sjl-dsh-usage--monitor-deepseek-balance-in-dsh-dock.json",
 "api_version": "v1"
}
