Chrome CDP Skill

Give your AI agent access to your live Chrome session — no extra setup.

Stars
★ 3.3k
Last updated
4mo ago
License
MIT
Primary language
JavaScript

At a glance

How it runs
Agent plugin / skillCLI
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Shell / CLINetwork accessLocal filesystem
Typical use
Developers testing a web page can let an AI agent directly view and operate the current page state without restarting the browser.
Not a fit if
  • Users needing mobile or non-Chromium browser automation
  • Teams that cannot run Node.js 22+ in their environment
  • Unattended long-running tasks that outlast the 20-minute daemon idle exit
Maintenance
Commits in the last 6 monthslast commit 2026-06-28latest release v1.1.0 (2026-06-28)

What does this agent do, and when should you use it?

chrome-cdp-skill is a lightweight tool that connects to your existing Chrome session via the Chrome DevTools Protocol. It enables AI agents to read and interact with tabs you already have open, utilizing logged-in accounts and current page state without re-login. The skill provides a CLI script that lists tabs, takes screenshots, fetches accessibility trees, extracts HTML, evaluates JavaScript, navigates, clicks, types, and more. It uses persistent daemons to avoid repeated authorization prompts and reliably handles over 100 open tabs. With only Node.js 22+ as a runtime, no npm install required, it is easy to deploy.

It connects directly to Chrome's remote debugging WebSocket, without Puppeteer. On first access to a tab, it spawns a background daemon holding the session, triggering Chrome's 'Allow debugging' modal once; subsequent commands reuse the daemon silently. Provides commands: list open tabs (list), screenshot (shot), accessibility tree (snap), HTML extraction (html), evaluate JS in page context (eval), navigate (nav), network resource timing (net), click element by selector (click) or coordinates (clickxy), type at focused element (type), click 'load more' until gone (loadall), and raw CDP passthrough (evalraw). Also supports opening a new tab (open) and stopping daemons (stop).

  1. Developers testing a web page can let an AI agent directly view and operate the current page state without restarting the browser.
  2. For sites requiring login (e.g., Gmail, GitHub), the AI agent can access authenticated sessions, avoiding repeated logins.
  3. In multi-tab workflows, the AI agent can monitor many tabs simultaneously, reliably handling over 100 open tabs.
  4. Automation tasks needing interaction, like clicking buttons, filling forms, or scrolling through load-more content, can be executed via CLI commands.
  5. Integrating with agents like Claude Code or Amp by copying the skill directory provides immediate browser capabilities.
  6. For frontend debugging, the AI agent can evaluate custom JavaScript expressions and retrieve results.

How do you install or deploy this agent?

Install as a pi skill: pi install git:github.com/pasky/[email protected]. For other agents, clone or copy the skills/chrome-cdp/ directory to your agent's skills location. Runtime only requires Node.js 22+, no npm install needed. Enable Chrome remote debugging by navigating to chrome://inspect/#remote-debugging and toggling the switch.

How do you use this agent?

Use the CLI script, e.g., scripts/cdp.mjs list to list open tabs, scripts/cdp.mjs snap <target> for accessibility tree, scripts/cdp.mjs eval <target> "expression" to evaluate JS. <target> is a unique prefix of the targetId shown by list. Set the CDP_PORT_FILE environment variable to specify a non-standard DevToolsActivePort path.

What are this agent's strengths and limitations?

Pros
  • Directly connects to an existing Chrome session, no new browser instance, preserving login state.
  • Persistent daemons avoid repeated authorization modals and support over 100 tabs.
  • No npm dependencies, only Node.js 22+ required, easy install.
  • Supports multiple browsers (Chrome, Chromium, Brave, Edge, Vivaldi) and OSes.
  • Rich CLI commands covering common interactions (click, type, navigate, screenshot, etc.).
Limitations
  • Requires manually enabling Chrome remote debugging and user authorization once per tab.
  • Depends on Node.js 22+, which may not be available in older environments.
  • Daemons auto-exit after 20 minutes of inactivity, long-running tasks may need to restart.
  • Only works with desktop Chromium-based browsers, not mobile or non-Chromium.

How does this agent compare with similar options?

Compared to chrome-devtools-mcp, chrome-cdp uses persistent daemons, avoiding frequent reconnection modals and target enumeration timeouts with many tabs open.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Chrome CDP Skill This agent 57 · Major gaps Agent plugin / skillFree ★ 3.3k 4mo ago JavaScript —
Stagehand: The AI Browser Automation Framework 68 · Some gaps Library / SDKFree + model costs ★ 26k today TypeScript —
Browser Harness ♞ 51 · Major gaps Agent plugin / skillFree + model costs ★ 19k 1d ago Python Codex · Claude Code
Chrome DevTools MCP 77 · Some gaps MCP serverFree ★ 55k 1d ago TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
57/ 100 5-point scale 2.9 / 5
Trust 13/29
Reliability 6/14
Adaptability 14/18
Convention 11/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The SKILL says to interact only after explicit user approval, and Chrome itself presents a debugging permission prompt; the README's 'one toggle' framing does not emphasize prior consent in the same way. The tool can read logged-in pages, evaluate page JavaScript, send input, and accept raw CDP commands, so its permission surface is broad; handling of sensitive page data is not explained. Node.js built-in WebSocket and no npm install keep the dependency surface relatively small. Navigation, clicking, typing, and opening tabs have external effects, while the materials describe stopping daemons but no way to undo page actions. Publisher identity is unknown; authorship and license are visible, but provenance and maintenance responsibility are only lightly documented.

Reliability6 / 14 · 2.1/5

The README and SKILL differ on some command details: for example, snap's compact option appears only in a tip, and the README's loadall form omits the optional wait parameter. The materials specify Node.js 22+, supported browsers, and a port-file override, so ordinary setup prerequisites are reasonably clear. They provide no concrete CLI error behavior or failure messages, which limits that score.

Adaptability14 / 18 · 3.9/5

The materials cover listing tabs, screenshots, accessibility trees, HTML, navigation, network timing, clicking, typing, and raw CDP, and explicitly require user approval. Requiring a unique targetId prefix and rejecting ambiguous prefixes gives the trigger and target-selection boundaries useful precision; however, the broad capabilities of raw CDP and page JavaScript are not fully bounded. The documentation names Node.js, several Chromium-based browsers, and cross-platform support, but gives no detailed compatibility matrix.

Convention11 / 18 · 3.1/5

The README, SKILL, license, and package metadata are clearly organized, with setup prerequisites, commands, coordinate conversion, and practical tips. The README gives installation paths for pi and other agents, and the SKILL provides runnable-looking command examples; limitations such as viewport-only screenshots and daemon idle exit are documented. The MIT terms are complete. Version evidence differs between the v1.0.1 install example and package version 1.1.0, and the packet has no changelog. Maintenance responsibility is also unclear beyond the package name, author attribution, and copyright; no clear maintainer or update path is given.

Effectiveness9 / 13 · 3.5/5

Command outputs have clear intended uses, and screenshots, semantic trees, and browser interaction can give an agent access to current page state. Connecting to an existing logged-in session and using persistent daemons are the documented sources of marginal value. Those capabilities also entail careful-use costs, and the materials contain no execution evidence to establish the size of the performance or utility gains, so full marks are not warranted.

Verifiability4 / 8 · 2.5/5

The README and SKILL both describe features, setup, and limitations, while package metadata and the license corroborate the package name, version, and license. However, key performance and compatibility claims have no implementation source or independent corroboration in the supplied material. The documentation makes commands and some limitations concrete but does not consistently distinguish verified facts from author claims; static materials cannot verify runtime results.

Risks and how to mitigate them
  • The tool can access existing logged-in sessions and run page JavaScript and raw CDP commands; use it only on the intended tab after explicit user approval.
  • Command details and version examples differ between the README and SKILL; check the installed version and supported commands before use.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision ffea76a24b04
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/chrome-cdp-skill.svg)](https://followagents.com/en/agents/chrome-cdp-skill)
<a href="https://followagents.com/en/agents/chrome-cdp-skill"><img src="https://followagents.com/badge/chrome-cdp-skill.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v1.1.0
    Release notes excerpt
    What's Changed * Support Linux Chrome DevToolsActivePort path by @fredheir in https://github.com/pasky/chrome-cdp-skill/pull/1 * Add MIT LICENSE file by @Jah-yee in https://github.com/pasky/chrome-cdp-skill/pull/29 * feat: add Linux Flatpak browser paths to DevToolsActivePort discovery by @ynezz in https://github.com/pasky/chrome-cdp-skill/pull/30 New Contributors * @fredheir made their first contribution in https://github.com/pasky/chrome-cdp-skill/pull/1 * @Jah-yee made their first contribution in https://github.com/pasky/chrome-cdp-skill/pull/29 …
    View on GitHub ↗
  2. v1.0.2
    Release notes excerpt
    - Add click, clickxy, type, loadall, evalraw commands - snap now compact by default (no more InlineTextBox noise) - shot prints DPR and coordinate conversion hint - Coordinate system documented: CSS px = screenshot px / DPR - Eval index fragility warning in docs - Daemon IPC wire protocol documented in source - Reorganized as a proper pi package (installable via pi install git:github.com/pasky/chrome-cdp-skill) - Compatible with all agents (Amp, Claude Code, Cursor, etc.), not just pi
    View on GitHub ↗

FAQ

Is it safe?
It connects directly to Chrome's remote debugging interface, which you must manually enable and authorize. It runs locally and does not upload data. However, authorization gives the AI agent full control of the browser, so use only trusted agents.
Which browsers are supported?
Chrome, Chromium, Brave, Edge, and Vivaldi are supported on macOS, Linux, and Windows.
How does it handle multiple tabs?
A daemon is spawned per tab; the first access triggers authorization, then subsequent commands reuse it silently. It handles over 100 tabs without timeouts.
Any other dependencies?
Only Node.js 22 or later is required; no npm packages need to be installed.
Is Chrome CDP Skill free?
Yes. Chrome CDP Skill is free to use and does not need a paid service.
Is Chrome CDP Skill open source?
Yes. The source code is on GitHub (pasky/chrome-cdp-skill) under the MIT licence.
Is Chrome CDP Skill still maintained?
Development has slowed: the latest commit on GitHub is from 2026-06-28, within the last six months but not the last 30 days. The latest release is v1.1.0 (2026-06-28).
Who makes Chrome CDP Skill?
Chrome CDP Skill is published on GitHub by the account pasky. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.