Enables secure, authenticated public access to an OpenClaw Gateway WebUI using Cloudflare Tunnels and Zero Trust policies.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-cloudflare-secure
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openclaw-cloudflare-secure using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The OpenClaw Cloudflare Secure skill is designed for developers who need to expose their OpenClaw WebUI on a VPS without the risks associated with open public ports. It utilizes Cloudflare Tunnel (cloudflared) to create an encrypted, outbound-only connection to the Cloudflare edge, effectively hiding the server's IP address.
This workflow is a critical component of professional Openclaw Skills implementations, as it integrates identity-based authentication through Cloudflare Access. By leveraging this skill, users can manage DNS records programmatically and ensure that their AI agent interfaces are only accessible to authorized personnel via custom hostnames.
./scripts/install_cloudflared.sh
sudo ./scripts/tunnel_service_install.sh '<YOUR_CLOUDFLARE_TUNNEL_TOKEN>'
export CLOUDFLARE_API_TOKEN='your_token_here'
./scripts/dns_point_hostname_to_tunnel.sh \
--zone example.com \
--hostname openclaw.example.com \
--tunnel-uuid <TUNNEL_UUID>
The skill utilizes a set of scripts and environment variables to manage the lifecycle of the secure connection:
| Component | Purpose |
|---|---|
cf_dns.py |
Core Python logic for interfacing with the Cloudflare DNS API. |
dns_create_record.sh |
Shell script for programmatic creation of A, AAAA, and CNAME records. |
tunnel_service_install.sh |
Automates the systemd registration of the cloudflared connector. |
CLOUDFLARE_API_TOKEN |
Required environment variable for authenticated DNS modifications. |
TUNNEL_UUID |
Unique identifier for the Cloudflare Tunnel routing. |
Loading
An intelligent routing engine that classifies task complexity to select the most cost-effective AI model for Openclaw Skills agents.

A sophisticated reasoning engine that orchestrates a mixture of frontier AI models to debate and synthesize high-quality answers for complex queries.

A visual identity and reputation system for AI agents that evolves their digital avatar based on real-world activity and verification.

A sophisticated Zettelkasten-style engine that transforms raw thoughts and research into a structured, bidirectional knowledge graph.

Securely expose your local AI agent UI and services to the web with automatic HTTPS and SSO-based access control.

A secure utility for managing API keys via the system keyring and injecting them into OpenClaw configurations.








































