dev-toolbelt/dev-team-agents/cloudflare

Claude Code and agent skill by dev-toolbelt/dev-team-agents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Cloudflare — DNS, Workers, Pages, Tunnels, WAF, R2, KV.

Install

npx vskill@latest install dev-toolbelt/dev-team-agents/cloudflare

SKILL.md

The same SKILL.md was published earlier as dev-toolbelt/dev-team-agents/cloudflare.

Cloudflare

Credentials Protocol — Collect Before Acting

Before any Cloudflare task, instruct the user to provide the required credentials securely.

TaskRequired credentials
DNS changesAPI Token with Zone:DNS:Edit scope
Workers deployAPI Token with Account:Workers Scripts:Edit scope
Pages deployAPI Token with Account:Cloudflare Pages:Edit scope
Tunnel setupAPI Token with Account:Cloudflare Tunnel:Edit scope
Zero Trust / AccessAPI Token with Account:Access:Edit scope
WAF / Rate LimitingAPI Token with Zone:Firewall Services:Edit scope
R2 operationsAPI Token with Account:Workers R2 Storage:Edit scope
KV operationsAPI Token with Account:Workers KV Storage:Edit scope

Always request scoped API Tokens — never the Global API Key. Set TTL and IP restrictions where practical.

Who calls the APIWhere the token lives
An agent, in this sessionThe cloudflare integration: the user runs devteam integration connect cloudflare in their own terminal, and the agent calls through devteam integration call. Load skills/integrations/cloudflare-api/SKILL.md — never ask for the token in chat or have it exported
CI, Wrangler, application codeA CI/platform secret exposed as $CLOUDFLARE_API_TOKEN (+ $CLOUDFLARE_ACCOUNT_ID, $CLOUDFLARE_ZONE_ID)

Service Detection

SignalService
wrangler.tomlWorkers (and/or Pages)
pages.dev subdomain or Pages projectPages
cloudflared binary or tunnel configTunnels
.sentryclirc mentions CloudflareIntegrated Workers
Zone / DNS config in CIDNS management

Account & Zone IDs

bash
curl -s -X GET "https://api.cloudflare.com/client/v4/zones" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" | jq '.result[] | {name, id}'

Key Config Patterns

Workers: define name, main, compatibility_date in wrangler.toml. Secrets via wrangler secret put — never in wrangler.toml.

Pages: wrangler pages deploy dist/ --project-name=my-project. CI via cloudflare/pages-action@v1.

DNS: "proxied": true activates CDN/WAF; "proxied": false is pure DNS.

KV: globally replicated, eventually consistent. Use for config and feature flags — not for strongly consistent data.

R2: S3-compatible, no egress fees. S3 SDK compatible via https://<ACCOUNT_ID>.r2.cloudflarestorage.com.

Load references/workers.md for: full wrangler.toml templates, deploy commands, KV/R2/Durable Objects/Service bindings, Zero Trust Access setup.

Load references/dns-and-pages.md for: DNS CRUD API examples, Pages deploy and CI/CD, custom domains, Tunnels setup, WAF rules, rate limiting, cache rules.


Debugging Checklist

SymptomWhere to look
DNS not resolvingDashboard → DNS → confirm record exists and TTL propagated
SSL errorDashboard → SSL/TLS → check mode (Full vs Full Strict)
Worker not updatingwrangler tail for live logs; check deployment status
Tunnel unreachablecloudflared tunnel info <name>; check service health
Unexpected 403/blockDashboard → Security → Events (WAF log)
Cache not workingCheck CF-Cache-Status response header; review Cache Rules
Rate limit false positivesSwitch to simulate mode; review Security → Events

Before Declaring Done

  • [ ] Scoped API Token used (not Global API Key); token stored in secret manager
  • [ ] .env excluded from git; CLOUDFLARE_API_TOKEN referenced as env var in CI and code; agent-run API calls went through devteam integration call
  • [ ] Workers secrets set via wrangler secret put — not in wrangler.toml
  • [ ] DNS records confirmed with correct proxied setting
  • [ ] WAF/rate limiting rules tested in simulate mode before enforcing

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
7
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dev-toolbelt/dev-team-agents/cloudflare/badge)](https://verified-skill.com/skills/dev-toolbelt/dev-team-agents/cloudflare)

Something wrong with this skill or its page? Tell us.