cloudflare-dns-zones

cloudflare-dns-zones is a skill for Claude Code from Goodsmileduck/claude-registry. It costs 136 tokens per session (4,553 once invoked), scanned A, original, MIT.

A set of procedures for managing Cloudflare DNS zones and records through its web API. DNS is the system that connects domain names such as example.com to servers and other online services.

In plain words
What is it for?
Use it to discover zones, create or edit records, perform bulk imports and exports, configure DNSSEC, and set up DNS-based certificate verification.
Why use it?
It helps avoid common DNS mistakes, such as using overly broad credentials, proxying services that do not support it, or misconfiguring certificate challenges.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cloud-platform-skills plugin — 7 skills shipped together

Good fit Use it to discover zones, create or edit records, perform bulk imports and exports, configure DNSSEC, and set up DNS-based certificate verification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goodsmileduck/claude-registry/cloudflare-dns-zones
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Goodsmileduck/claude-registry --skill cloudflare-dns-zones
Clone the repo
git clone --depth 1 https://github.com/Goodsmileduck/claude-registry

Made for: Claude Code.

Or install cloud-platform-skills, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloudflare-dns-zones

README.md
[![agentmods](https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/cloudflare-dns-zones/github.svg)](https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-dns-zones)
Your own site
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-dns-zones"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/cloudflare-dns-zones/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloudflare-dns-zones

Your own site · 80×15
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/cloudflare-dns-zones"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/cloudflare-dns-zones.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00136 $0.04553
Opus 5 $0.00068 $0.02277
Sonnet 5 $0.00027 $0.00911
Haiku 4.5 $0.00014 $0.00455

Measured 10d ago against content hash 803a2ed67df4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cloudflare-dns-zones scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Operates Cloudflare DNS zones and records via the REST API (curl + jq) — token scoping, zone discovery, record CRUD, batch operations, BIND import/export, proxied vs DNS-only decisions, CNAME flattening at a
plugins/cloud-platform-skills/skills/cloudflare-dns-zones/SKILL.md · 370 lines

How it starts

The opening of the file, as written. The whole thing — 370 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cloudflare DNS Zones

Operational skill for managing Cloudflare DNS through the REST API. Not for Terraform — see the Cloudflare provider docs if IaC is wanted. This skill focuses on the API directly (curl + jq), which is the source of truth every wrapper is built on.

When to invoke

Symptoms:

  • Need to add, update, or audit DNS records via script/CI rather than the dashboard.
  • A record was switched to proxied (orange cloud) and a non-HTTP service stopped working.
  • DNS-01 ACME challenges fail despite a token that "should have permission."
  • Bulk record migration into or out of Cloudflare (BIND zone file in hand).
  • DKIM, SPF, DMARC TXT records being authored and the long-string semantics matter.
  • DNSSEC handoff to the parent registrar.
  • The token in use is the deprecated Global API Key.

Cross-cutting rules

  1. Never use the Global API Key. It's account-wide and can't be scoped. Use API Tokens (Profile → API Tokens). Every example below uses Authorization: Bearer $CLOUDFLARE_API_TOKEN — the same variable wrangler, the cf CLI, and the official SDK read, so one export serves every Cloudflare tool.
  2. Scope tokens to the minimum. A token for DNS work needs Zone:Read + Zone:DNS:Edit on the specific zones it operates. Not "All Zones" unless the workload genuinely touches all zones.
  3. Discover zone IDs at runtime. Hard-coding zone IDs in scripts is brittle — they change when zones are recreated. Look them up by name on each run.
  4. Idempotent operations require list-then-act. There is no "upsert by name+type" endpoint. Always GET filtered by name and type first, then POST (create) or PATCH (update by ID).
  5. Verify proxiability before setting proxied: true. Only HTTP-serving hostnames should be proxied. See proxied vs DNS-only.

API basics

Base URL: https://api.cloudflare.com/client/v4

Auth header: Authorization: Bearer $CLOUDFLARE_API_TOKEN

Response envelope: every endpoint returns:

Read the full file on GitHub · 370 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 370 lines · 136 tokens per session scan A 803a2ed67df4

Subscribe to this mod's changes

cloudflare-dns-zones is a skill published in the GitHub repository Goodsmileduck/claude-registry (1 stars, last pushed 1mo ago), licensed MIT. It adds 136 tokens to every session and 4,553 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.