Cloudflare Infrastructure for Openclaw

A powerful Cloudflare integration for OpenClaw that lets developers manage DNS records, zones, WAF rules, and tunnels directly from their AI chat environment.

hith3sh
v1.0.6
Jun 9, 2026
32
2.8k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install cloudflare-infrastructure

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-infrastructure 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 Infrastructure?

Manage your entire Cloudflare ecosystem directly from your OpenClaw workspace using the Cloudflare Infrastructure skill. This production-ready extension integrates with ClawLink to provide secure, hosted credential management, eliminating the need to expose raw API tokens inside your chat sessions. By utilizing Openclaw Skills, developers and DevOps teams can inspect active DNS records, configure Cloudflare Workers, secure web applications, and update network routing policies using simple, conversational commands.

With seamless automation, this skill enables you to list zones, create DNS records, and audit web application firewall (WAF) rule sets dynamically. It is designed to act as a secure proxy between your AI terminal and the official Cloudflare API, streamlining day-to-day infrastructure maintenance with safe defaults, dry-runs, and strict execution confirmations.

Cloudflare Infrastructure Use Cases

  • Automated DNS Record Management: Quick lookup, creation, and updating of A, CNAME, TXT, and MX records without leaving your coding environment.
  • Zero-Trust Network Configurations: Monitor, list, and modify Cloudflare Tunnels and ingress configurations programmatically.
  • WAF Rule Audits & IP Whitelists: Inspect firewall logs, modify access control lists, and deploy rules to prevent malicious traffic during security incidents.
  • Infrastructure Verification: Easily query accounts, zones, load balancers, and active pool monitors to check the health of system deployments.
  • Domain Provisioning: Automatically register and initialize brand new DNS zones inside your Cloudflare dashboard via AI commands.

How Cloudflare Infrastructure Works

  1. Plugin Initialization: The OpenClaw agent discovers the registered toolset via the ClawLink integration plugin.
  2. Secure Device Pairing: A quick authorization step binds the local OpenClaw workspace to a secure connection profile on ClawLink.
  3. ClawLink Authentication Proxy: API credentials (API tokens) are stored safely on the ClawLink dashboard, bypassing chat exposure risks.
  4. Capability Discovery: The agent retrieves the current list of verified actions by querying the live tool catalog dynamically.
  5. Execution & Safeguards: Safe read operations run directly, while destructive or state-changing write actions require preview validation and explicit developer confirmation.

Cloudflare Infrastructure Setup

Install the verified plugin into your local gateway. Execute the following CLI commands to install and register the toolset with your local agent:

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '[\"clawlink-plugin\"]' --strict-json
openclaw gateway restart

Once restarted, begin a fresh chat session by typing /new. Initialize pairing and connect your Cloudflare account:

  1. Run clawlink_begin_pairing if your local plugin is not yet configured.
  2. Navigate to https://claw-link.dev/dashboard?add=cloudflare in your web browser.
  3. Log in, authorize your Cloudflare workspace, and return to chat.
  4. Verify your live connection by listing the integration tools:
# Verify your connection status
clawlink_list_integrations

# Query active tools for your account
clawlink_list_tools --integration cloudflare

Cloudflare Infrastructure Data Schema & Taxonomy

This skill structures tool requests using specific JSON payloads to query the Cloudflare API. The schema below details the primary operational endpoints and parameter classifications:

Domain Tool Name Mode Expected Parameters Description
Zones cloudflare_list_zones Read {}, page, per_page List active domains in the account.
DNS cloudflare_list_dns_records Read zone_id Search existing records under a specific zone.
DNS cloudflare_create_dns_record Write zone_id, type, name, content, ttl Add a new A, CNAME, or TXT record.
Tunnels cloudflare_list_tunnels Read {} Retrieve existing Cloudflare Tunnels.
WAF cloudflare_list_firewall_rules Read zone_id Inspect active firewall policies.
Accounts cloudflare_list_accounts Read {} List organization and individual workspaces.

All state-changing updates, such as creating records or deploying tunnels, output structured logs indicating target parameters, changed fields, and deployment status.

Cloudflare Infrastructure Advanced Features

  • Interactive Writes with dry-run Previews: Uses clawlink_preview_tool to double-check structural updates prior to final deployment on Cloudflare's servers.
  • WAF Custom List Synchronization: Create, update, and manage plan-based network blocklists dynamically via structured API targets.
  • Zero-Loss Tunnel Reconfigurations: Tunnel modification requests read active configurations beforehand, avoiding accidental deletion of preexisting routing records.
  • Pagination Handling: Integrates pagination tokens to parse large zones and comprehensive DNS tables seamlessly.
  • Seamless Multi-Platform DevOps: Operates alongside other enterprise Openclaw Skills to support cross-cloud deployments (e.g., AWS, Datadog, and GitHub CI/CD).

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*