chrome-cdp

Interact with live Chromium browsers via CDP using a Bun CLI.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/cfcosta/duskpi --skill chrome-cdp-cfcosta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chrome-cdp
Source: https://github.com/cfcosta/duskpi/tree/main/skills/chrome-cdp
Command: npx skills add https://github.com/cfcosta/duskpi --skill chrome-cdp-cfcosta

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The chrome-cdp skill enables programmatic interaction with the user's Chromium-based browser via the Chrome DevTools Protocol (CDP) through a fixed install path, avoiding Puppeteer dependency while allowing direct control.

Core Features & Use Cases

  • Fixed-path CDP CLI: Connect to live browser sessions and multiplex commands across tabs via a single master daemon.
  • Page inspection and interaction: List pages, navigate, capture screenshots, and run simple script evaluations in real browser contexts.
  • Safe, user-driven execution: Start interactions only after user consent, with guardrails to prevent unsafe actions.

Quick Start

Run the chrome-cdp CLI against a running browser using the fixed install path and observe basic interactions with a target page.

Frequently Asked Questions about chrome-cdp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control a live Chrome browser via the DevTools Protocol without Puppeteer?

You can control a live Chrome browser via the DevTools Protocol without Puppeteer by using a Bun-based CDP CLI that connects directly to running sessions, enabling page inspection, navigation, and multiplexed command execution across open tabs.

What browsers support CDP multiplexing for automated browser workflows?

CDP multiplexing for automated browser workflows supports Chromium-based browsers, specifically including Chrome, Chromium, Brave, Edge, Arc, and Dia, allowing direct inspection and data capture across multiple open tabs.

Can I run script evaluations and capture screenshots in a real browser context using CDP?

Yes, you can run script evaluations and capture screenshots in a real browser context using CDP by connecting a Bun-backed CLI to active browser sessions to interact with and inspect live target pages.

Do I need a specific runtime environment to use a Bun-based CDP CLI for browser automation?

To use this Bun-based CDP CLI for browser automation, you need the Bun runtime environment installed and a running Chromium-based browser, allowing direct DevTools Protocol interaction through a fixed install path.

What is the best way to manage multiple CDP sessions safely during automated QA?

The best way to manage multiple CDP sessions safely during automated QA is by using a master daemon that multiplexes commands across tabs, executing interactions only after user consent with guardrails to prevent unsafe actions.