Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add SparkElf/deepseek-harness-plus --skill browsergit clone --depth 1 https://github.com/SparkElf/deepseek-harness-plusWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/browser)<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/browser"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/browser/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/browser"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.00995 |
| Opus 5.5 | $0.00036 | $0.00398 |
| Sonnet 5.5 | $0.00018 | $0.00199 |
| Haiku 4.5 | $0.00009 | $0.00100 |
Grade C, and why
browser scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Cloud metadata endpointhighServer-side request forgery
One request to 169.254.169.254 can return temporary IAM credentials.
- headless 只访问用户明确给出的域名;禁止 localhost、127.0.0.1、169.254.169.254、内网管理端口; Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
浏览器自动化只有一个入口。先按用户意图选模式,再按需读取对应参考;不要把两套运行方式混在一起,也不要用 curl/静态抓取冒充浏览器操作。 What it actually says
Browser
浏览器自动化只有一个入口。先按用户意图选模式,再按需读取对应参考;不要把两套运行方式混在一起,也不要用 curl/静态抓取冒充浏览器操作。
触发条件
- 抓取网页、大屏、表格、图表数据,或把页面结果整理成 JSON / 截图;
- 用给定账号密码登录后取数;
- 在用户自己的本地 Chrome/Edge 里打开内网系统、登录、点击、填表、截图;
- 需要用户扫码、短信验证码或 MFA 接管;
- 排查 Browser Bridge / Companion / 旧 Chrome 扩展的安装与连接问题。
先选模式
默认:headless
只有用户明确要求本地浏览器或已登录 Chrome → companion
| 用户意图 | 模式 |
|---|---|
| “抓取这个大屏/网页/表格” | headless |
| 给了账号密码 | headless + 凭据插件 |
| “用我电脑上的浏览器” | companion |
| “用我已经登录的 Chrome” | companion |
| “用 companion” | companion |
| 需要扫码/短信/MFA 接管 | companion |
Agent 不得自行切换 companion;需要时先询问用户。
按需加载
主文件只负责路由和硬规则。进入某个模式后,再读取对应参考:
- headless(默认):references/headless.md — Playwright + Chromium 工作流、脚本模板、凭据登录、大屏抓取、失败处理、输出约定。
- companion(本地浏览器):references/bridge.md —
browser_bridge_status/browser_bridge_connect探测、门户一键配对、browser_*工具流程、安全边界与常见错误。 - 旧 Chrome 扩展安装/排查:references/chrome-install.md — 已废弃的扩展安装流程,仅在排查旧环境时读取;脚本在 references/scripts/ 下。
通用硬规则
凭据
- 用户账号密码先存凭据插件,Agent 只拿
secretRef; - 密码不得出现在 prompt、脚本、日志、截图;
- headless 通过环境变量/secretRef 登录;
- 登录失败、验证码或短信验证时停止并询问;不要自动切 companion。
安全
- headless 只访问用户明确给出的域名;禁止 localhost、127.0.0.1、169.254.169.254、内网管理端口;
- companion 只操作用户明确授权的域名,允许用户已登录的内网系统;授权边界见 references/bridge.md;
- 并发 1,默认超时 60s;
- 独立 context,不持久化 cookie;
- 提交、下单、删除、发布前必须用户确认;
- 不读取、不导出、不上传 Cookie、LocalStorage 或密码;不绕过验证码和风控。
成功判据
- 不以“点击成功”或“页面打开了”作为成功;必须校验数据条数、字段、接口状态或页面关键文本;
- 抓取结果同时写入
result.json与screenshot.png(路径见对应参考); - 页面为空或结构变化时报告事实,不猜数据、不伪造结果。
输出
/workspace/outputs/browser/<task>/
├── result.json # 数据、来源 URL、抓取时间
└── screenshot.png # 关键页面
回复用户:数据条数、字段、来源 URL、异常;不要把整页 HTML 贴进回答。
相关技能
browser-cdp-automation:接管真实 Chrome / CDP 的通用排障(本技能之外的环境问题)。dataops-collect:把抓到的表格/Excel/CSV 建成可问数的数据资源。
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/bridge.md 3.6 KB
- references/chrome-install.md 13 KB
- references/chrome-install.openai.yaml 248 B
- references/headless.md 3.5 KB
- references/scripts/check_browser_bridge_status.js 1.3 KB runs code
- references/scripts/cleanup_isolated_chrome.ps1 864 B runs code
- references/scripts/start_isolated_chrome.ps1 824 B runs code
- references/scripts/start_test_browser_bridge.cjs 8.3 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 81 lines · 90 tokens per session scan C 3c63293ef187
browser is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 995 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.
browser compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| browserSparkElf/deepseek-harness-plus | Skill | 1 | yesterday | MIT | C | 90 | Claude Code, Codex |
| browser-use-cliamplifthq/oh-my-dsh | Skill | 20 | 1mo ago | MIT | C | 32 | Claude Code, Codex |
| dsh-tui-guideccch1mneyyy/dsh-TUI | Skill | 8.7k | today | MIT | A | 41 | Claude Code, Codex |
| modsearchliustack/modsearch | Skill | 1.1k | 8d ago | MIT | A | 99 | Claude Code |
| game-devsandbaseai/sandbase-skills | Skill | 212 | 11d ago | Apache-2.0 | A | 50 | Claude Code |
| screenshot-capturesandbaseai/sandbase-skills | Skill | 212 | 11d ago | Apache-2.0 | A | 45 | Claude Code |
| review-changesamplifthq/oh-my-dsh | Skill | 20 | 1mo ago | MIT | A | 22 | Claude Code, Codex |