Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Cloudflare API Direct

Generates curl commands and batch scripts that hit the Cloudflare REST API directly for bulk and fleet-wide operations wrangler and MCP handle poorly.

Web & APIIntermediate★ 1,034⑂ 105AI score 9/10Last updated: Sep 29, 2026

What it does

  • Produces curl one-liners and batch scripts against the Cloudflare REST API (api.cloudflare.com/client/v4).
  • Includes a decision table for when to use wrangler, MCP, or the raw API.
  • Covers bulk DNS, custom hostnames (white-label SaaS), email routing, cache purge, redirect rulesets, fleet-wide zone settings, WAF and rate-limit rules, Worker routes, and GraphQL analytics.
  • Documents token scoping, zone ID lookup, rate limits (1200 req / 5 min), and script conventions: env-based tokens, pagination, jq '.success' error checks, sleeps, and --dry-run.
  • Defers D1/R2/KV/Vectorize/Queues specifics to the bundled references/developer-platform-api.md.

Who it's for

  • Agencies and freelancers managing many Cloudflare zones.
  • SaaS teams onboarding customer domains via custom hostnames.
  • DevOps/SRE engineers scripting or auditing Cloudflare infrastructure.

Examples

  1. "Import 50 DNS records from this CSV into the new zone" → batch script with rate-limit sleeps and per-record success checks.
  2. "Set SSL to full (strict) and min TLS 1.2 across every active zone" → zone enumeration plus per-zone PATCH loop.
  3. "Rate limit /api/ to 100 requests per minute per IP" → ruleset entrypoint call for the http_ratelimit phase.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/jezweb/claude-skills/HEAD/archive/plugins/cloudflare/skills/cloudflare-api/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the archive/plugins/cloudflare/skills/cloudflare-api folder from the GitHub repo jezweb/claude-skills into my ~/.claude/skills/jezweb-cloudflare-api/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/jezweb/claude-skills.git /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/archive/plugins/cloudflare/skills/cloudflare-api ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and clone the repo: git clone https://github.com/jezweb/claude-skills.git
  2. Create the skills directory: mkdir -p ~/.claude/skills
  3. Copy the skill folder: cp -r claude-skills/archive/plugins/cloudflare/skills/cloudflare-api ~/.claude/skills/
  4. Verify the bundled references/ folder came along: ls ~/.claude/skills/cloudflare-api
  5. In the Cloudflare dashboard go to My Profile → API Tokens, create a minimally scoped token, then export it: export CLOUDFLARE_API_TOKEN="..." (add it to your shell rc file).
  6. Make sure jq is installed: brew install jq or sudo apt install jq.
  7. Restart Claude Code and try a prompt like "use the cloudflare api to bulk-create DNS records from this CSV".