cloudflare
Cloudflare CLI - manage DNS records, purge cache, and control Workers routes.
Why use this skill?
Manage Cloudflare DNS records, cache purging, and Workers routes directly from OpenClaw. Streamline your infrastructure tasks with this secure, API-driven skill for developers.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dbhurley/cloudflareWhat This Skill Does
The Cloudflare CLI skill for OpenClaw provides a powerful, programmatic interface to manage your Cloudflare infrastructure directly from your terminal or via the AI agent. It abstracts complex API calls into simple, intuitive commands that allow you to handle DNS records, perform cache purges, and manage Workers routes with high precision. Whether you are automating infrastructure as code or performing emergency cache invalidations during a production incident, this skill acts as a bridge between your intent and the Cloudflare edge network. By utilizing a scoped API token, the skill ensures that interactions remain secure and compliant with the principle of least privilege, specifically supporting DNS management, cache control, and worker deployment configuration.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawdhub install openclaw/skills/skills/dbhurley/cloudflare. Once installed, navigate to your configuration file located at ~/.clawdis/clawdis.json and insert your CLOUDFLARE_API_TOKEN under the cloudflare section. It is highly recommended to generate a scoped API token from the Cloudflare dashboard with permissions restricted specifically to DNS, Cache Purge, and Workers Routes to maintain system integrity.
Use Cases
This skill is indispensable for DevOps engineers, web developers, and system administrators. Common use cases include automating DNS propagation for new environments, programmatically invalidating global CDN caches after a static site deployment, and synchronizing Worker route patterns across multiple environments. It is especially useful for incident response, where purging a misbehaving asset from the edge cache is required across several domains simultaneously.
Example Prompts
- "OpenClaw, please update the A record for the 'api' subdomain on example.com to point to 192.0.2.1."
- "Purge all cache entries for the domain example.com to ensure the latest static assets are being served to users."
- "List all active workers routes currently configured for my production domain and verify if the pattern for the blog path is correctly set."
Tips & Limitations
Always use the --json flag when building automated scripts to ensure the output can be reliably parsed by secondary processes. Remember that DNS changes via API may take time to propagate globally depending on TTL settings. When performing mass deletions, utilize the --yes flag cautiously, as it bypasses confirmation prompts. Note that this skill does not support managing Cloudflare account-level settings such as billing, audit logs, or WAF configurations, as it is focused strictly on site-level resource management.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-dbhurley-cloudflare": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
daily-recap
Generate a daily recap image with your agent holding a posterboard of accomplishments. Cron-driven, weather-aware, customizable to any agent identity.
plex
Control Plex Media Server - browse libraries, search, play media, manage playback.
grocery-list
Standalone grocery lists, recipes, and meal planning with local storage. No external service required.
tmdb
Search movies/TV, get cast, ratings, streaming info, and personalized recommendations via TMDb API.
otter
Otter.ai transcription CLI - list, search, download, and sync meeting transcripts to CRM.