cloudflare
Run every Cloudflare job through the official `cf` CLI - domains, DNS, Workers deploys, secrets and custom domains, KV, D1, R2, WAF, SSL and cache. Use when the user mentions Cloudflare, cf, DNS, a domain, deploy, Workers, KV, D1, R2, CDN, SSL or cache.
How do I install this agent skill?
npx skills add https://github.com/melvynx/ai-maxxing-skills --skill cloudflareIs this agent skill safe to install?
- Gen Agent Trust Hubfail
The skill incorrectly identifies the 'cf' npm package as the official Cloudflare CLI (the official tool is 'wrangler') and explicitly instructs the agent to avoid the genuine tool. This leads to the installation of an unrelated package and the potential exposure of Cloudflare credentials and account data to an unverified third-party tool.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
Use the official cf CLI (npm i -g cf) for every Cloudflare action. Never Wrangler, an S3 SDK script or raw calls to api.cloudflare.com; if cf cannot do something, say so and stop. The Cloudflare connector in Claude can help for reads, but changes go through cf.
cf --version # missing: run the setup-cloudflare skill
cf auth whoami # must say "authenticated": true
cf auth login # OAuth in the browser, the user grants every scope, sensitive ones included
When cf stops with "More than one account available", run cf accounts list and export CLOUDFLARE_ACCOUNT_ID=<id> for the session. Zone commands take -z <domain or zone id>. Never print tokens or read the cf config file.
Find any command instead of guessing it, with generic queries (action + resource type, no names or ids):
cf cli search "<what you want to do>" # JSON matches
cf <discovered command> --help # flags of that command
cf schema <command without the leading cf> # exact API request body
The commands used most:
cf zones list
cf dns records list -z <domain>
cf dns records create -z <domain> --body '{"type":"CNAME","name":"www","content":"target","proxied":true}'
cf init <dir> && cf dev # then cf build, cf deploy
cf r2 buckets list
cf r2 objects put <key> --bucket-name <bucket> --file <path> --content-type <mime>
Everything else (DNS update or delete, Worker custom domain, secrets, routes, crons, KV, D1, cache purge, SSL, WAF, Access, email routing, DNSSEC, analytics) goes through cf cli search "<job>". Add --local to simulate KV, D1 and R2 objects. Subcommand names follow the CLI release: if one errors, search it.
Every mutating command accepts --dry-run. Confirm with the user before anything destructive (DNS deletes, zone changes, purges), and pass --force only after their yes.
When another service (Lumail, Stripe, Google, a mail provider) shows DNS records to add, create each one exactly as given (type, name, content, priority, TTL), keep mail and verification records unproxied ("proxied": false), then list the zone to confirm they exist.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/melvynx/ai-maxxing-skills/cloudflare">View cloudflare on skillZs</a>