DeepSeek Harness Plugin

Tong-yu-ha/dsh-quicklook

Stars ★ 1 Category Tools & Capabilities Added 2026-12-01

Press one global hotkey to send the foreground window into the conversation, including its title, process name and file path.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Tong-yu-ha/dsh-quicklook

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

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.


Same task, five steps down to two

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

  1. Stay in whatever app you were in (SolidWorks, a settings page, an error dialog, a browser)
  2. Press Ctrl+Shift+Q
  3. DSH comes to the front with the screenshot, window info and a preset question in the composer
  4. 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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.