cloudflare-browser — community cloudflare-browser, moltworker, community, ide skills

Verified
v1.0.0

About this Skill

Ideal for Automation Agents requiring seamless headless browser control via Cloudflare Workers and Chrome DevTools Protocol (CDP) over WebSocket. 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 envi

cloudflare cloudflare
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reviewed Landing Page Review Score: 10/11

Killer-Skills keeps this page indexable because it adds recommendation, limitations, and review signals beyond the upstream repository text.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review Locale and body language aligned
Review Score
10/11
Quality Score
39
Canonical Locale
en
Detected Body Locale
en

Ideal for Automation Agents requiring seamless headless browser control via Cloudflare Workers and Chrome DevTools Protocol (CDP) over WebSocket. 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 envi

Core Value

Empowers agents to streamline browser rendering and automation tasks using Cloudflare's Browser Rendering service, leveraging CDP for advanced browser control and WebSocket for efficient communication.

Ideal Agent Persona

Ideal for Automation Agents requiring seamless headless browser control via Cloudflare Workers and Chrome DevTools Protocol (CDP) over WebSocket.

Capabilities Granted for cloudflare-browser

Automating browser interactions for web scraping and data extraction
Rendering web pages for screenshot generation and visual testing
Debugging web applications using Chrome DevTools Protocol over WebSocket

! Prerequisites & Limits

  • Requires CDP_SECRET environment variable set
  • Needs browser profile configured in openclaw.json with cdpUrl pointing to the worker endpoint
  • Dependent on Cloudflare Workers and Chrome DevTools Protocol compatibility

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is cloudflare-browser?

Ideal for Automation Agents requiring seamless headless browser control via Cloudflare Workers and Chrome DevTools Protocol (CDP) over WebSocket. 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 envi

How do I install cloudflare-browser?

Run the command: npx killer-skills add cloudflare/moltworker/cloudflare-browser. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for cloudflare-browser?

Key use cases include: Automating browser interactions for web scraping and data extraction, Rendering web pages for screenshot generation and visual testing, Debugging web applications using Chrome DevTools Protocol over WebSocket.

Which IDEs are compatible with cloudflare-browser?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for cloudflare-browser?

Requires CDP_SECRET environment variable set. Needs browser profile configured in openclaw.json with cdpUrl pointing to the worker endpoint. Dependent on Cloudflare Workers and Chrome DevTools Protocol compatibility.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add cloudflare/moltworker/cloudflare-browser. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use cloudflare-browser immediately in the current project.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

cloudflare-browser

Install cloudflare-browser, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Cloudflare Browser Rendering

Control headless browsers via Cloudflare's Browser Rendering service using CDP (Chrome DevTools Protocol) over WebSocket.

Prerequisites

  • CDP_SECRET environment variable set
  • Browser profile configured in openclaw.json with cdpUrl pointing to the worker endpoint:
    json
    1"browser": { 2 "profiles": { 3 "cloudflare": { 4 "cdpUrl": "https://your-worker.workers.dev/cdp?secret=..." 5 } 6 } 7}

Quick Start

Screenshot

bash
1node /path/to/skills/cloudflare-browser/scripts/screenshot.js https://example.com output.png

Multi-page Video

bash
1node /path/to/skills/cloudflare-browser/scripts/video.js "https://site1.com,https://site2.com" output.mp4

CDP Connection Pattern

The worker creates a page target automatically on WebSocket connect. Listen for Target.targetCreated event to get the targetId:

javascript
1const WebSocket = require('ws'); 2const CDP_SECRET = process.env.CDP_SECRET; 3const WS_URL = `wss://your-worker.workers.dev/cdp?secret=${encodeURIComponent(CDP_SECRET)}`; 4 5const ws = new WebSocket(WS_URL); 6let targetId = null; 7 8ws.on('message', (data) => { 9 const msg = JSON.parse(data.toString()); 10 if (msg.method === 'Target.targetCreated' && msg.params?.targetInfo?.type === 'page') { 11 targetId = msg.params.targetInfo.targetId; 12 } 13});

Key CDP Commands

CommandPurpose
Page.navigateNavigate to URL
Page.captureScreenshotCapture PNG/JPEG
Runtime.evaluateExecute JavaScript
Emulation.setDeviceMetricsOverrideSet viewport size

Common Patterns

javascript
1await send('Page.navigate', { url: 'https://example.com' }); 2await new Promise(r => setTimeout(r, 3000)); // Wait for render 3const { data } = await send('Page.captureScreenshot', { format: 'png' }); 4fs.writeFileSync('out.png', Buffer.from(data, 'base64'));

Scroll Page

javascript
1await send('Runtime.evaluate', { expression: 'window.scrollBy(0, 300)' });

Set Viewport

javascript
1await send('Emulation.setDeviceMetricsOverride', { 2 width: 1280, 3 height: 720, 4 deviceScaleFactor: 1, 5 mobile: false 6});

Creating Videos

  1. Capture frames as PNGs during navigation
  2. Use ffmpeg to stitch: ffmpeg -framerate 10 -i frame_%04d.png -c:v libx264 -pix_fmt yuv420p output.mp4

Troubleshooting

  • No target created: Race condition - wait for Target.targetCreated event with timeout
  • Commands timeout: Worker may have cold start delay; increase timeout to 30-60s
  • WebSocket hangs: Verify CDP_SECRET matches worker configuration

Related Skills

Looking for an alternative to cloudflare-browser or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer