DeepSeek Harness Screenshot Plugin (dsh-screenshot)

Introduction

DeepSeek Harness (DSH) embraces a “everything is a plugin” philosophy, where users extend capabilities through Bundles in the conversation Composer. In debugging or demo scenarios, it’s often necessary to capture and annotate a specific region on the current screen, but DSH has no convenient native screenshot entry point. The dsh-screenshot plugin adds a screenshot button and keyboard shortcut to DSH, providing a full-screen region picker and annotation editor to meet this need.

What It Is

dsh-screenshot is a Windows-specific DeepSeek Harness Bundle. Maintained by wuyakun23 and licensed under the MIT License. It captures the screen via a native full-screen region picker (including or excluding the DSH window), provides an annotation editor, and supports copying or downloading the result. On first use, the plugin compiles a .NET helper program using Windows’ built-in csc.exe; subsequent runs reuse the cached binary to ensure speed.

Core Features

  • Screenshot Entry: Adds a camera button in the Composer and binds the Ctrl+Shift+S keyboard shortcut.
  • Full-screen Region Picker: An always-on-top overlay where you drag to select any region for capture. The overlay displays “Full Screen / Done / Cancel”; Enter confirms, Esc or right-click cancels.
  • Dual-Frame Capture: A single capture records two frames simultaneously — “including Harness window” and “minimized Harness” — with a “Minimize Harness” toggle in the bottom-left corner to select which frozen frame becomes the final result. This toggle is synced in “Settings → General → Screenshot.”
  • Annotation Editor: Provides rectangle, straight line (hold Shift to lock horizontal/vertical), freehand drawing, undo, and clear functions in the preview. Supports 8 colors and 3 line widths. Copying or downloading automatically bakes in the annotations.
  • High DPI Support: Captures at physical resolution (e.g., 3240×2160 under 200% scaling) rather than a virtually scaled-up image.
  • Settings Sync: The “Minimize Harness” toggle on the picker syncs to the settings page and serves as the default for the next capture.

Installation and Activation

Install from Repository

Run the following in the DSH Agent:

install_bundle target: https://github.com/wuyakun23/dsh-screenshot

Or pin to a specific commit (recommended):

install_bundle target: https://github.com/wuyakun23/dsh-screenshot.git#<40-hex-commit>

After installation, the Bundle takes effect for every session and persists across restarts.

Install from Plugin Marketplace

DeepSeek Harness has a built-in “Custom Plugin Marketplace” (an experimental feature, disabled by default):

  1. Open the “Plugins” page, click “More” next to “Experimental Plugins,” and enable “Custom Plugin Marketplace.”
  2. Go to the “Discover” tab and add the marketplace index URL:
    https://raw.githubusercontent.com/wuyakun23/dsh-screenshot/main/index.json
  3. Find “Screenshot” in the plugin list and install it.

The marketplace index is generated via npm run index and follows Plugin Marketplace Format 1.

Typical Usage

  1. After installing the plugin, a camera button appears in the Composer toolbar.
  2. Press Ctrl+Shift+S or click the camera button to bring up the full-screen region picker.
  3. Drag to select the area you want to capture, then click “Done.”
  4. In the preview, use the mouse to draw annotations (rectangle, straight line, freehand brush), select color and line width, and undo or clear as needed.
  5. Click “Copy” or “Download” — annotations are saved with the image or pasted to the clipboard.

Use Cases and Notes

Ideal for DSH users who frequently need to annotate and share on-screen screenshots, such as debugging conversation flows or demonstrating UI layouts.

Note: The plugin runs under the current DSH process permissions. It is recommended to review the source code and license (MIT) before installing. The plugin currently supports Windows 10/11 only and requires .NET Framework 4.x (system-bundled csc.exe). If you previously installed an older version via link: or @local/..., you must disable or remove it first to avoid activation failures due to route conflicts.

Summary

dsh-screenshot provides DSH with a complete screenshot and annotation workflow: from full-screen region selection to annotation editing, to copying or downloading — all completed locally with a speed of approximately 0.25 seconds (Harness kept visible) to 0.5 seconds (Harness minimized). Combined with high DPI support and settings sync, it is well-suited for scenarios where you need to showcase UI details within a conversation.

  • Directory page: https://www.skillhub.cn/plugins/wuyakun23/dsh-screenshot
  • GitHub: https://github.com/wuyakun23/dsh-screenshot
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye