cloudflare-dns-updaterCreates or updates a proxied Cloudflare DNS A record. Use when you need to programmatically point a subdomain to an IP address. Takes record name, zone name, and IP address as input.
Install via ClawdBot CLI:
clawdbot install xieyuanqing/cloudflare-dns-updaterThis skill creates or updates a Cloudflare DNS 'A' record, pointing it to a specified IP address and ensuring it is proxied. It is a foundational tool for automating service deployment and DNS management.
This skill requires the CLOUDFLARE_API_TOKEN environment variable to be set with a valid Cloudflare API Token that has DNS edit permissions.
The model should verify this prerequisite before attempting to use the skill. If the variable is not set, it should inform the user and stop.
scripts/update-record.pyThe core logic is handled by the update-record.py script.
--zone: (Required) The root domain name. Example: example.com--record: (Required) The name of the record (subdomain). Use @ for the root domain itself. Example: www--ip: (Required) The IPv4 address to point the record to.--proxied: (Optional) Boolean (true or false) to set the Cloudflare proxy status. Defaults to true.The script will print its progress to stdout.
To use this skill, follow these steps:
CLOUDFLARE_API_TOKEN environment variable is set. If not, notify the user and abort.zone, record name, and target ip.exec tool.User Request: "Point www.example.com to the server's public IP."
AI's Thought Process:
cloudflare-dns-updater skill is perfect for this.update-record.py script.example.comwwwcurl -s https://ipv4.icanhazip.com/.AI's Actions:
# Step 1: Get IP
PUBLIC_IP=$(curl -s https://ipv4.icanhazip.com/)
# Step 2: Run the skill's script
python3 skills/cloudflare-dns-updater/scripts/update-record.py \
--zone "example.com" \
--record "www" \
--ip "$PUBLIC_IP"
CLOUDFLARE_API_TOKEN is not set: Do not attempt to run the script. Inform the user that the required environment variable is missing and needs to be configured by the administrator.Generated Mar 1, 2026
Automatically update DNS records when deploying new web servers or migrating between cloud providers. This ensures minimal downtime during infrastructure changes by programmatically pointing domains to new IP addresses.
Integrate DNS updates into deployment pipelines to automatically point staging or production domains to newly built application servers. This enables seamless blue-green deployments and automated environment management.
Maintain reliable access to self-hosted services at home by updating Cloudflare DNS when residential IP addresses change. This provides enterprise-grade DNS management for personal projects and homelabs.
Programmatically configure DNS records for different geographical regions when implementing global load balancing solutions. This allows quick routing adjustments based on server availability and performance metrics.
Automatically redirect traffic to backup servers during outages by updating DNS records when primary systems fail. This enables rapid failover without manual intervention during critical incidents.
Offer automated DNS management as a subscription service for small businesses and developers who need reliable domain management without technical overhead. Charge monthly fees for automated updates and monitoring.
Package this skill as part of a larger DevOps toolkit or platform, selling to enterprises that need automated infrastructure management. Integrate with existing CI/CD platforms and cloud management consoles.
Incorporate this automation into web hosting control panels for resellers and hosting companies. Enable customers to manage their own DNS through an intuitive interface powered by this backend skill.
💬 Integration Tip
Always verify CLOUDFLARE_API_TOKEN exists before execution and implement error handling for common failures like invalid tokens or network issues.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.