Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

browser_cdp

Skill by agentscope-ai

Connects an AI assistant to Chrome through the Chrome DevTools Protocol. It covers scanning CDP ports, attaching to a running browser, and sharing one browser across agents or tools. Meant for users who explicitly ask for CDP or remote debugging.

  • Score 91
  • 38k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-en ~/.claude/skills/browser-cdp

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install browser_cdp in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

browser_cdp is a QwenPaw skill for explicit Chrome DevTools Protocol (CDP) use. It lets the assistant scan local CDP ports with list_cdp_targets, attach to an already running Chrome with connect_cdp, and launch the browser with a fixed cdp_port so other local tools can attach. By default the browser opens no debugging port and is managed directly by Playwright.

The skill is for users who explicitly ask to connect to an existing browser, specify a port, or share one browser across agents or tools. Stopping an external browser only disconnects it, while stopping a browser QwenPaw launched also terminates it. The source warns that exposing a debugging port can expose sensitive data, so the user should be warned first. The reference is marked as deprecated in favor of the unified browser tool when experimental mode is enabled.

Written from the project's SKILL.md and checked against it.

What it can do

  • list_cdp_targetsScans local CDP ports, by default in the 9000 to 10000 range, or a single or custom port range.
  • connect_cdpAttaches to an existing Chrome through a CDP endpoint such as http://localhost:9222.
  • start with cdp_portLaunches the browser with an explicitly chosen debugging port for other local tools.
  • stopDisconnects from the browser, and terminates it only if QwenPaw launched it.
  • Shared browser accessLets multiple agents or tools use a single browser instance through a fixed CDP port.

What you need

  • Chrome browser
  • QwenPaw runtime
  • Playwright (manages the browser by default)

Try asking

  • Connect to the Chrome I already have open and check my current tab.
  • Scan local ports for any Chrome with remote debugging enabled.
  • Start the browser on port 9222 so another tool can attach to it.

Good to know

  • Only one browser can be running or connected per workspace at a time.
  • An explicitly specified cdp_port fails if the port is already in use, with no forced reuse.
  • There is a small race window when claiming a port, and no automatic retry.
  • Idle auto-stop for external CDP only disconnects and does not close the user's browser.

Security check

A

No 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-en/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to browser_cdp

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

browser_cdp: common questions

Does the browser open a debugging port by default?

No. The default start opens no debugging port, and the browser is managed directly by Playwright. A port is only opened when cdp_port is passed.

What happens when I stop a browser connected with connect_cdp?

stop only disconnects. It does not close the external browser process, because QwenPaw did not launch it.

Can several workspaces use the same fixed CDP port?

No. If workspaces request the same cdp_port, the later one fails because the port is already in use.

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 91 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.

browser_cdp Install

Add to stack

Loading.