dsh-web-search-browser

August 14, 2026 · View on GitHub

A browser-based web-search skill for DeepSeek Harness (DSH). Instead of using DSH's built-in web_search API, this skill drives your local Microsoft Edge through Playwright MCP to run real searches on Bing, feeds the page snapshot back into the DSH context, and filters every result through a three-tier safety rule (🔒 trusted / ⚠️ suspicious / 🚫 blocked) before answering.

面向 DeepSeek Harness (DSH) 的「浏览器网页搜索」技能:不走 DSH 内置的 web_search 接口,而是通过 Playwright MCP 驱动本机 Edge 打开必应(Bing)真实搜索,把页面快照导回 DSH 上下文,再按「🔒 可信 / ⚠️ 可疑 / 🚫 拦截」三级安全规则逐条过滤后输出结果。

Features / 功能特性

  • 🖥️ 真实浏览器搜索:--browser msedge 直接调用本机 Edge,无需下载 Chromium。
  • 🔍 必应搜索:打开 Bing 结果页并抓取标题 / 域名 / URL / 简介。
  • 🛡️ 三级安全过滤:可信(可深入阅读)/ 可疑(只列不进入)/ 拦截(不采纳),纯规则过滤、无外部依赖。
  • 🚫 硬性铁律:绝不自动下载任何文件,绝不给出可疑站下载链接。
  • 📋 中文输出:按「可信结果 / 仅供参考 / 已拦截」固定格式分组输出。

Install / 安装

See SKILL.md section 1 for the full setup; in short:

  1. Install the Playwright MCP package:
    npm install -g @playwright/mcp@latest --no-audit --no-fund
    
  2. Register the MCP client in your DSH profile's cordis.yml (one entry per MCP server):
    - id: mcp-playwright
      name: '@deepseek-ai/dsh-mcp-client'
      config:
        serverName: playwright
        transport: stdio
        command: npx.cmd
        args: ['-y', '@playwright/mcp@latest', '--browser', 'msedge']
    
  3. Restart DSH, then place this SKILL.md into your DSH skills directory (e.g. .agents/skills/web-search/SKILL.md).

Usage / 使用

Trigger words: 联网搜索、浏览器搜索、web search、playwright MCP、edge 搜索、搜索安全过滤。 Search flow, safety classification and output format are documented in SKILL.md.

License

MIT