@howaboua/pi-skill-chrome-cdp

Pi skill package for chrome-cdp.

Packages

Package details

skill

Install @howaboua/pi-skill-chrome-cdp from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@howaboua/pi-skill-chrome-cdp
Package
@howaboua/pi-skill-chrome-cdp
Version
0.0.4
Published
Jul 16, 2026
Downloads
922/mo · 241/wk
Author
howaboua
License
MIT
Types
skill
Size
45.9 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "skills": [
    "./skills"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@howaboua/pi-skill-chrome-cdp

Controls a local Chrome-family browser through the Chrome DevTools Protocol. It can inspect rendered pages and authenticated tabs, navigate, click, type, evaluate JavaScript, and capture screenshots.

Install

pi install npm:@howaboua/pi-skill-chrome-cdp

Requirements

  • Node.js 22 or newer
  • Chrome, Chromium, Brave, Edge, or Vivaldi with remote debugging enabled at chrome://inspect/#remote-debugging

The bundled CLI is scripts/cdp.mjs. It discovers Chrome on CDP_PORT or port 9222, then falls back to DevToolsActivePort; set CDP_PORT_FILE for a non-standard port-file location.

Use the skill when an agent needs a real rendered page or existing browser state. It includes commands for tab listing, accessibility snapshots, HTML, navigation, network timing, clicks, typing, screenshots, and raw CDP calls.

Based on pasky/chrome-cdp-skill, with Pi packaging and local changes.