cloudflare-browser
Skill10k starsChanged 10 months agoApache-2.0View on GitHub
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.
- Reads credentials
1 other project uses a version of this, 1 of them edited.
Trending
Quiet since September.thin dataabout the whole repository
Most recently taken up by
- 0xHoneyJar/legba-moltbotedited, first seen Jan 30, 2026
Who's talking about cloudflare/moltworker
- @sungkim.bsky.social“Run OpenClaw (formerly Moltbot, formerly Clawdbot) on Cloudflare Workers for $5 / month. …”Bluesky · Jan 30, 2026 · 6 likes
- A Hacker News story“OpenClaw on Cloudflare Workers”Hacker News · Feb 2, 2026 · 3 points
- @bmannconsulting.com“https://github.com/cloudflare/moltworker bmann (/bmann) starred cloudflare/moltworker …”Bluesky · Jan 30, 2026 · 3 likes
- A Hacker News story“Run Moltbot (Formely Clawdbot) on Cloudflare Workers”Hacker News · Jan 29, 2026 · 3 points
- @dcuthbert.bsky.social“github.com/cloudflare/m... well played @cloudflare.social well played”Bluesky · Feb 3, 2026 · 2 likes
The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 13
Talked about on GitHub, Bluesky and Hacker News (13 times).
On GitHub · 7
- Feb 6, 2026Support Workers AI model selection during onboard — openclaw/openclaw1 reaction · 4 comments
- Sep 26, 2026agent-skills.github.cloudflare.moltworker: init at 0-unstable-2026-02-06 — sudosubin/agents.nix0 reactions
- Sep 26, 2026[Candidate] cloudflare/moltworker/skills/cloudflare-browser - cloudflare-browser — ProSkillsMD/proskills0 reactions · 1 comment
- Feb 8, 2026Container deployment fails with "Unauthorized" error despite correct OAuth scopes — cloudflare/workers-sdk0 reactions · 8 comments
- Feb 6, 2026/model command cannot parse model names containing @ character — openclaw/openclaw0 reactions · 8 comments
2 more on GitHub
- Feb 2, 2026(PB) channels.telegram: Unrecognized key: "dm" — CrocSwap/clawdbot-docker0 reactions
- Nov 15, 2025Deploy on Cloudflare button — hybrid-npm/hybrid0 reactions · 1 comment
On Bluesky · 4
- Jan 30, 2026Run OpenClaw (formerly Moltbot, formerly Clawdbot) on Cloudflare Workers for $5 / month. github.com/cloudflare/m... — @sungkim.bsky.social6 likes and reposts · 1 reply
- Jan 30, 2026https://github.com/cloudflare/moltworker bmann (/bmann) starred cloudflare/moltworker (/cloudflare/moltworker) · January 30, 2026 05:07… — @bmannconsulting.com3 likes and reposts
- Feb 3, 2026github.com/cloudflare/m... well played @cloudflare.social well played — @dcuthbert.bsky.social2 likes and reposts
- Feb 14, 2026Cloudflare brings OpenClaw to edge computing - major infrastructure backing for the hottest AI agent platform!… — @u11g.com1 likes and repost
On Hacker News · 2
- Feb 2, 2026OpenClaw on Cloudflare Workers3 points · 1 comment
- Jan 29, 2026Run Moltbot (Formely Clawdbot) on Cloudflare Workers3 points · 1 comment
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- 0xHoneyJar/legba-moltbot★ 199% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 93
Use ffmpeg to stitch: ffmpeg -framerate 10 -i frame_%04d.png -c:v libx264 -pix_fmt yuv420p output.mp4
- Very specific: line 99
WebSocket hangs: Verify CDP_SECRET matches worker configuration
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cloudflare Browser Rendering
Control headless browsers via Cloudflare's Browser Rendering service using CDP (Chrome DevTools Protocol) over WebSocket.
Prerequisites
CDP_SECRETenvironment variable set- Browser profile configured in openclaw.json with
cdpUrlpointing to the worker endpoint:"browser": { "profiles": { "cloudflare": { "cdpUrl": "https://your-worker.workers.dev/cdp?secret=..." } } }
Quick Start
Screenshot
node /path/to/skills/cloudflare-browser/scripts/screenshot.js https://example.com output.pngMulti-page Video
node /path/to/skills/cloudflare-browser/scripts/video.js "https://site1.com,https://site2.com" output.mp4CDP Connection Pattern
The worker creates a page target automatically on WebSocket connect. Listen for Target.targetCreated event to get the targetId:
const WebSocket = require('ws');
const CDP_SECRET = process.env.CDP_SECRET;
const WS_URL = `wss://your-worker.workers.dev/cdp?secret=${encodeURIComponent(CDP_SECRET)}`;
const ws = new WebSocket(WS_URL);
let targetId = null;
ws.on('message', (data) => {
const msg = JSON.parse(data.toString());
if (msg.method === 'Target.targetCreated' && msg.params?.targetInfo?.type === 'page') {
targetId = msg.params.targetInfo.targetId;
}
});Key CDP Commands
| Command | Purpose |
| Page.navigate | Navigate to URL |
| Page.captureScreenshot | Capture PNG/JPEG |
| Runtime.evaluate | Execute JavaScript |
| Emulation.setDeviceMetricsOverride | Set viewport size |
Common Patterns
Navigate and Screenshot
await send('Page.navigate', { url: 'https://example.com' });
await new Promise(r => setTimeout(r, 3000)); // Wait for render
const { data } = await send('Page.captureScreenshot', { format: 'png' });
fs.writeFileSync('out.png', Buffer.from(data, 'base64'));Scroll Page
await send('Runtime.evaluate', { expression: 'window.scrollBy(0, 300)' });Set Viewport
await send('Emulation.setDeviceMetricsOverride', {
width: 1280,
height: 720,
deviceScaleFactor: 1,
mobile: false
});Creating Videos
- Capture frames as PNGs during navigation
- 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

