Tencent/BrowserSkill--packages-dsh-plugin-browserskill ↗★ 2.0k
@wxg-prc-cpg/browser-skill-dsh-plugin
为模型提供浏览器自动化控制工具
AI 分析
适合需要AI Agent执行网页自动化操作的任务,需提前安装并配置bsk CLI。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Tencent/BrowserSkill#72876cc20b1cc4f3a34f9dd8a48b2e7e91f0d08f&path:packages/dsh-plugin-browserskill说明文档
阅读完整 README ↗Configuration
After installing the plugin, edit your profile's cordis.patch.yml. For the web
profile, the default location is ~/.dsh/profiles/web/cordis.patch.yml. If you set
DSH_HOME, use $DSH_HOME/profiles/web/cordis.patch.yml instead. Replace web with
your profile name as needed.
If the file contains only comments and [], keep the comments and replace []
with the YAML below. If it already contains patch entries, add this entry to the
existing list or edit its existing id: browserskill entry. Keep a single
top-level YAML list. This overrides the plugin registered by the installed bundle:
- id: browserskill
config:
bskPath: bsk
defaultTimeoutMs: 120000
maxSessions: 5
observationEnabled: true
thumbnailIntervalMs: 1500
idleIntervalMs: 8000
lazyTools: true
Change bskPath to the full path of your CLI binary if it is not on dsh's PATH.
A patch replaces the entry's entire config object, so keep all overrides you need
together in that object.
Configuration changes follow dsh.profile.patchReload in the profile's
package.json: live (the default for web) applies changes when you save the
patch file; startup requires restarting the profile. Restart after upgrading
the plugin in either case.
All fields are optional; omitted fields use the defaults below:
| Option | Default | Purpose |
|---|---|---|
bskPath | bsk | Path to the CLI binary. |
defaultTimeoutMs | 120000 | Default command timeout in milliseconds. |
maxSessions | 5 | Maximum concurrent sessions started by this plugin. |
observationEnabled | true | Enable live browser observation. |
thumbnailIntervalMs | 1500 | Screenshot interval for active sessions, in milliseconds. |
idleIntervalMs | 8000 | Screenshot interval for idle sessions and the recent-activity window, in milliseconds. |
lazyTools | true | Reveal the browser tools when the skill is invoked. Set false to register them at startup. |
With lazyTools: true, only the skill's catalog entry is initially advertised to
the model. The six browser_* tool schemas are added to the system prompt after
the browser-skill skill is successfully invoked, either by the model or through
/browser-skill. Set lazyTools: false to make the tools available immediately.