browser_cdp
Skill by agentscope-ai
browser_cdp is a QwenPaw skill for connecting to a running Chrome, scanning local CDP ports, and starting a browser on a fixed cdp_port. It is for users who want other local tools or agents to share one browser. The skill is marked deprecated.
Install browser_cdp
Built from the published package, never by AI.
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/QwenPaw && mkdir -p ~/.claude/skills && cp -r /tmp/QwenPaw/src/qwenpaw/agents/tools/deprecated_browser/skills/browser_cdp-zh ~/.claude/skills/browser-cdpRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/QwenPaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/QwenPaw/src/qwenpaw/agents/tools/deprecated_browser/skills/browser_cdp-zh ~/.gemini/antigravity-cli/skills/browser-cdpAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
browser_cdp is an agent skill for QwenPaw that covers Chrome DevTools Protocol (CDP) use cases. It lets the assistant scan local CDP ports (default range 9000 to 10000), attach to an already running Chrome with connect_cdp, and start a browser with an explicit cdp_port so other local tools or agents can connect to it. The source marks the skill as deprecated and recommends the unified browser tool when experimental mode is enabled.
By default the browser does not open a debugging port and is managed directly by Playwright. The skill applies only when a user explicitly asks for a CDP connection, port, or shared browser. Plain requests to open a browser go to the normal start action or browser_visible. Stopping a browser that QwenPaw started closes it, while stopping an external Chrome only disconnects. It suits users who want to attach to their own Chrome session or share one browser across agents.
Written from the project's SKILL.md and checked against it.
What it can do
- list_cdp_targetsScans local CDP ports, by default 9000 to 10000, or a single port or custom range.
- connect_cdpAttaches to an existing CDP endpoint such as http://localhost:9222 without launching a new process.
- start with cdp_portStarts a browser on a fixed debugging port so other local tools can attach to it.
- stopCloses a browser QwenPaw started, or only disconnects from an external Chrome.
What you need
- Chrome browser
- Playwright
- Local access to the CDP port
Try asking
- Scan my machine for open Chrome CDP ports
- Connect to the Chrome I already have open
- Start a browser on port 9222 so other tools can attach
Good to know
- Marked deprecated; the source recommends the unified browser tool when experimental mode is enabled.
- Only one browser instance per workspace at a time; stop the current one before switching.
- A fixed cdp_port fails if already in use, and there is no automatic retry.
- Exposing a CDP port can expose sensitive data, so the source advises warning the user first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/qwenpaw/agents/tools/deprecated_browser/skills/browser_cdp-zh/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to browser_cdp
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
browser_cdp: common questions
Does the browser open a debugging port by default?
No. A normal start does not expose a debugging port. Only an explicit cdp_port opens one.
What happens when I stop a connected external Chrome?
Only the connection is closed. The external browser process is not shut down.
Can two workspaces use the same fixed CDP port?
No. If cdp_port is already in use, the second start fails with an error.
How do I install browser_cdp?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is browser_cdp free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is browser_cdp safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to browser_cdp?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
