Cdp
Drive Chrome through the DevTools Protocol with a persistent session via browser-harness-js.
- CCM score
- 72 of 100
- skills.sh installs
- 721
- GitHub stars
- 501
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers single-tab and multi-tab automation, plus inspection of an existing Chrome or a new one launched with
--remote-debugging-port - Includes a CLI that auto-spawns a bun HTTP server holding one typed CDP
Sessionacross calls, with--status,--restart, and--logscommands - Provides pre-loaded globals such as
session,listPageTargets(), anddetectBrowsers(), with auto-detection of running Chromium-based browsers - Designed for JavaScript snippets that need state (session, active target, globals) to persist between commands
Install
$ npx -y skills add browser-use/browser-harness-js --skill cdp -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
CDP — browser-harness-js skill
Custom codegen'd CDP SDK (every method from browser_protocol.json + js_protocol.json gets a typed wrapper) plus a tiny HTTP server that holds one persistent CDP Session. The browser-harness-js CLI auto-starts the server on first use and forwards JS snippets to it.
The SDK lives in the skill's sdk/ directory. In the rest of this doc, <skill-dir> refers to wherever npx skills add installed the skill (Claude Code: ~/.claude/skills/cdp; Cursor: ~/.cursor/skills/cdp; other agents vary). The CLI should be on PATH as browser-harness-js.
Setup (once, first use)
npx skills add drops the skill into your agent's skills directory but does NOT put the CLI on PATH. Before the first call, verify it's reachable and symlink it into any directory on your PATH if not:
# macOS (Apple Silicon + Homebrew)
command -v browser-harness-js >/dev/null || ln -sf <skill-dir>/sdk/browser-harness-js /opt/homebrew/bin/browser-harness-js
# macOS (Intel) / most Linux — may need sudo
command -v browser-harness-js >/dev/null || ln -sf <skill-dir>/sdk/browser-harness-js /usr/local/bin/browser-harness-js
Details
- Repository
- github.com/browser-use/browser-harness-js
- Categories
- Browser Automation & Scraping, Debugging
- First seen
- Jun 3, 2026
Similar to Cdp
More Browser Automation & Scrapingbrowser-useSkillbrowser-use/browser-use100.3K installsDirect CDP browser control for automation, scraping, testing, and screenshots, with optional cloud browsers for agents.
browser-harnessPluginbrowser-use/browser-harness19.2K starsDirect CDP browser control for agents: coordinate clicks, screenshots, persistent Python session, local Chrome or Browser Use cloud. Ships skills only; the `bro
Chrome DevTools MCPMCP serverchromedevtools59.7K starsLets coding agents control and inspect a live Chrome browser through DevTools tools.
chrome-cdp-live-browserSkillreason-machines/trending-skills1.5K installschrome cdp live browser.
browser-cdpSkillzenstory-ai/oh-story-claudecode19K installsDrives a Chrome browser over CDP to reuse existing login sessions for automation and token extraction.