dsh-ollama-usage
Run the following command in DeepSeek Harness:
dsh plugin install SeverusZh/dsh-ollama-usage
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install SeverusZh/dsh-ollama-usage in the DeepSeek Harness terminal to install the plugin; the source repository is https://github.com/SeverusZh/dsh-ollama-usage. After installation, restart DSH and the Ollama Cloud usage bars will appear in the sidebar.
About this plugin
If your workflow leans on Ollama Cloud APIs, you have probably hit the wall mid-session and wished you could glance at remaining quota without context-switching to a browser tab. dsh-ollama-usage brings that glance into the DSH sidebar: two minimalist bars—one light purple for the 5-hour session quota, one deep purple for the weekly quota—each labelled with live percentages, auto-refreshing every 60 seconds and collapsing gracefully on narrow panes.
The sidebar is the tip of the iceberg. The full settings panel expands into a dashboard with session and weekly progress bars, a countdown to the weekly reset, a per-model request-rank list, and the last five session-usage snapshots. On first run it walks you through logging in at ollama.com, creating an API key, and one-click verification; the credential is then persisted locally with 600 permissions and survives restarts. A background poller checks every 10 minutes, and a 401 response automatically clears the stale key with a friendly prompt—one manual step, then hands-off.
Built for developers who call Ollama Cloud through DSH and want quota visibility without leaving the editor. Your key is only ever sent to ollama.com's official usage endpoint, stored as a plain local file you can delete anytime, so you stay in the flow and keep your credentials on your own terms.
Use Cases
- Glance at Ollama Cloud session and weekly quota bars in the sidebar while coding in DSH
- Avoid mid-session interruptions caused by unexpected quota exhaustion
- Auto-restore usage snapshots and credentials across sessions and restarts without re-pasting keys
Best For
- Developers calling Ollama Cloud APIs through DeepSeek Harness
- Engineers who want quota state always visible to reduce browser-editor context switching
- Users who value local credential storage and minimal-permission access to the official API only
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.