browser-js
SKILL.md
browser-js
Lightweight CLI that talks to Chrome via CDP (Chrome DevTools Protocol). Returns minimal, indexed output that agents can act on immediately — no accessibility tree parsing, no ref hunting.
Setup
# Install dependency (one-time, in the skill scripts/ dir)
cd scripts && npm install
# Ensure browser is running with CDP enabled.
# With OpenClaw:
# browser start profile=openclaw
# Or manually:
# google-chrome --remote-debugging-port=18800 --user-data-dir=~/.browser-data
The tool connects to http://127.0.0.1:18800 by default. Override with CDP_URL env var.