Creates 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.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install cloudflare-dns-updater或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install cloudflare-dns-updater⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/cloudflare-dns-updater/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: cloudflare-dns-updater description: "Creates 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." metadata: openclaw: requires: bins: ["python3"] python: ["requests"] ---
This 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.- If the command succeeds, report the successful creation or update to the user. - If the command fails, analyze the error message from stderr and report the issue to the user in a clear, understandable way.
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. - Zone: example.com - Record: www - IP: I need to find the server's public IP first. I can use curl -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.安装 Cloudflare Dns Updater 后,可以对 AI 说这些话来触发它
Help me get started with Cloudflare Dns Updater
Explains what Cloudflare Dns Updater does, walks through the setup, and runs a quick demo based on your current project
Use Cloudflare Dns Updater to creates or updates a proxied Cloudflare DNS A record
Invokes Cloudflare Dns Updater with the right parameters and returns the result directly in the conversation
What can I do with Cloudflare Dns Updater in my marketing & growth workflow?
Lists the top use cases for Cloudflare Dns Updater, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/cloudflare-dns-updater/ 目录(个人级,所有项目可用),或 .claude/skills/cloudflare-dns-updater/(项目级)。重启 AI 客户端后,用 /cloudflare-dns-updater 主动调用,或让 AI 根据上下文自动发现并使用。
Cloudflare Dns Updater 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Cloudflare Dns Updater 可免费安装使用。请查阅仓库了解许可证信息。
Creates 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.
Cloudflare Dns Updater 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using Cloudflare Dns Updater
Identifies repetitive steps in your workflow and sets up Cloudflare Dns Updater to handle them automatically