ChatGPTClaudeGrok / X / CursorGemini

dsh-visual-annotator: Let DeepSeek Harness Understand the Web Elements You See

zhongqixiao/dsh-visual-annotator

Tools & CapabilitiesVerified
Listed on 2026-11-05
Page last updated 2026-11-07

A DSH plugin that lets you pick, annotate, comment on and screenshot elements of a real Chrome/Edge page, handing locators and screenshots to the agent so frontend edits match what you actually see.

dsh-visual-annotator is a DSH plugin that turns elements on a real Chrome/Edge page into locator data the agent can read. It addresses the gap where the agent cannot see your current page and must guess structure from text: you pick an element and write a comment, and the plugin produces a unique CSS selector, URL, coordinates and size, text excerpt and screenshot, inserted into the composer as a reference chip. On submit the agent calls the read tool for the full context and edits the frontend against the page you actually see, while the picking layer is injected via Shadow DOM so page styles stay intact.

How to Install

install
dsh plugin --profile web add github:zhongqixiao/dsh-visual-annotator
Category
Tools & Capabilities
Platform
DSH Plugin
Author
zhongqixiao
Distribution
Plugin

dsh-visual-annotator Key Features

Shadow DOM element pickingElement locators and screenshotsComments packed as structured refsComposer chip auto-expansionTakes over existing Chrome/Edge
Listed on dsh-plugin.org

dsh-visual-annotator Repo Summary

What Does It Do?

It is a DSH plugin for DeepSeek Harness that lets you pick, annotate, comment on and screenshot elements of a real Chrome/Edge page, then hand the element locators plus your comments and screenshots to the agent. It solves the problem of the agent not seeing the page you are actually looking at: you point at a target element and write your change request, and the agent edits the frontend against the page as you see it. Maintained by ZhongqiXiao under the MIT license, written in JavaScript and last updated on 2026-11-05.

Core Features

  • Element picking layer: hover highlighting and click-to-pick, injected into the page via Shadow DOM so page styles stay untouched.
  • Element-level capture: a unique CSS selector per element plus page URL, viewport coordinates and size, text excerpt and element screenshot.
  • Comments and reference chips: attach a comment to each picked element and insert a real composer chip ("标注 #pN") into the DSH GUI input; on submit it expands into a full locator block with selector, URL, coordinates, comment and screenshot path, falling back to plain text when the chip pipeline is unavailable.
  • Browser takeover: launches Chrome/Edge with a dedicated profile and takes over an existing instance instead of opening a duplicate window, with a live tab list for switching tabs in the same window.
  • Screenshot pipeline: element screenshots are stored locally and inserted as real image attachments in the composer.
  • Agent-side read tool: registers a tool with the agent that returns one annotation by id or all current annotations with full details.

How to Use This Plugin?

After enabling it in DSH Desktop, open the element annotation panel in the right sidebar of the GUI, enter an address and start debugging in Chrome; the plugin opens a real Chrome window or takes over an existing instance. Turn on picking mode, hover to highlight and click to pick an element, write a comment and insert the reference, and a reference chip plus the element screenshot attachment appear in the input box. Submit the conversation as usual; the agent receives the "标注 #pN" reference, calls the read tool for the full locator context and then edits the frontend code against the page. Running it requires Node.js 22 or newer, the web client platform of DSH Desktop, and Chrome or Edge installed locally.

How to Troubleshoot This Plugin?

If the element annotation panel does not appear in the right sidebar after enabling, the plugin is not active; follow the official instructions to confirm it is in the profile's enabled list, then restart DSH Desktop. If the reference chip does not show up, the chip pipeline is usually unavailable and the plugin falls back to plain-text insertion, so the annotation can still be submitted normally.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: zhongqixiao/dsh-visual-annotator. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ