Cloudflare Browser Rendering

Control headless Chrome via Cloudflare Browser Rendering CDP WebSocket.

You say
Install this skill Read the source first Free Written by cloudflare · unverified publisher
Context cost
3.8k tokensestimated from the bundle, loaded when it triggers
Bundle
4 files · 15.3 kB3 scripts among them — read before you run
Licence
Apache-2.0free to use
Last change
no release on file
Servers it uses
Noneruns standalone

What it does

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.

Installed, it changes the agent in these ways.

What this skill changes about the agent is not written down here yet. The listing was collected from its source, and the description is in its own SKILL.md.

Workflow

Runs a procedure end to end.

browserautomationcloudflare

The skill itself

This is the whole product. A skill is instructions the model reads, so there is nothing behind the listing you cannot see first — the front matter loads with every session, and the body below it loads when the skill triggers.

SKILL.md3.0 kB · 100 lines
--- 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. ---
6# Cloudflare Browser Rendering
7
8Control headless browsers via Cloudflare's Browser Rendering service using CDP (Chrome DevTools Protocol) over WebSocket.
9
10## Prerequisites
11
12- CDP_SECRET environment variable set
13- Browser profile configured in openclaw.json with cdpUrl pointing to the worker endpoint:
14 ```json
15 "browser": {
16 "profiles": {
17 "cloudflare": {
18 "cdpUrl": "https://your-worker.workers.dev/cdp?secret=..."
19 }
20 }
21 }
22 ```
23
24## Quick Start
25
26### Screenshot
27```bash
28node /path/to/skills/cloudflare-browser/scripts/screenshot.js https://example.com output.png
29```
30
31### Multi-page Video
32```bash
33node /path/to/skills/cloudflare-browser/scripts/video.js "https://site1.com,https://site2.com" output.mp4
34```
35
36## CDP Connection Pattern
37
38The worker creates a page target automatically on WebSocket connect. Listen for Target.targetCreated event to get the targetId:
39
40```javascript
41const WebSocket = require('ws');
42const CDP_SECRET = process.env.CDP_SECRET;
43const WS_URL = wss://your-worker.workers.dev/cdp?secret=${encodeURIComponent(CDP_SECRET)};
44
45const ws = new WebSocket(WS_URL);
46let targetId = null;
47
48ws.on('message', (data) => {
49 const msg = JSON.parse(data.toString());
50 if (msg.method === 'Target.targetCreated' && msg.params?.targetInfo?.type === 'page') {
51 targetId = msg.params.targetInfo.targetId;
52 }
53});
54```
55
56## Key CDP Commands
57
58| Command | Purpose |
59|---------|---------|
60| Page.navigate | Navigate to URL |
61| Page.captureScreenshot | Capture PNG/JPEG |
62| Runtime.evaluate | Execute JavaScript |
63| Emulation.setDeviceMetricsOverride | Set viewport size |
64
65## Common Patterns
66
67### Navigate and Screenshot
68```javascript
69await send('Page.navigate', { url: 'https://example.com' });
70await new Promise(r => setTimeout(r, 3000)); // Wait for render
71const { data } = await send('Page.captureScreenshot', { format: 'png' });
72fs.writeFileSync('out.png', Buffer.from(data, 'base64'));
73```
74
75### Scroll Page
76```javascript
77await send('Runtime.evaluate', { expression: 'window.scrollBy(0, 300)' });
78```
79
80### Set Viewport
81```javascript
82await send('Emulation.setDeviceMetricsOverride', {
83 width: 1280,
84 height: 720,
85 deviceScaleFactor: 1,
86 mobile: false
87});
88```
89
90## Creating Videos
91
921. Capture frames as PNGs during navigation
932. Use ffmpeg to stitch: ffmpeg -framerate 10 -i frame_%04d.png -c:v libx264 -pix_fmt yuv420p output.mp4
94
95## Troubleshooting
96
97- **No target created**: Race condition - wait for Target.targetCreated event with timeout
98- **Commands timeout**: Worker may have cold start delay; increase timeout to 30-60s
99- **WebSocket hangs**: Verify CDP_SECRET matches worker configuration
100
In the file
SKILL.md346 words
Files4
LicenceApache-2.0
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈80
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
3,745
on trigger
The instruction body and 3 supporting files, read only when the skill fires.
1.9%
of a 200k window
Ten skills this size would take about 19% of the window before you open a file.
050k100k150k200k context window

3.8k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Middling. Fine to keep on in a project where you use it weekly, worth unloading in one where you never do.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

Adoption
Installsnone yet
Ratingno reviews yet

The procedure it runs

The procedure has not been published here. It is in the skill’s own SKILL.md, which its author has not sent to the marketplace yet.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

It writes no files and reaches no network. All it changes is how the model reasons and writes.

What it asks for
Writes filesno
Network accessno

Read from the allowed-tools line of this skill’s own SKILL.md. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

4 files, 15.3 kB on disk. Mostly text — the instructions the model reads — with 3 scripts in it that your client would run only if the instructions tell it to.

  • SKILL.md3.0 kB
  • scripts/cdp-client.js4.8 kB
  • scripts/screenshot.js2.9 kB
  • scripts/video.js4.6 kB
What is not in it

A skill installs nothing and depends on nothing: it is a folder your client reads. This one carries 3 scripts beside the text, so the bundle is 4 files you can review in full before installing. The Apache-2.0 licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

# Cloudflare Browser Rendering · 3.8k tokens when loaded npx mcprush@latest skill add cloudflare/cloudflare-browser-rendering

Writes to .claude/skills/cloudflare-browser-rendering/ in the current project. Add --global to put it in your home directory instead, for every project.

Which clients pick it up on their own

A skill is a folder of text. A client with a skills folder reads it without being told; everywhere else the same text works, it is just handed to the model rather than found.

Claude Code.claude/skills/
Claude Desktop
ChatGPT
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok.grok/skills/
Zed.agents/skills/
Windsurf.windsurf/skills/
Agent SDK.claude/skills/
HTTP / API
This release
Versionnot versioned
Publishedno release date on file
PriceFree
Referencecloudflare/cloudflare-browser-rendering

Versions

Its author publishes no version number, so there is nothing here to pin to: what you install is the folder as it stands today. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v
  • No earlier releases have been published to the marketplace.
Pinning

Nothing to pin to: this skill carries no version number of its own. What you install is what the folder holds on the day you install it.

Reviews

no reviews yet · no installs yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Who can post

Only accounts that have had the skill installed for fourteen days, so a review is written after living with it rather than after reading it. Publishers may reply once.

Who wrote it

CL
cloudflare

Publishes on mcprush.

0 servers listed1 skill listednot claimed
Profile
Publisher
Servers0
Claim this skill