cloudflare-dns-deploy
Skill0 starsChanged 2 months agoApache-2.0View on GitHub
Reconcile DNS records from a declared YAML catalog to Cloudflare via the API, and optionally run the companion nginx + certbot bootstrap for records pointing at your server. Idempotent. --dry-run by default, --apply hits the API, --server-setup also wires nginx + obtains Let's Encrypt cert. Use when the user says "deploy DNS", "add a subdomain", "stand up <X>.example.com", or before any subdomain launch.
In this repository17 other files it gives its agents.
- aria-skill-candidatesSkill
- aria-skill-templateSkill
- aria-skill-testSkill
- call-scrubSkill
- doc-to-pdfSkill
- ffmpeg-audioSkill
- github-repo-deploySkill
- goal-to-planSkill
- headless-claudeSkill
- live-code-watchSkill
- premortemSkill
- screen-describeSkill
- session-cabinetSkill
- skill-manifest-genSkill
- sprint-scaffoldSkill
- surgical-patchSkill
- video-ingestSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Default is dry-run: No API write until --apply.
- Very specific: line 36
Server-setup is opt-in: Default --apply only touches Cloudflare.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
cloudflare-dns-deploy
YAML → Cloudflare DNS → nginx → certbot, in one command.
When to use
- New subdomain launches (replaces dashboard click + SSH + nginx + certbot dance)
- DNS audits (
--dry-runshows drift between YAML and live) - Multi-zone management (one YAML covers all your zones)
- Pruning stale records (
--prunedeletes A/AAAA/CNAME/TXT/MX not in YAML)
How it works
- Reads
dns_records.yaml - For each zone, lists current Cloudflare records
- For each declared record: matches by (zone, type, name). Creates if absent; patches if drift in content/TTL/proxied.
- With
--server-setup: waits for DNS propagation, enables nginx site, runs certbot, verifies HTTPS.
Env vars required
| Var | Required for | Notes |
CLOUDFLARE_API_TOKEN | all | Scoped Token (Zone:Read + DNS:Edit on target zones) |
Token creation: dash.cloudflare.com → My Profile → API Tokens → Create Token → "Edit zone DNS" template.
Safety
- Default is dry-run. No API write until
--apply. - Doesn't delete by default.
--pruneis the explicit opt-in to remove records. - Server-setup is opt-in. Default
--applyonly touches Cloudflare; you don't accidentally invoke certbot. - Cert renewal stays under certbot.timer — this skill issues; renewal is automatic via the system service.
Hosted version
Vox Ordo runs this with:
- Multi-zone team management
- Scheduled drift checks (alerts on manual dashboard changes)
- Approval workflow for
--pruneand--server-setup - Free tier · BYOK · no credit card
License
Apache 2.0
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

