Introduction¶
To have agents on DeepSeek Harness (DSH) open web pages, read structured page information, and then click or type, the common approaches are writing separate crawlers or Playwright scripts, or pasting HTML into conversations. These paths either become disconnected from the Harness’s tool invocation and approval flows, or fill the context with noise. The following introduces the community plugin dsh-browser-tools: it does not bundle a browser installation itself, and by default only connects to a local Chromium that has remote debugging enabled. It exposes navigation, accessibility snapshots, clicking, typing, and screenshot tools to the agent via the Chrome DevTools Protocol (CDP), and aligns with DSH’s native site rules and sensitive-operation approvals.
What Is This¶
dsh-browser-tools (GitHub: Kerberos255/dsh-browser-tools) is published by maintainer Kerberos255, and is categorized as a networking tool in the DSH plugin directory. In one sentence: it connects a running Chromium-compatible browser to the DSH Agent, performs web automation via CDP, while controlling the risks of misoperation and data leakage through session-scoped element references, loopback-only restrictions, and snapshot redaction.
The current plugin version is 0.2.0 (see the package.json in the repository), and it is licensed under MIT. It depends on Node.js >= 24 and DSH >= 0.2.0-rc.2; at runtime, an existing DSH host is also required, along with a browser instance that has a local CDP endpoint.
Core Features¶
The following capabilities are all taken from the repository README and package.json descriptions. The native tools exposed to the Agent after installation include:
- browser_navigate: Navigate to a specified URL.
- browser_snapshot: Obtain an accessibility-oriented structured snapshot of the page (not a full-page HTML dump).
- browser_click / browser_type: Click and type on the page; uses element references scoped within the session, reducing the risk of clicking stale elements after a page refresh; sessions for each tab are isolated from each other.
- browser_screenshot: Capture a screenshot image.
Policy and security-related behaviors:
- Supports three types of site rules: read, interact, and blocked; these are re-validated during navigation and interaction.
- Configured sensitive operations go through DSH’s native approval service.
- The CDP connection is restricted to loopback; supported credential fields are redacted in snapshots; audit-related artifacts are stored locally with bounded retention.
- Unsupported URL schemes are rejected; browser content is treated as untrusted input.
Optional capability: launch the browser on demand. If the CDP endpoint is unreachable and this option is enabled, the plugin launches an instance using the configured executable file and user data directory; if a listener already exists, it is reused without interrupting the browser you opened manually. The idle timeout defaults to 30 minutes (0 means this behavior is disabled); it only closes instances launched by the plugin. Because the browser is launched by DSH, this instance also ends when DSH exits.
Under the hood, it uses playwright-core 1.63.0 and CDP for communication; the plugin will not download or install a browser for you.
Installation and Enablement¶
Prerequisites: an existing DeepSeek Harness host, plus Node and DSH peer dependencies that meet the requirements declared in package.json.
Install via the DSH plugin manager (replace desktop with your profile name):
dsh plugin --profile desktop add github:Kerberos255/dsh-browser-tools
For reproducible deployments, you can pin the GitHub source to a specific commit. Restart DSH after the initial installation or after updating the code.
On the client: Settings → Plugins → Browser Tools, fill in the CDP address on loopback, defaulting to http://127.0.0.1:18801.
Typical Usage¶
1. Launch Chromium with Local Remote Debugging¶
Enable remote debugging on the port configured in the plugin (default 18801). It is recommended to use a separate browser user profile to avoid mixing it with your daily browsing.
Example startup parameters (replace the executable file path and profile directory with your environment):
--remote-debugging-address=127.0.0.1 --remote-debugging-port=18801 --user-data-dir=<browser-profile>
2. Connect and Open the Agent in DSH¶
After completing the CDP address configuration in the previous section, open the DSH Agent with Browser Tools enabled.
3. Snapshot First, Then Interact¶
Following the process recommended in the README: first navigate to the target page, request a snapshot before clicking or typing, and then perform click / type based on the element references in the snapshot; use screenshot when visual confirmation is needed.
If “launch the browser on demand” is enabled, when the first tool call cannot connect to CDP, the plugin will launch the executable according to the settings and wait for it to become ready; you need to configure the browser path, the directory corresponding to --user-data-dir, and additional parameters provided in the form of a JSON string array.
On the development side, you can run npm test for portable policy-class tests; real browser and CDP behavior still require an active DSH host, and CI alone cannot fully cover it. For example configuration, see config.example.json in the repository.
Use Cases and Considerations¶
Who it is for: developers who are already running Agents on DSH and want to use a unified toolchain for “open link → read structured page → limited interaction → screenshot for evidence”; who do not want to install another Chromium distribution inside the plugin, but instead reuse the locally well-debugged browser.
Runtime and trust boundaries: the plugin runs with the permissions of the current DSH process; snapshots and screenshots may contain private information, and runtime artifacts are stored in the local DSH data directory. Before installation, please review the source code and SECURITY.md and LICENSE yourself. The community directory SkillHub plugin page and the GitHub repository are maintained by the community, and have no official affiliation with DeepSeek / High-Flyer.
Optionally, the plugin can report restricted operation and failure metadata (event type, status, fixed error codes, duration, etc., without conversation content or credentials) to dsh-plugin-diagnostics; this diagnostics plugin is optional and does not change the host-side dependencies.
Plugins from the same maintainer: dsh-desktop-tools (Windows native applications), dsh-web-search-router (search provider routing), which can be combined as needed; this article will not expand on them.
Conclusion¶
dsh-browser-tools connects “a running Chromium + CDP” to DSH: structured snapshots and element references, site rules and native approvals, loopback-only and redaction, making it suitable for controlled web navigation and interaction within the Harness. The installation command and configuration are subject to the repository README.
- Directory page: https://www.skillhub.cn/plugins/Kerberos255/dsh-browser-tools
- GitHub: https://github.com/Kerberos255/dsh-browser-tools