browser_cdp
CommunityConnect and manage Chrome securely via CDP
Software Engineering#playwright#cdp#chrome#privacy#browser-automation#port-scanning#remote-debugging
Authorhueidou
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables safe discovery, connection, and management of Chrome instances using the Chrome DevTools Protocol (CDP), addressing scenarios where multiple tools or agents need to share or debug the same browser while making privacy trade-offs explicit.
Core Features & Use Cases
- Port scanning: Fast concurrent scanning of local CDP ports (default range 9000–10000) to discover connectable Chrome endpoints.
- Attach to running Chrome: Connect to an existing Chrome process without terminating or affecting the original browser process.
- Start with exposed CDP: Launch Playwright-managed browsers with an exposed CDP port so other tools can attach.
- Session and lifecycle rules: Enforces single-workspace single-browser constraint, distinguishes stop semantics between attached and launched browsers, and supports cache clearing via CDP.
- Privacy and safety: Explicitly warns that CDP mode exposes cookies, history, and page content and requires user confirmation before enabling.
Quick Start
Scan local ports and connect to a running Chrome at localhost:9222 after confirming the user understands that connecting via CDP exposes browser cookies and history.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: browser_cdp Download link: https://github.com/hueidou/CoCo/archive/main.zip#browser-cdp Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.