← Back to Skills Marketplace
WSL Chrome CDP
by
animaiontj
· GitHub ↗
· v1.0.0
· MIT-0
464
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install wsl-chrome-cdp
Description
自动检测并启动 Windows Chrome 调试模式,实现 WSL2 环境下对 Chrome 浏览器的无缝远程控制。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wsl-chrome-cdp - After installation, invoke the skill by name or use
/wsl-chrome-cdp - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is WSL Chrome CDP?
自动检测并启动 Windows Chrome 调试模式,实现 WSL2 环境下对 Chrome 浏览器的无缝远程控制。 It is an AI Agent Skill for Claude Code / OpenClaw, with 464 downloads so far.
How do I install WSL Chrome CDP?
Run "/install wsl-chrome-cdp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is WSL Chrome CDP free?
Yes, WSL Chrome CDP is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does WSL Chrome CDP support?
WSL Chrome CDP is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created WSL Chrome CDP?
It is built and maintained by animaiontj (@animaiontj); the current version is v1.0.0.
More Skills