# Send Cloudflare Dns Updater to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cloudflare-dns-updater",
    "name": "Cloudflare Dns Updater",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/xieyuanqing/cloudflare-dns-updater",
    "canonicalUrl": "https://clawhub.ai/xieyuanqing/cloudflare-dns-updater",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/cloudflare-dns-updater",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cloudflare-dns-updater",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "requirements.txt",
      "scripts/update-record.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/cloudflare-dns-updater"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cloudflare-dns-updater",
    "downloadUrl": "https://openagent3.xyz/downloads/cloudflare-dns-updater",
    "agentUrl": "https://openagent3.xyz/skills/cloudflare-dns-updater/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cloudflare-dns-updater/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cloudflare-dns-updater/agent.md"
  }
}
```
## Documentation

### Cloudflare DNS Updater

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.

### Pre-requisites

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.

### Core Action: scripts/update-record.py

The core logic is handled by the update-record.py script.

### Inputs (Command-Line Arguments)

--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.

### Output

The script will print its progress to stdout.

On success, it prints a confirmation message and a JSON object of the created/updated record.
On failure, it prints a descriptive error message to stderr and exits with a non-zero status code.

### Execution Workflow

To use this skill, follow these steps:

Verify Prerequisites: Check if the CLOUDFLARE_API_TOKEN environment variable is set. If not, notify the user and abort.
Gather Inputs: From the user's request, identify the zone, record name, and target ip.
Construct Command: Build the full shell command to execute the script.
Execute Command: Run the command using the exec tool.
Report Result:

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.

### Example Usage

User Request: "Point www.example.com to the server's public IP."

AI's Thought Process:

The user wants to update a DNS record on Cloudflare. The cloudflare-dns-updater skill is perfect for this.
I will use the update-record.py script.
I need the zone, record name, and IP.

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/.


I will first get the IP, then construct the final command.
I will execute the command and report the outcome.

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"

### Failure Strategy

If 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.
If the script exits with an error: Read the error message from stderr. Common errors include invalid API token, incorrect zone name, or insufficient permissions. Report the specific error to the user.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: xieyuanqing
- Version: 0.1.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/cloudflare-dns-updater)
- [Send to Agent page](https://openagent3.xyz/skills/cloudflare-dns-updater/agent)
- [JSON manifest](https://openagent3.xyz/skills/cloudflare-dns-updater/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/cloudflare-dns-updater/agent.md)
- [Download page](https://openagent3.xyz/downloads/cloudflare-dns-updater)