DeepSeek Harness 插件

Tencent/BrowserSkill#dsh-plugin-browserskill

Star 数 ★ 10563 下载量(近 30 天) 59,540 分类 浏览器与网页 收录于 2026-08-21 npm @wxg-prc-cpg/browser-skill-dsh-plugin

BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edge Agent Window,支持可访问性与 VOM 页面观察、截图、隔离的多会话控制和 Web UI 实时观察浮层。

安装

# npm 包(预构建)

dsh plugin --profile web add @wxg-prc-cpg/browser-skill-dsh-plugin

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:Tencent/BrowserSkill#path:/packages/dsh-plugin-browserskill

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Lightweight DeepSeek Harness (dsh) plugin for BrowserSkill.

It packages the canonical browser-skill agent skill, automatically heals PATH for ~/.local/bin (and any configured bskPath), and bundles an on-demand bsk CLI + browser extension setup flow — running on the exact same bsk CLI, daemon (DSH_SESSION_ID session isolation), and Agent Window runtime as Claude Code, Codex, Cursor, and OpenClaw.

Installation

Add the plugin to your DeepSeek Harness profile (or install it from the DSH Web UI plugin panel), then start DSH:

dsh plugin --profile web add @wxg-prc-cpg/browser-skill-dsh-plugin
dsh --profile web

Replace web with your profile name if you use another profile. No separate bsk install-skill step is needed.

On-demand setup (first run)

If bsk and the browser extension are already installed, start using /browser-skill right away:

/browser-skill open https://example.com, summarize the page, and close the browser session.

If bsk is not installed on your computer yet, simply invoke /browser-skill (or ask DSH to open a webpage):

  1. The plugin detects that bsk is missing and instructs the DSH agent to run the bundled cross-platform installer (bin/install-bsk.mjs, which installs bsk into ~/.local/bin without sudo).
  2. Because the plugin automatically adds ~/.local/bin to the DSH host PATH, bsk becomes available immediately in the same session without restarting DSH.
  3. The agent runs bsk doctor and gives you the Chrome Web Store or Edge Add-ons link if the browser extension still needs to be installed and connected.

You can also run the bundled CLI installer manually at any time:

npx --package @wxg-prc-cpg/browser-skill-dsh-plugin bsk-dsh-install

Configuration

The plugin exposes one optional setting in cordis.patch.yml and the DSH Web UI settings form:

Option Default Description
bskPath "bsk" Path to the bsk executable or its directory. Defaults to resolving bsk from PATH or ~/.local/bin ($BSK_INSTALL_DIR).

How it works

  • Unified CLI runtime: Uses DSH's shell execution tool to run bsk commands (bsk open, bsk click, bsk fill, bsk sync, bsk close) with full support for shared control, full-page screenshots, structured extraction, file upload/download, task video recording, recipes, and website debugging.
  • Automatic session scoping: The bsk daemon recognizes DSH_SESSION_ID automatically so concurrent conversations and subagents keep isolated browser scopes without manual --session flags.
  • MCP alternative: For restricted profiles without shell execution, connect bsk mcp through @deepseek-ai/dsh-mcp-client instead (see MCP setup).

Updating

Update the plugin in your DSH profile, then restart that profile:

dsh plugin --profile web update @wxg-prc-cpg/browser-skill-dsh-plugin --latest

Update the bsk CLI (bsk update --yes) and browser extension separately when a release requires a newer protocol version.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。