chrome-cdp
Installation
SKILL.md
Chrome CDP
Lightweight Chrome DevTools Protocol CLI. Connects directly via WebSocket — no Puppeteer, works with 100+ tabs, instant connection. Uses a persistent per-tab daemon so Chrome's "Allow debugging" modal fires only once.
Prerequisites
- Chrome with remote debugging enabled: open
chrome://inspect/#remote-debuggingand toggle the switch - Python 3.10+ with
websocketslibrary
Commands
All commands use python -m chrome_cdp. The <target> is a unique targetId prefix from list; copy the full prefix shown in the list output (for example 6BE827FA). The CLI rejects ambiguous prefixes.
List open pages
python -m chrome_cdp list