cloudflare-dns
Manage Cloudflare DNS records via API. Use when user asks to list, create, update, or delete DNS records, set up DDNS, manage domains on Cloudflare, or check DNS propagation. Supports A, AAAA, CNAME, TXT, MX, and other record types.
Why use this skill?
Automate Cloudflare DNS record management including creation, updates, and DDNS. Perfect for developers looking to script domain tasks effortlessly.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/pushp1997/cloudflare-dnsWhat This Skill Does
The cloudflare-dns skill provides an interface to manage Cloudflare DNS configurations directly from your environment. By leveraging the cf-dns.sh utility, it allows users to interact with Cloudflare's API to list, create, update, and delete DNS records. Whether you are managing A, AAAA, CNAME, TXT, or MX records, this tool automates manual dashboard tasks through command-line operations. It is particularly useful for sysadmins and developers managing multiple domains, as it simplifies zone identification and record synchronization without requiring browser-based navigation.
Installation
To integrate this skill into your agent, use the ClawHub installer. Execute the following command in your terminal:
clawhub install openclaw/skills/skills/pushp1997/cloudflare-dns
Once installed, ensure your API credentials are configured. You need a Cloudflare API Token (generated via the Cloudflare Dashboard with the 'Edit zone DNS' template) and your Zone ID. You can set these as environment variables (CF_API_TOKEN and CF_ZONE_ID) to facilitate seamless execution.
Use Cases
This skill is designed for scenarios ranging from routine maintenance to automated infrastructure management. Use it to:
- Automate DDNS for home servers by updating your public IP against a specific hostname periodically.
- Provision new subdomains for staging environments programmatically.
- Manage complex email verification records (SPF, DKIM, DMARC) at scale.
- Quickly audit DNS propagation or existing record settings by listing records for specific zones without logging into the web GUI.
Example Prompts
- "Check the current DNS records for example.com and identify the record ID for 'blog'."
- "Update the A record for the 'home' subdomain in my primary zone to my current public IP address."
- "Create a new CNAME record for 'dev.example.com' pointing to 'origin.example.com' with proxy enabled."
Tips & Limitations
- Proxying: Use the
--proxiedflag to enable the orange cloud, which hides your origin IP and utilizes Cloudflare's CDN. Without this flag, the record will point directly to your server. - TTL Settings: Use 1 as the TTL value to trigger 'Auto' mode when proxied.
- Script Output: The underlying script returns JSON responses. Use tools like
jqto parse specific data points if building higher-level automation flows. - Security: Keep your API tokens secure. Avoid committing files containing hardcoded tokens to version control systems; instead, utilize secret management tools or environment variables.
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-pushp1997-cloudflare-dns": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution
Related Skills
groww
Trade stocks and manage portfolio on Groww (Indian broker). Use when user asks about Indian stocks, NSE/BSE prices, portfolio holdings, placing buy/sell orders, checking order status, or any Groww-related trading queries. Supports live quotes, LTP, OHLC, historical candles, and order management.
ovh
Manage OVHcloud services via API. Use when user asks about OVH domains, DNS records, VPS, cloud instances, dedicated servers, email, SSL certificates, or any OVH service management. Supports listing, creating, updating, and deleting resources.
firefly-iii
Manage personal finances via Firefly III API. Use when user asks about budgets, transactions, accounts, categories, piggy banks, subscriptions, recurring transactions, or financial reports. Supports creating, listing, updating transactions; managing accounts and balances; setting budgets; tracking savings goals.