browser_cdp
当用户明确希望连接到已运行的 Chrome 浏览器(connect_cdp)、扫描本地 CDP 端口、或以暴露 CDP 端口的方式启动浏览器(start + cdp_port)时,使用本 skill。用户没有明确提到 CDP、共享浏览器或远程调试时,启动浏览器不得携带 cdp_port,也不得使用 connect_cdp。CDP 模式会暴露浏览器历史、Cookies 等敏感信息,使用前须告知用户;同一 workspace 同时只能运行或连接一个浏览器。
供给资产档案
编程与开发 Agent
代码审查、仓库分析、测试、CI、GitHub、DevOps 与开发工作流 Skill。
场景
Testing and QA
I need my agent to test a web app, reproduce bugs, and verify fixes.
适配 Agent
Claude Code + Browser agents + CLI
适用于 Codex、Claude Code、Cursor、CLI 或自定义 Agent。
安装
就绪
npx skills add hyqibot/token-free-openclaw --skill browser_cdp
维护状态
新鲜
距上次推送 1 天
风险
需审查
Dependency or permission surface needs review
GitHub 质量
116
67/100 质量 · 70/100 信任
覆盖标签
审查说明
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent 采用评分卡
一眼查看信任、审计与安装准备度
这些分数综合公开仓库元数据、OpenAgentSkill 审查信号、维护新鲜度与安装准备度。它用于候选筛选,不替代人工审查。
质量
有潜力有用的候选项,但采用前应与替代方案比较。
信任
仅限沙盒有用但信任信号不足或混杂的候选项。在结果闭环证明任务匹配前,请保持在隔离工作区内使用。
审计
需审查对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。
OpenAgentSkill 信任评分 v5
安装前需人工审查
仅在沙盒中运行,并在用于真实工作前比较接近的替代方案。
Stars
116 个 GitHub Stars
仓库活跃度
116 个 Star,32 个 Fork
维护状态
距上次推送 1 天
许可证
Apache-2.0
安装
npx skills add hyqibot/token-free-openclaw --skill browser_cdp
安装安全性
credential-bearing install command, standard package or runtime install path
权限范围
secrets or environment access, shell or command execution
Agent 结果
暂未有 Agent 结果数据
文档
Usable metadata, review docs
风险摘要
生产前审查
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
- Stars/forks activity: 116 stars, 32 forks; issue activity unavailable in current metadata
- Dependency/runtime risk: command execution surface, credential or environment access
安装准备度
安装路径可用
- 安装路径可用
- 仓库证据可用
- 已声明许可证
- 暂无 Agent 验证结果证据
Agent 可读元数据
这个 Skill 的机器可读决策数据。
使用此区块或内嵌 JSON 判断 Agent 是否应安装该 Skill、选择替代方案,或先请求人工审查。
适用任务
- Browser automation 工作流
- Claude Code 团队
- builders willing to evaluate younger projects
- Navigate pages
适用 Agent
安装决策
- 命令
- npx skills add hyqibot/token-free-openclaw --skill browser_cdp
- 策略
- 阻止
- 人工审查
- 是
信任与风险
- 信任
- 62/100
- 审计
- 76/100
- 风险级别
- 需审查
结果闭环
- 端点
- /api/agent/outcome
- 事件 ID
- resolve
- 结果
- 5
不适用场景
- 需要厂商支持 SLA 的团队
- 没有内部安全审查的高合规环境
- 当前元数据中未发现重大风险信号
- 高风险权限提示:Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
Agent 安全 v2
32/100 · 避免自动安装
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
高
Shell 或命令执行
Skill 元数据引用了终端、CLI、Shell、子进程或命令执行工作流。
中
Browser automation
Skill may drive a browser or interact with web pages.
中
网络访问
Skill 可能访问远程页面、API、仓库或外部服务。
中
文件系统访问
Skill 可能读取或写入项目文件、文档、生成产物或本地工作区状态。
- 高风险权限提示:Shell or command execution, Secrets or environment access
- Dependency or permission surface needs review
安装目标
在你的 Agent 工作流中安装此 Skill
通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install hyqibot-browser-cdpAgent 解析计划
让 Agent 在安装前验证匹配度。
Resolve API 返回首选 Skill、替代方案、安全策略、审计说明、安装目标和可直接执行的提示词,无需抓取此页面。
打开 JSON
/api/agent/resolve?task=Use%20browser_cdp%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve 文本
/api/agent/resolve?task=Use%20browser_cdp%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
安装交接
/api/skills/hyqibot-browser-cdp/install
Agent 应检查
- 从 Resolve API 检查任务匹配与替代方案。
- 检查审计评分、信任评分和安全策略警告。
- 检查 Codex、Claude Code、Cursor 或 CLI 的安装目标兼容性。
复制提示词
Task: Use browser_cdp in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20browser_cdp%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/hyqibot-browser-cdp/install
Install command: npx skills add hyqibot/token-free-openclaw --skill browser_cdp
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent 交接
把安装路径交给 Agent,而不是再给一个目录页。
通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。
安装交接
/api/skills/hyqibot-browser-cdp/install
LLM 文本格式
/api/skills/hyqibot-browser-cdp/install?format=text
寻找替代方案
/api/skills/search?q=browser_cdp&limit=3
Agent 提示词
Use browser_cdp for this task. Review https://www.openagentskill.com/api/skills/hyqibot-browser-cdp/install, then install with: npx skills add hyqibot/token-free-openclaw --skill browser_cdpRegistry 元数据
用于自动选择 Skill 的 Agent 可读档案。
本页通过 Registry API 提供相同的决策、信任、审计、场景和安装信号,让 Agent 无需抓取界面即可排序。
Manifest
/api/registry/manifest/hyqibot-browser-cdp
LLM 文本
/api/registry/manifest/hyqibot-browser-cdp?format=text
安装别名
/api/registry/install/hyqibot-browser-cdp
推荐
/api/registry/recommend?task=Use%20browser_cdp%20in%20an%20agent%20workflow&limit=3
适配 Agent
Browser automation
平台
Claude Code, Browser agents
Agent 决策面板
Fallback candidate for Browser automation
先用此 Skill 做原型验证,并保留备选方案。
栈中角色
备选候选
主要匹配
Browser automation
信任标签
先做原型验证
安装路径
命令已就绪
适用场景
- Browser automation 工作流
- Claude Code 团队
- builders willing to evaluate younger projects
证据
- 仓库近期活跃
- 已提供安装命令或 GitHub 仓库
- 67/100 质量档案
- 2 个 OpenAgentSkill 交互事件
先审查
- 当前元数据中未发现重大风险信号
实施路径
- 1在沙盒 Agent 中安装它,并端到端完成一次Browser automation任务。
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
信任档案
仅限沙盒
有用但信任信号不足或混杂的候选项。在结果闭环证明任务匹配前,请保持在隔离工作区内使用。
GitHub 采用度
信息116 个 GitHub Stars
Star/Fork 活跃度
检查116 个 Star,32 个 Fork; 当前元数据中没有议题活跃度信息
近期维护
通过距上次推送 1 天
许可证清晰度
通过Apache-2.0
积极信号
- AI 审查已通过
- 安装路径可用
- 仓库证据可用
- 近期维护的仓库
- 安装命令未发现明显高风险模式
- 结果闭环已就绪,但需要首次真实 Agent 运行
安装前审查
- Quality score needs review
- Permission surface needs review: secrets or environment access, shell or command execution
- Stars/forks activity: 116 stars, 32 forks; issue activity unavailable in current metadata
- Dependency/runtime risk: command execution surface, credential or environment access
- Permission surface: secrets or environment access, shell or command execution
- 暂未有真实 Agent 结果报告
- 无人值守安装前需要人工审查
建议操作
仅在沙盒中运行,并在用于真实工作前比较接近的替代方案。
质量档案
有潜力 适用于 Agent 工作流的候选
有用的候选项,但采用前应与替代方案比较。
工作流匹配
在这些场景使用此 Skill
Operate web apps
Browser automation
I need my agent to control a browser, fill forms, and verify web app workflows.
Verify behavior
Testing and QA
I need my agent to test a web app, reproduce bugs, and verify fixes.
Operate local tools
Local desktop
I need my agent to operate local files and desktop apps in a repeatable workflow.
工作流匹配
加入完整工作流
Operate and verify web apps
Browser QA agent
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Scrape, clean, and reuse web data
Web data pipeline
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Turn skills into distribution
Content growth agent
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
替代方案短名单
安装前对比
可能适合该任务的相近 Skill。
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
MoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Cua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
概览
--- name: browser_cdp description: "当用户明确希望连接到已运行的 Chrome 浏览器(connect_cdp)、扫描本地 CDP 端口、或以暴露 CDP 端口的方式启动浏览器(start + cdp_port)时,使用本 skill。用户没有明确提到 CDP、共享浏览器或远程调试时,启动浏览器不得携带 cdp_port,也不得使用 connect_cdp。CDP 模式会暴露浏览器历史、Cookies 等敏感信息,使用前须告知用户;同一 workspace 同时只能运行或连接一个浏览器。" metadata: builtin_skill_version: "1.1" copaw: emoji: "🔌" requires: {} ---
# 浏览器 CDP 连接参考
**Chrome DevTools Protocol(CDP)** 允许外部程序连接并控制一个已在运行的 Chrome 进程。本 skill 覆盖三类场景:
1. **扫描本地 CDP 端口** — 发现正在运行的可连接 Chrome 2. **连接已有 Chrome** — 附加到外部 Chrome,不影响其运行 3. **启动暴露 CDP 端口的浏览器** — 让 Playwright 启动的浏览器对外可见
> **⚠️ 隐私提示:使用 CDP 前请知晓** > > - **默认模式**(`start` 不带 `cdp_port`):浏览器完全由 Playwright 私有管理,历史记录、Cookies、登录态**不会暴露**给任何外部程序。 > - **CDP 模式**(`start` + `cdp_port` 或 `connect_cdp`):任何能访问该端口的程序都可以读取浏览器的**完整历史记录、Cookies、当前页面内容、已保存密码**等敏感信息。仅在信任的本地环境中使用,不要在公共网络或多用户服务器上暴露 CDP 端口。
> **⚠️ 单实例限制:一个 workspace 同时只能运行/连接一个浏览器** > > 无论是 Playwright 启动的浏览器还是 CDP 连接,同一 workspace 内同一时间只允许存在一个。需要切换时,必须先执行 `stop`,再启动或连接新的浏览器。
---
## 何时使用
**仅在用户明确表达以下意图时才使用本 skill:**
- 用户说:「连接到我已打开的 Chrome」「扫描一下本地有没有可连接的浏览器」 - 用户明确希望多个 agent 或外部工具**共享**同一个浏览器实例 - 用户明确要求浏览器**对外可见/可调试** - 用户主动提到 CDP、远程调试端口等概念
**以下情况不要使用 CDP 模式,直接用普通 `start` 即可:**
- 用户只是说「打开浏览器」「帮我打开某网站」,没有提到共享或调试 - 用户没有明确说明需要暴露浏览器给其他程序 - 不确定用户是否了解 CDP 的隐私风险
**使用前须告知用户 CDP 模式会暴露浏览器历史、Cookies 等敏感信息,确认用户知情后再操作。**
---
## 场景一:扫描本地 CDP 端口
默认扫描端口范围 **9000–10000**,并发探测,速度很快。
```json {"action": "list_cdp_targets"} ```
指定单个端口: ```json {"action": "list_cdp_targets", "port": 9222} ```
自定义扫描范围(未找到时可扩大范围): ```json {"action": "list_cdp_targets", "port_min": 8000, "port_max": 12000} ```
**成功返回示例:** ```json { "ok": true, "found": { "9222": [{"title": "New Tab", "url": "chrome://newtab/", ...}] }, "message": "Found CDP endpoints on port(s): 9222" } ```
**未找到时** 返回 `ok: false`,并提示扩大范围或确认 Chrome 是否以 `--remote-debugging-port=N` 启动。
---
## 场景二:连接已有 Chrome(connect_cdp)
先扫描到端口后,再连接:
```json {"action": "connect_cdp", "cdp_url": "http://localhost:9222"} ```
- 连接成功后可正常使用 `open`、`snapshot`、`click`、`type` 等所有操作 - **不会影响 Chrome 进程**:执行 `stop` 时只断开 Playwright 连接,Chrome 继续运行 - 连接期间每次操作前会自动检查连接是否正常,断开时返回错误提示重新连接 - **隐私风险**:连接后 agent 可读取该 Chrome 的完整 Cookies、历史记录、当前页面内容,请确认用户知情 - **单实例**:如果当前已有浏览器在运行(无论是 Playwright 启动的还是另一个 CDP 连接),必须先 `stop` 再连接
---
## 场景三:启动带 CDP 端口的浏览器
让 Playwright 启动浏览器时暴露指定 CDP 端口,其他工具可同时连接:
```json {"action": "start", "cdp_port": 9222} ```
启动成功后返回: ```json { "ok": true, "message": "Browser started with CDP port 9222", "cdp_url": "http://localhost:9222" } ```
之后可用 `list_cdp_targets` 验证端口已暴露,或将 `cdp_url` 提供给其他 agent / 工具连接。
**注意:** - **隐私风险**:暴露端口后,任何能访问该端口的程序均可读取浏览器历史、Cookies 及页面内容,操作前请告知用户 - **单实例**:当前 workspace 已有浏览器运行时,无法再启动新浏览器,必须先 `stop`
---
## Cookies 与数据持久化
三种启动方式都复用同一个 workspace 的 `user_data_dir`:
| 启动方式 | Cookies 复用 | 对外可访问 | |---|---|---| | `start`(默认) | ✅ | ❌ | | `start` + `cdp_port` | ✅ | ✅ | | `connect_cdp`(已有 Chrome) | ✅(若该 Chrome 使用了相同目录) | ✅ |
---
## stop 行为说明
两种 CDP 模式对 `stop` 的响应截然不同:
- **`connect_cdp`**:agent 附加到用户已有的 Chrome,**不拥有**该进程。执行 `stop` 只断开 Playwright 连接,Chrome 继续运行,用户页面不受影响。 - **`start` + `cdp_port`**:agent 自行启动并管理浏览器。执行 `stop` 会**终止 Chrome 进程**,其他通过该 CDP 端口连接的外部工具也会断线。
| 当前状态 | stop 效果 | |---|---| | CDP 连接(`connect_cdp`) | 仅断开 Playwright 连接,**Chrome 进程继续运行** | | Playwright 启动的浏览器(`start` + `cdp_port`) | **终止 Chrome 进程**,外部 CDP 连接同时断线 |
---
## 清除缓存
```json {"action": "clear_browser_cache"} ```
- 浏览器运行中:通过 CDP 清除 HTTP 缓存,**无需重启** - 浏览器已停止:删除磁盘上的缓存目录 - Cookies 和 Local Storage **不受影响**
---
## 常见问题
**Chrome 启动后无法扫描到 CDP 端口?**
Chrome 必须以独立进程 + 指定 `user-data-dir` 启动,否则新实例会被移交给已有进程:
```bash pkill -x "Google Chrome" # 先关闭已有 Chrome /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \ --remote-debugging-port=9222 \ --user-data-dir=/tmp/chrome-debug-9222 \ --no-first-run ```
**CDP 连接中断后怎么恢复?**
任何操作都会返回: ```json {"ok": false, "error": "CDP connection lost (was: http://localhost:9222). Reconnect with action='connect_cdp'."} ``` 按提示重新执行 `connect_cdp` 即可。
技术详情
- 版本
- 1.0.0
- 许可证
- Apache-2.0
- 最近更新
- 2026年8月21日
- 发布时间
- 2026年8月21日
决策摘要
备选候选
仓库近期活跃
Agent 验证证据
Agent 验证证据
来自解析、审查、安装和一次小范围运行后的结果报告。
- 成功率
- —
- 近期失败
- —
- 结果
- 0
- 输出质量
- —
- 失败
- 0
- 不相关
- 0
- 安装次数
- 0
- 风险拦截
- 0
- 需要配置
- 0
- 生产环境
- 0
暂时没有 Agent 结果数据。首次 Agent 执行可以通过 /api/agent/outcome 报告成功、需要设置、风险拦截、失败或不相关。
增长闭环
分享工具包
为 browser_cdp 准备的场景化草稿,可手动发布到 X。
browser_cdp: 当用户明确希望连接到已运行的 Chrome 浏览器(connect_cdp)、扫描本地 CDP 端口、或以暴露 CDP 端口的方式启动浏览器(start + cdp_port)时,使用本... 116 stars https://www.openagentskill.com/skills/hyqibot-browser-cdp?ref=x
可选:带安装命令的回复
Listing + install path for browser_cdp: https://www.openagentskill.com/skills/hyqibot-browser-cdp?ref=x Install: npx skills add hyqibot/token-free-openclaw --skill browser_cdp
收录来源
Registry 收录
此列表来自公开来源,维护者认领获批前不会标记为官方。
- 创作者
- hyqibot
- 收录方
- OpenAgentSkill 社区索引
归属链接指向公开仓库或创作者主页。创作者可认领列表以更新所有权信号。
认领此 Skill所有者认领
认领此 Skill 页面
这条 Registry 收录 列表归属于 hyqibot,但尚未标记为官方。认领后可增加已验证所有者信号,使后续发布、安装和审计更新更值得信赖。
创作者外链工具包
将证据徽章加入你的 README
在开发者评估仓库的位置展示规范页面、当前信任与审计信号,以及真实的 Agent 验证证据。
[](https://www.openagentskill.com/skills/hyqibot-browser-cdp)
[](https://www.openagentskill.com/skills/hyqibot-browser-cdp)
[](https://www.openagentskill.com/skills/hyqibot-browser-cdp/audit)
[](https://www.openagentskill.com/skills/hyqibot-browser-cdp)作者
hyqibot
@hyqibot
健康信号
- GitHub Stars
- 116
- 质量评分
- 38/100
- 最近 GitHub 推送
- 2026年8月21日
- 框架提示
- 未知
- OpenAgentSkill 浏览量
- 2
- 复制安装命令
- 0
- 跳转点击
- 0
社区信号
告诉我们这个 Skill 是否对你的 Agent 工作流有帮助。汇总反馈会持续改善排序。
信任与安全
仅限沙盒
- GitHub 采用度116 个 GitHub Stars信息
- Star/Fork 活跃度116 个 Star,32 个 Fork; 当前元数据中没有议题活跃度信息检查
- 近期维护距上次推送 1 天通过
- 许可证清晰度Apache-2.0通过
- README/SKILL.md 完整度公开元数据需要更完整的 README/SKILL.md 上下文信息
- 依赖与运行时风险command execution surface, credential or environment access检查
相关 Skill
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsCua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
21.4K Stars