← 返回 Skills 市场
WSL Chrome CDP
作者
animaiontj
· GitHub ↗
· v1.0.0
· MIT-0
464
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install wsl-chrome-cdp
功能描述
自动检测并启动 Windows Chrome 调试模式,实现 WSL2 环境下对 Chrome 浏览器的无缝远程控制。
安全使用建议
What to check before installing:
- Inspect enable-browser.sh yourself (it is short and human-readable). It runs curl, unsets proxy vars, finds your Windows IP, and invokes PowerShell to start Chrome with --remote-debugging-port=9222 and a user-data-dir in your Windows profile.
- The manifest claims permission to write ~/.openclaw/openclaw.json and to exec scripts/start-chrome-debug.bat, but the package does not include code that writes that file and the .bat is not present — ask the author to explain/remove the write permission or provide the missing file.
- Starting Chrome with remote-debugging opens a local TCP port (9222). Make sure your firewall and network settings do not expose that port to untrusted networks. Only run this on machines you control.
- If you are unsure, run the script manually from a terminal so you can see output and stop it; prefer manual invocation over enabling any automatic/unattended mode.
- If you will allow the skill to edit ~/.openclaw/openclaw.json, back up that file first and verify any changes after installation.
Overall: the functionality matches the description, but the manifest/permission mismatches warrant caution — treat this as a packaging quality issue that should be clarified before trusting automated installs.
功能分析
Type: OpenClaw Skill
Name: wsl-chrome-cdp
Version: 1.0.0
The wsl-chrome-cdp skill is designed to facilitate communication between an OpenClaw agent in WSL2 and a Chrome browser instance on the Windows host via the Chrome DevTools Protocol (CDP). The core logic in enable-browser.sh uses PowerShell to launch Chrome with remote debugging enabled and a dedicated user data directory, which is a standard and legitimate approach for browser automation. While the skill requests write access to the agent's configuration file (~/.openclaw/openclaw.json) and executes host-side commands via PowerShell, these actions are transparently documented and directly support the stated purpose of the skill without any evidence of malicious intent or data exfiltration.
能力评估
Purpose & Capability
Name/description claim (enable Chrome CDP from WSL2) matches the provided script and docs: enable-browser.sh checks CDP, finds Windows IP, and uses PowerShell to Start-Process chrome.exe with --remote-debugging-port. Declared dependencies (powershell, google-chrome) are appropriate for the stated purpose.
Instruction Scope
Runtime instructions and the enable-browser.sh stay within the stated purpose: they check local CDP endpoints, unset proxy vars, obtain Windows IP, then launch Chrome in debugging mode. Troubleshooting advises editing ~/.openclaw/openclaw.json to set a remote cdpUrl (which is a reasonable operational step), but the script itself does not modify that file automatically.
Install Mechanism
This is an instruction-only skill with no install spec; the only code executed is the included shell script which runs locally and invokes PowerShell. No remote downloads or archive extraction are performed by the skill files provided.
Credentials
The manifest (clawhub.yaml) declares a permission to write ~/.openclaw/openclaw.json and to exec scripts/start-chrome-debug.bat. The package contents do not include an explicit writer to that config file, and the referenced scripts/start-chrome-debug.bat is not present in the shipped file list — this is an inconsistency. Requesting write access to the user's OpenClaw config is a higher-scope permission than the visible code needs; it should be justified or removed.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistent platform privileges. It runs only when invoked. It does launch processes on the Windows side (Start-Process chrome.exe), which is expected for its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wsl-chrome-cdp - 安装完成后,直接呼叫该 Skill 的名称或使用
/wsl-chrome-cdp触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of wsl-chrome-cdp.
- Enables OpenClaw tools in WSL2 to remotely control Chrome on Windows.
- Provides automatic detection, launching, and verification of Chrome in debug mode—no manual steps needed.
- Includes troubleshooting guide and optional manual startup script for advanced users.
元数据
常见问题
WSL Chrome CDP 是什么?
自动检测并启动 Windows Chrome 调试模式,实现 WSL2 环境下对 Chrome 浏览器的无缝远程控制。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 464 次。
如何安装 WSL Chrome CDP?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wsl-chrome-cdp」即可一键安装,无需额外配置。
WSL Chrome CDP 是免费的吗?
是的,WSL Chrome CDP 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
WSL Chrome CDP 支持哪些平台?
WSL Chrome CDP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 WSL Chrome CDP?
由 animaiontj(@animaiontj)开发并维护,当前版本 v1.0.0。
推荐 Skills