Projects cloudflare skill

cloudflare skill

Active

Tunnel and DNS management for OpenClaw. Create, route, and manage Cloudflare tunnels via CLI.

Cloudflare APIBashcloudflared

What It Does

Wraps Cloudflare's API and cloudflared CLI into simple commands. Instead of remembering curl syntax and tunnel IDs, you run ./scripts/tunnel.sh create --name myapp --zone example.com and it handles the rest.

Key Commands

tunnel.sh create --name NAME --zone ZONE

Creates a new tunnel and outputs the token

tunnel.sh route --name NAME --hostname HOST

Routes DNS to the tunnel

tunnel.sh delete --name NAME

Cleans up tunnel and DNS records

dns.sh create --name NAME --zone ZONE --type TYPE --content CONTENT

Creates DNS records via API

The DNS Gotcha

The CNAME target must end in .cfargotunnel.com, not .cfd_tunnel. The latter is an old suffix that causes 530 errors. Always verify with dig after routing.

Built with SvelteKit + Tailwind • Deployed on Coolify • Delivered via Cloudflare Tunnel