skillfed

cloudflare-api

Access Cloudflare's REST API directly for operations beyond wrangler and MCP: bulk DNS migrations, custom hostnames for white-label domains, email routing rules, cache purging, WAF configuration, and cross-database queries. Generates curl commands and batch scripts for fleet-wide resource audits and one-time bulk changes.

Cloudflare API skill lets you perform bulk DNS operations, migrations, and fleet-wide changes that wrangler and MCP can't handle efficiently.

AI-generated summary based on this skill's SKILL.md

943 95 MIT updated by jezweb

Install

jezweb/claude-skills/cloudflare-api · repository language: Python

git clone https://github.com/jezweb/claude-skills
cp -r claude-skills/plugins/cloudflare/skills/cloudflare-api ~/.claude/skills/cloudflare-api
npx skillfed install jezweb/claude-skills/cloudflare-api

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How to update many DNS records at once with cloudflare-api?

cloudflare-api enables bulk DNS operations through Cloudflare's REST API, letting you update multiple records in a single batch operation. You can generate curl scripts or programmatic calls to migrate DNS zones, add records in bulk, or modify existing records across your account without manual one-by-one updates. This is ideal for large-scale DNS migrations and fleet-wide configuration changes.

What bulk operations can cloudflare-api perform on R2, KV, and D1?

cloudflare-api provides direct API access to query and manage R2 object storage, KV key-value stores, D1 databases (including cross-database queries), Vectorize vector search, and Queues message services. You can automate bulk reads, writes, deletions, and administrative tasks across these services via REST calls and generated batch scripts for fleet-wide resource management.

How does cloudflare-api set up white-label custom hostnames?

cloudflare-api supports configuring custom hostnames and email routing for SaaS applications, enabling you to white-label domains for your customers. The skill generates the necessary API calls to provision custom hostname certificates, set up email routing rules, and manage domain associations at scale—automating what would otherwise require manual portal clicks.

Can cloudflare-api generate WAF and cache purge scripts?

Yes. cloudflare-api generates curl scripts and batch operations for WAF firewall rules, cache purging, and redirect rules. You can create rate-limiting policies, configure security rules, and automate cache invalidation across multiple zones using the generated commands, reducing manual configuration time for fleet-wide deployments.

What's the difference between cloudflare-api and wrangler?

cloudflare-api accesses Cloudflare's REST API directly for one-time bulk operations, migrations, and account-wide audits that wrangler doesn't cover. Use cloudflare-api for DNS migrations, custom hostname setup, WAF batch rules, and cross-service queries; use wrangler for deploying and managing Workers code. cloudflare-api is licensed under MIT.

How can cloudflare-api automate fleet-wide zone settings?

cloudflare-api lets you query and modify zone settings across multiple zones simultaneously using REST API calls. You can audit all resources in your account, apply consistent configurations (cache rules, security settings, redirects) to many zones at once, and generate batch scripts for repeatable fleet-wide deployments without manual portal navigation.

SKILL.md

rendered from the published skill — quoted content, verbatim

Cloudflare API

Hit the Cloudflare REST API directly when wrangler CLI or MCP servers aren't the right tool. For bulk operations, fleet-wide changes, and features that wrangler doesn't expose.

When to Use This Instead of Wrangler or MCP

Use case Wrangler MCP This skill
Deploy a Worker Yes Yes No
Create a D1 database Yes Yes No
Bulk update 50 DNS records Slow (one at a time) Slow (one tool call each)

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 2 files
plugins/cloudflare/skills/cloudflare-api/SKILL.md
plugins/cloudflare/skills/cloudflare-api/references/developer-platform-api.md

Related skills

Tags

batch-operations infrastructure-automation rest-api-direct multi-zone-management saas-white-label api-scripting fleet-administration bulk-provisioning resource-inventory curl-jq-workflow