Cloudflare Global for Openclaw

A comprehensive AI agent skill for managing Cloudflare DNS records, zone settings, and tunnels using Global API Key authentication.

ugvfpdcuwfnh
v1.0.0
Apr 13, 2026
0
773
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install cloudflare-global

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-global 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 Global?

The Cloudflare Global skill enables AI agents to interact with the Cloudflare API using the legacy Global API Key flow. This is particularly useful for integrations or specific workflows where modern API tokens are not preferred or where full account-level access is required for legacy automation. By leveraging this tool within the broader ecosystem of Openclaw Skills, developers can automate the management of DNS records, SSL configurations, and Cloudflare Tunnels through a standardized shell-based interface.

This skill is designed to be safe for distribution, relying entirely on environment variables for sensitive credentials. It provides a robust bridge between AI agents and Cloudflare's infrastructure, allowing for complex network management tasks to be performed through simple natural language commands or automated scripts.

Cloudflare Global Use Cases

  • Automating DNS record creation, updates, and deletions during web deployments.
  • Exporting or importing DNS zone files for backup, recovery, or migration tasks.
  • Managing Cloudflare Tunnels and account-level network infrastructure for remote access.
  • Purging edge cache and updating security or firewall rules programmatically.
  • Inspecting zone settings and SSL modes to ensure domain compliance and security.

How Cloudflare Global Works

  1. The AI agent first identifies the target domain and resolves the specific zone ID using the provided account credentials.
  2. It lists existing DNS records or settings when requested to ensure context and avoid duplicate entries.
  3. The skill executes operations using legacy headers including X-Auth-Email and X-Auth-Key.
  4. It applies specific logic such as setting TTL to 1 for automatic management and defaulting to non-proxied records unless specified.
  5. For tunnel operations, the skill utilizes the account ID to manage resources across the entire Cloudflare account.
  6. Errors regarding authorization or header formats are caught to prompt the user for credential verification.

Cloudflare Global Setup

To use this skill, you must configure your environment with the following variables:

export CLOUDFLARE_GLOBAL_API_KEY="your_global_key"
export CLOUDFLARE_EMAIL="[email protected]"
# Required only for tunnel operations
export CLOUDFLARE_ACCOUNT_ID="your_account_id"

Ensure that the scripts/cf-global.sh file is available in your skill path so the AI agent can execute the underlying operations.

Cloudflare Global Data Schema & Taxonomy

The skill organizes data and interacts with the Cloudflare API using the following structures:

Component Description
Zone ID The unique identifier for the domain zone being managed.
DNS Records Schema includes type (A, CNAME, etc.), name, content, TTL, and proxy status.
Tunnels Metadata including tunnel IDs and configuration details.
SSL/Settings Status objects for SSL modes, page rules, and firewall configurations.
Analytics Data structures representing domain traffic and performance metrics.

Cloudflare Global Advanced Features

  • Support for bulk DNS export and import via standard zone file formats.
  • Full lifecycle management for Cloudflare Tunnels including creation and deletion.
  • Ability to inspect and modify SSL modes and firewall rules across multiple zones.
  • Deterministic batching for updates to ensure stability during high-volume operations.
  • Integrated cache purging and analytics retrieval for real-time site management within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*