Cloudflare Browser Rendering for Openclaw

A specialized tool for extracting rendered Markdown from JavaScript-heavy webpages and performing asynchronous site-wide crawls via Cloudflare APIs.

cytwyatt
v0.1.1
Mar 12, 2026
1
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cloudflare-browser-rendering-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cloudflare-browser-rendering-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Cloudflare Browser Rendering?

The Cloudflare Browser Rendering skill provides a robust bridge between basic static HTML fetching and full-scale manual browser automation. It utilizes Cloudflare REST APIs to render pages that rely heavily on JavaScript, ensuring that AI agents receive complete and accurate content rather than empty templates. This capability is essential for modern web environments where content is often injected dynamically after the initial page load.

By integrating this tool into your Openclaw Skills collection, you can efficiently convert complex web pages into clean Markdown. This is particularly valuable for building high-quality RAG pipelines, conducting technical research, or archiving documentation sites where site-wide crawling is required without the overhead of managing local browser instances.

Cloudflare Browser Rendering Use Cases

  • Extracting content from Single Page Applications (SPAs) that require JavaScript execution.
  • Crawling entire technical documentation sites or blogs for knowledge base preparation.
  • Automating the gathering of data from sites that use modern web frameworks like React, Vue, or Next.js.
  • Retrieving web content that requires specific user agents, cookies, or basic authentication.
  • Preparing clean Markdown datasets for LLM summarization and analysis.

How Cloudflare Browser Rendering Works

  1. The skill identifies the target URL and determines if a single-page extraction or a multi-page crawl is required.
  2. For single pages, it calls the Cloudflare /markdown endpoint, applying rendering options like wait-until conditions to ensure the JS has fully executed.
  3. For site-wide tasks, it initiates an asynchronous crawl job with defined depth and page limits.
  4. The Cloudflare API processes the request in a serverless browser environment, bypassing the limitations of standard static scrapers.
  5. The tool polls for crawl completion and retrieves the results in structured JSON or Markdown format.
  6. Extracted data is then passed back to the agent or saved to local files for further processing.

Cloudflare Browser Rendering Setup

To use this skill, ensure Python 3 is installed and configure your Cloudflare credentials as environment variables:

export CLOUDFLARE_API_TOKEN="your_api_token"
export CLOUDFLARE_ACCOUNT_ID="your_account_id"

Install any required dependencies and run a test extraction:

python3 scripts/cf_markdown.py --url https://example.com --wait-until networkidle0

Cloudflare Browser Rendering Data Schema & Taxonomy

The skill produces structured data to ensure compatibility with various downstream AI workflows. The organization follows this taxonomy:

Output Type Format Description
Page Content Markdown The final rendered version of a webpage, stripped of non-essential HTML tags.
Crawl Job JSON Metadata including job ID, status, and browser time consumption.
Crawl Results JSON/MD A collection of results from multiple pages, including source links and status codes.
Configuration JSON Support for custom cookies, headers, and authentication objects for complex sessions.

Cloudflare Browser Rendering Advanced Features

  • Advanced wait conditions such as networkidle0 and networkidle2 to handle complex loading sequences.
  • Request filtering using regex patterns to exclude heavy assets like CSS or images, speeding up extraction.
  • Full support for custom User-Agent strings and cookie injection to bypass basic bot detection.
  • Asynchronous crawl management with the ability to start, wait for, and fetch results for large-scale data gathering.
  • Flexible output options including direct JSON dumps for debugging or Markdown for direct LLM consumption.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*