dsh-quicklook
tong-yu-ha/dsh-quicklook
Press one global hotkey to send the foreground window into the conversation, including its title, process name and file path.
설치
dsh plugin --profile web add github:tong-yu-ha/dsh-quicklookREADME
![]()
dsh-quicklook
Show me what you see.
Press Ctrl+Shift+Q and the window you're looking at lands in the conversation — title, process name and file path included. No screenshot files, no drag-and-drop. DSH jumps to the front, you just ask.
A Windows plugin for DeepSeek Harness. Runs with normal user rights, never triggers UAC.

The problem
Showing the AI your screen currently takes five steps:
Win+Shift+S → drag a region → switch back to DSH → Ctrl+V → type
Five steps, and it breaks your train of thought.
With this plugin:
Ctrl+Shift+Q → type
Two steps.
More than a screenshot
Along with the pixels, the plugin captures the context:
[screenshot]
Window: SolidWorks - bracket-assembly.SLDASM
Process: SLDWORKS.exe pid 12345
Path: D:\design\bracket-assembly.SLDASM
---
What looks wrong in this dialog?
So the model doesn't see "an image" — it sees "you're editing this file, on this screen". No screenshot tool can give you that.
Install
dsh plugin --profile <your-profile> add github:yudhe/dsh-quicklook
Or the prebuilt release:
dsh plugin --profile <your-profile> add https://github.com/yudhe/dsh-quicklook/releases/download/v0.1.0/dsh-quicklook-0.1.0.tgz
Restart DSH afterwards. The plugin spawns a small background helper that listens for the hotkey.
Usage
- Stay in whatever app you were in (SolidWorks, a settings page, an error dialog, a browser)
- Press
Ctrl+Shift+Q - DSH comes to the front with the screenshot, window info and a preset question in the composer
- Hit enter — or rewrite the question
Configuration
Defaults live in DEFAULTS inside lib/index.js and can be overridden from the plugin config panel:
| Key | Default | Meaning |
|---|---|---|
hotkey | Ctrl+Shift+Q | Global hotkey: Ctrl/Alt/Shift/Win + letter/digit/F1-F12 |
presetQuestion | 帮我看看这张图 | One plain sentence, no scene guessing. Replace it with your own wording, separate several with | to rotate, or set it to an empty string to send the image alone |
includeProcess | true | Attach process name, pid and path |
activateWindow | true | Bring DSH to the front after sending |
pollMs | 800 | How often to look for a new screenshot |
Privacy
- Captures one frame at the moment you press the hotkey. No continuous recording, ever.
- The JPEG is written locally to
%LOCALAPPDATA%\dsh-quicklook\shots\and overwritten next time. - It travels through DSH's own attachment pipeline — identical to you uploading an image by hand.
- No telemetry, no account, no remote service.
How it works
hotkey pressed
└─ helper (resident PowerShell, normal rights)
├─ RegisterHotKey
├─ GetForegroundWindow
├─ CopyFromScreen → resize to 1600px long edge → JPEG 80
└─ writes shot.jpg + shot.json
└─ plugin host side
├─ notices the new shot → ctx.attachments.admitPromptContent()
├─ session.append('user/message', ..., { surfaceOp: 'append' })
└─ activates the DSH window
Why a separate helper? Because the hotkey must work while DSH is not the foreground app, and DSH's own process never sees background keystrokes.
Limitations
- Windows only (Win32
RegisterHotKey/CopyFromScreen) - DRM-protected video (Netflix etc.) captures as black — OS-level protection
- The lock screen and UAC prompts are unreachable — secure desktop
- A few GPU-rendered windows may capture black (we copy the foreground region, which works for most)
- If another app owns the hotkey, registration fails and the helper log says so
Logs: %LOCALAPPDATA%\dsh-quicklook\helper.log and plugin.log
License
MIT