Skip to content
Back to skills

Cdp Browser

ASecurity

CDP browser control at localhost:9222. Use when you need to inspect tabs, take screenshots, navigate, scroll, post to X, or run JS in a persistent browser session (e.g. logged into X, Gmail).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
code-qualitygodockerdebugginggitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill cdp-browser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cdp Browser?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cdp Browser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-cdp-browser/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-cdp-browser)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cdp-browser
description: CDP browser control at localhost:9222. Use when you need to inspect tabs, take screenshots, navigate, scroll, post to X, or run JS in a persistent browser session (e.g. logged into X, Gmail).
---

# cdp-browser

CLI for Chrome/Chromium at localhost:9222. Inspect tabs, take screenshots, navigate, scroll, post to X, or run JS in a persistent browser session.

**Prerequisites:** Chromium running with `--remote-debugging-port=9222`. Docker Compose or a local Chrome with remote debugging enabled.

## Commands

Run from the skill dir (`bin/` scripts):

| Command | Description |
|---------|-------------|
| `status` | List all tabs (JSON from CDP) |
| `tabs` | Same as status |
| `new <url>` | Open new tab |
| `goto <tabId> <url>` | Navigate tab to URL |
| `snapshot <tabId>` | Full-page screenshot (PNG) |
| `close-popup <tabId>` | Dismiss dialogs/modals |
| `scroll <tabId> <px\|sel> [down\|up]` | Scroll by pixels or selector |
| `tweet <tabId> "text"` | Post tweet (tab must be on X) |
| `eval <tabId> "js"` | Run JS in tab, return result |

## Scripts

- **cdp.js** — curl/fetch wrapper for CDP HTTP API (`/json`, `/json/list`, `/json/new`)
- **pw.js** — Playwright connect to browser, runs snapshot/goto/scroll/tweet/eval

## Security

See [SECURITY.md](SECURITY.md) for mitigations and operational notes.

**Source:** https://github.com/gostlightai/cdp-browser

Files in this skill

  • README.md452 B
  • SECURITY.md1.1 KB
  • SKILL.md1.4 KB
  • _meta.json279 B
  • cdp.js1 KB
  • package-lock.json1.6 KB
  • package.json366 B
  • pw.js3.7 KB
  • scripts/cdp.js607 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.