From cloudflare
Manages Cloudflare zones via API. Use when purging cache, querying DNS records, or checking zone analytics.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cloudflare:cloudflareThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
All requests use `--oauth2-bearer` for auth:
All requests use --oauth2-bearer for auth:
--oauth2-bearer "$CLOUDFLARE_API_TOKEN" -H "Content-Type: application/json"
List zones:
GET https://api.cloudflare.com/client/v4/zones
Purge cached URLs:
POST https://api.cloudflare.com/client/v4/zones/{zone_id}/purge_cache
Body: {"files":["https://example.com/path/to/asset"]}
DNS records:
GET https://api.cloudflare.com/client/v4/zones/{zone_id}/dns_records
Analytics (last 24h):
POST https://api.cloudflare.com/client/v4/graphql
Body: {"query":"{ viewer { zones(filter: {zoneTag: \"ZONE_ID\"}) { httpRequests1dGroups(limit: 1, filter: {date_geq: \"YYYY-MM-DD\"}) { sum { requests pageViews bytes threats } } } } }"}
Set date_geq to yesterday's date. Adapt the query for other datasets — see Cloudflare GraphQL Analytics docs.
jq to format responsesnpx claudepluginhub lineofflight/claude-code-plugins --plugin cloudflareHits Cloudflare REST API for bulk/fleet ops: DNS records, custom hostnames, email routing, cache purge, WAF/redirect rules, D1 cross-DB queries, R2/KV bulk, Vectorize/Queues. Outputs curl/scripts.
Provisions Cloudflare infrastructure using OpenTofu/Terraform for zones, DNS records, WAF rules, SSL settings, Page Rules, and cache configurations.
Deploys and manages Cloudflare Workers, KV Storage, R2 buckets, Pages projects, DNS records, and routes via API. Validates credentials and extracts deployment URLs for service setup.