Preface¶
When developing with or using DeepSeek Harness (DSH), you often need to send a screenshot of the current interface to the AI. Existing solutions are either third-party screenshot tools or require multiple copy-paste steps, making the workflow fragmented. Below is an introduction to the dsh-screenshot plugin, which integrates screenshot and annotation capabilities directly into DSH, chaining region selection, annotation, and draft insertion into one seamless workflow.
What Is This¶
dsh-screenshot is a Windows client plugin developed by maintainer opphk, with plugin ID dsh-screenshot. It adds screenshot and annotation functionality to DeepSeek Harness: select a region on the current screen, mark key areas with six annotation tools (rectangle, ellipse, arrow, brush, text, mosaic), and then place the image directly into the input draft (without auto-sending). It can also be copied to the clipboard. The plugin relies on DSH’s built-in FFI, requires no additional dependencies, and captures the screen in approximately 60–110 ms.
Core Features¶
- Entry point: Global hotkey
Ctrl+Alt+Q, or the camera button on the left side of the input box. - Region selection: Drag the mouse to select an area.
- Annotation: Six tools — rectangle, ellipse, arrow, brush, text, mosaic.
- Insert into draft: Press
Enterin the input box or click the confirm button; the selected area is attached to the input box (not auto-sent). - Copy to clipboard: Click the copy button; the image is placed in the clipboard and then the window closes.
- Hide window: When clicking the camera, you can first minimize the Harness window before capturing (“Hide current window”). The hotkey captures the current screen directly.
- Hotkey screenshot: Captures the current screen directly; after pressing
Enter, the image goes to the clipboard (return to the input box and paste withCtrl+V). - Feedback: A brief centered toast at the top reads “✓ Added to draft” or “✓ Copied to clipboard”.
- Cancel:
Esc, right-click, or✕to cancel the current operation. - Undo:
Ctrl+Zto undo the last action.
Installation & Enablement¶
To install:
- In DeepSeek Harness, open “Settings → Plugins”.
- Click “Add Plugin” and select the directory containing this plugin.
- Refresh the page.
After installation, the default global hotkey is Ctrl+Alt+Q, and a camera button will appear on the left side of the input box.
Typical Usage¶
- Screenshot and annotate: Press
Ctrl+Alt+Q, drag to select a region, choose an annotation tool to mark areas, then pressEnterto place the image into the input box. - Copy to clipboard: Click the camera button or press
Ctrl+Alt+Q, select and annotate, then click the copy button; the image goes to the clipboard and the window closes. - Hotkey screenshot (clipboard): Press
Ctrl+Alt+Qto capture the current screen directly, pressEnterand the image goes to the clipboard, then return to the input box and paste withCtrl+V. - Screenshot with hidden window: When clicking the camera button, check “Hide current window”; the plugin will minimize the Harness window first before capturing, preventing the plugin window from appearing in the screenshot.
Use Cases & Caveats¶
- Use cases: Scenarios where you need to quickly screenshot the current interface within DSH and send it to the AI, with optional annotation.
- Limitations: Windows only; the hotkey is fixed to
Ctrl+Alt+Qwith no settings entry — if the key combination is in use, it automatically switches to an available one; screenshots go only to the draft or clipboard and are not saved to disk in the workspace. - Permissions: The plugin runs with the current DSH process permissions. Review the source code and license before installing.
In Short¶
dsh-screenshot plugs screenshot and annotation directly into DSH’s input workflow, reducing tool switching and improving the efficiency of interacting with the AI. Once installed, press Ctrl+Alt+Q or click the camera button on the left of the input box to start taking and annotating screenshots.