Skip to content
Back to skills

Cloudflare Browser

ASecurity

Control headless Chrome via Cloudflare Browser Rendering CDP WebSocket. Use for screenshots, page navigation, scraping, and video capture when browser automation is needed in a Cloudflare Workers environment. Requires CDP_SECRET env var and cdpUrl configured in browser.profiles.

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsbashnodeapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill cloudflare-browser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cloudflare Browser?

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

Security grade badge for Cloudflare Browser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-cloudflare-browser/badge)](https://www.skillsdirectory.com/skills/majiayu000-cloudflare-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: cloudflare-browser
description: Control headless Chrome via Cloudflare Browser Rendering CDP WebSocket. Use for screenshots, page navigation, scraping, and video capture when browser automation is needed in a Cloudflare Workers environment. Requires CDP_SECRET env var and cdpUrl configured in browser.profiles.
---

# Cloudflare Browser Rendering

Control headless browsers via Cloudflare Browser Rendering using CDP over WebSocket.

## Prerequisites

- `CDP_SECRET` environment variable
- Browser profile with `cdpUrl` pointing at your worker:

```json
"browser": {
  "profiles": {
    "cloudflare": {
      "cdpUrl": "https://your-worker.workers.dev/cdp?secret=..."
    }
  }
}
```

## Scripts in this package

- `scripts/screenshot.js` — navigate + PNG capture
- `scripts/video.js` — multi-page capture
- `scripts/cdp-client.js` — WebSocket CDP helper

```bash
node scripts/screenshot.js https://example.com output.png
node scripts/video.js "https://a.com,https://b.com" out.mp4
```

## CDP pattern

Connect to `wss://your-worker.workers.dev/cdp?secret=...`, wait for `Target.targetCreated`, then `Page.navigate` / `Page.captureScreenshot` / `Runtime.evaluate`.

## Open-Connect

- Store `CDP_SECRET` in Secrets vault
- Use with Grok via Open-Connect `/v1` + MCP
- Complement MultiOn for edge/headless without external MultiOn quota

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 ai-agents →

Comments

Loading comments…

Newsletter

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