Skip to content
Back to skills

Cloudflare

ASecurity

Manage Cloudflare zones, DNS records, and cache via API token.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 14, 2026
ai-agentsapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned June 14, 2026

npx -y skills add lordmacu/nexo-rs --skill cloudflare --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cloudflare?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cloudflare
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lordmacu-cloudflare/badge)](https://www.skillsdirectory.com/skills/lordmacu-cloudflare)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Cloudflare
description: Manage Cloudflare zones, DNS records, and cache via API token.
requires:
  bins: []
  env:
    - CLOUDFLARE_API_TOKEN
---

# Cloudflare

Use this skill to read or modify Cloudflare zones and DNS records, or purge
cache. Backed by the `cloudflare` extension hitting `api.cloudflare.com/client/v4`.

## Use when

- "List my Cloudflare zones"
- "Add / update / delete an A record for `domain.tld`"
- "Purge Cloudflare cache for this site"
- "What name servers does this zone use?"

## Do not use when

- Non-Cloudflare DNS providers (Route53, Namecheap)
- Low-level DNS lookups / dig-style queries — use `dns-tools`
- Cloudflare Workers / Pages deploy — not exposed yet

## Tools

- `status` — token + write/purge gate state
- `list_zones` — optional `name` exact match, `per_page`
- `list_dns_records` — requires `zone_id`; filters `type`, `name`, `per_page`
- `create_dns_record` — `zone_id`, `type`, `name`, `content`; optional `ttl`, `proxied`
- `update_dns_record` — `zone_id`, `record_id`; any of `type`/`name`/`content`/`ttl`/`proxied`
- `delete_dns_record` — `zone_id`, `record_id`
- `purge_cache` — `zone_id` + `purge_everything` OR `files`/`hosts`/`tags`

## Write gates

Destructive ops require explicit env flags:

- `CLOUDFLARE_ALLOW_WRITES=true` — create/update/delete DNS records
- `CLOUDFLARE_ALLOW_PURGE=true` — purge cache

Without the gate, writes fail with `-32041`.

## Token scopes

Recommended token perms: `Zone:Read`, `DNS:Edit`, `Cache Purge:Purge`.
Scope the token to specific zones in the Cloudflare dashboard.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.