Preface¶
When running agents or local tasks in DeepSeek Harness for long periods, you often need to keep an eye on the Task Manager or third-party monitoring tools to figure out whether the CPU, GPU, or memory is the bottleneck. Switching between windows breaks the debugging flow. The dsh-perf-hud introduced below overlays utilization rates—and optionally temperature readings—directly onto the Harness Web interface. Data is collected and displayed locally only, with no dependency on an external monitoring window.
What Is This¶
dsh-perf-hud (repository ChendarCe/dsh-perf-hud) is released by its maintainer ChendarCe and is categorized as a client-side plugin in the SkillHub plugin directory. It renders a fully transparent performance HUD inside the Harness window: three lines of text showing CPU, GPU, and memory utilization, and—after an optional helper is installed—CPU package temperature. GPU temperature is available only when the graphics card exposes a temperature sensor; otherwise it shows —.
Unlike standalone desktop always-on-top widgets, this card floats above the Harness content, scales and maximizes along with the Harness window, and snaps to the nearest window corner when released, making it easy to observe local load while you work.
Core Features¶
Metrics and Data Sources¶
The plugin refreshes roughly once per second. The source of each metric is as follows (consistent with the README):
| Metric | Source |
|---|---|
| CPU utilization | CPU time delta from node:os |
| Memory utilization | os.totalmem() / os.freemem(), same definition as Task Manager’s “In use” |
| GPU utilization | Busiest engine from the Windows GPU Engine performance counter (same as Task Manager) |
| CPU temperature | Optional helper: CPU Package sensor from LibreHardwareMonitor |
| GPU temperature | Only when the GPU provides a temperature sensor; most integrated GPUs lack a dedicated sensor, so it shows — |
Interface and Interaction¶
- Transparent overlay: no card background or border; text has a soft glow so it is readable over any interface content.
- Dragging and anchoring: can be dragged to any position and anchors to the nearest window corner when released; it maintains its relative position on maximize, restore, or window resize.
- Quick actions: double-click to return to the top-right corner; arrow keys for fine adjustment; hover over the right-side arrow to collapse to a single line.
- Load-based colors: utilization ≥70% amber, ≥90% red; temperature ≥78 °C / ≥88 °C follows the same scheme; when readings go stale the whole card dims to avoid flashing a false 0.
- Themes: uses only
--dsw-alias-*design tokens and follows Harness light, dark, and custom themes.
Locality and Security Boundary¶
Metrics are served by a local route provided by the plugin; it accepts only loopback, same-origin requests and returns 403 for anything else. The README explicitly states that monitoring data is not uploaded.
Installation and Activation¶
Environment requirements:
- Windows 10/11 (GPU counters, PowerShell helper logic, and the temperature helper are Windows-only).
- DeepSeek Harness with the Web UI already installed.
Install from GitHub or a local folder via Harness’s plugin page, or run the official command in the terminal:
dsh plugin add ChendarCe/dsh-perf-hud
After installation, reload the interface once to see the HUD. In package.json the client is configured with platform: "web", immediately: true, and theme/locale-related dependencies are injected, so in most cases no additional configuration file is needed.
The plugin runs with the permissions of the current dsh process; before installing, it is recommended to review the source code and the MIT license on GitHub to confirm it meets your security policy.
Typical Usage¶
Utilization Only (Default)¶
Without installing the temperature helper, the HUD already shows three lines of CPU / GPU / memory utilization; the temperature cells show —. This is suitable for quickly confirming whether a Harness session is saturating the GPU or memory.
Optional: CPU Package Temperature¶
When you need real CPU package temperature, run once as administrator inside the repository:
helper\setup.cmd
This script downloads and configures:
- LibreHardwareMonitor 0.9.6 (portable, library mode) to read sensors;
- PawnIO 2.2.0 signed kernel driver, so MSR can be read even when Windows “Memory Integrity” (HVCI) is enabled, without disabling that security option;
sensor-helper.ps1, which writes a small JSON file roughly every 0.4 s;- Scheduled task
DSH Perf Sensor(runs at logon, highest privileges, no window), so no further permission prompts appear.
Files default to D:\DSHTools (if a D drive exists), otherwise %LOCALAPPDATA%\DSHTools; the plugin reads from one of these two locations.
The README reports the helper’s overhead on an 8-core laptop as roughly 0.08% CPU on one core and about 87 MB of memory, mostly waiting on the driver rather than continuously consuming CPU.
To remove the helper:
helper\uninstall.ps1 # stop the task and uninstall the driver
helper\uninstall.ps1 -RemoveFiles # and delete the helper files
Applicable Scenarios and Notes¶
Suitable for: local agent development and long-task debugging with Harness on Windows, where you want to see CPU / GPU / memory utilization consistent with the Task Manager without leaving the current window, plus an optional CPU package temperature.
Limitations and notes (from the official documentation):
- Windows only; Linux / macOS are not supported.
- The HUD lives inside the Harness window, not as a standalone desktop always-on-top window.
- Intel integrated GPUs typically lack a dedicated GPU temperature sensor, so the GPU temperature cell is often
—; you can refer to the CPU package temperature on the same die instead. - The temperature helper involves administrator privileges, a third-party driver, and a scheduled task; if you don’t need temperature, use the
uninstallscript to clean up. - The community directory SkillHub is an independent ecosystem site with no official affiliation with DeepSeek / High-Flyer; plugin star counts follow the directory page (currently 0), and functionality follows the repository README.
Conclusion¶
Following the steps above, you can keep an eye on local performance in Harness with a transparent, draggable HUD, and add CPU temperature on demand with helper\setup.cmd. For more details and preview images see the GitHub README; the installation entry can also be reached from the SkillHub directory page.