Skills for Real Engineers. Straight from my .agents directory.
chrome-cdp
Agent skill frompasky/chrome-cdp-skill
Interact with local Chrome browser session (only on explicit user approval after being asked to inspect, debug, or interact with a page open in Chrome)
How to install chrome-cdp
install chrome-cdp
# install the chrome-cdp-skill pack with the skills CLI
npx skills add pasky/chrome-cdp-skill# or add only this skill to Claude Code: copy the folder
skills/chrome-cdp/
# into
~/.claude/skills/chrome-cdp/ (all projects)
.claude/skills/chrome-cdp/ (one project)
1# Chrome CDP23Lightweight Chrome DevTools Protocol CLI. Connects directly via WebSocket — no Puppeteer, works with 100+ tabs, instant connection.45## Prerequisites67- Chrome (or Chromium, Brave, Edge, Vivaldi) with remote debugging enabled: open `chrome://inspect/#remote-debugging` and toggle the switch8- Node.js 22+ (uses built-in WebSocket)9- If your browser's `DevToolsActivePort` is in a non-standard location, set `CDP_PORT_FILE` to its full path1011## Commands1213All commands use `scripts/cdp.mjs`. The `<target>` is a **unique** targetId prefix from `list`; copy the full prefix shown in the `list` output (for example `6BE827FA`). The CLI rejects ambiguous prefixes.1415### List open pages1617```bash18scripts/cdp.mjs list19```2021### Take a screenshot2223```bash24scripts/cdp.mjs shot <target> [file] # default: screenshot-<target>.png in runtime dir25```2627Captures the **viewport only**. Scroll first with `eval` if you need content below the fold. Output includes the page's DPR and coordinate conversion hint (see **Coordinates** below).2829### Accessibility tree snapshot3031```bash32scripts/cdp.mjs snap <target>33```3435### Evaluate JavaScript3637```bash38scripts/cdp.mjs eval <target> <expr>39```4041> **Watch out:** avoid index-based selection (`querySelectorAll(...)[i]`) across multiple `eval` calls when the DOM can change between them (e.g. after clicking Ignore, card indices shift). Collect all data in one `eval` or use stable selectors.4243### Other commands4445```bash46…
Excerpt shown under the repository's MIT license.
Keep exploring
Similar skill repositories
39 skills
An agentic skills framework & software development methodology that works.
15 skills
Public repository for Agent Skills
20 skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
CCCU6 skills
Production-grade engineering skills for AI coding agents.
CCCXCU25 skills
The open-source app everyone uses to manage agents at work
CCCX33 skills
