Cloudflare Manager

Automate Cloudflare Workers, KV, R2, Pages, and DNS deployments.

1.3k|150|Updated Jun 13, 2025
One-click install
npx skills add https://github.com/qdhenry/Claude-Command-Suite --skill cloudflare-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cloudflare Manager
Source: https://github.com/qdhenry/Claude-Command-Suite/tree/main/.claude/skills/cloudflare-manager
Command: npx skills add https://github.com/qdhenry/Claude-Command-Suite --skill cloudflare-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bun, @cloudflare/workers-sdk, @cloudflare/workers-types, dotenv, node-fetch, and includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the manual complexity of deploying and managing various Cloudflare services (Workers, KV, R2, Pages, DNS) through the dashboard or disparate CLI tools. It centralizes and automates Cloudflare infrastructure tasks, reducing configuration errors and saving significant time.

Core Features & Use Cases

  • Workers Deployment: Deploy and update Cloudflare Workers with automatic URL extraction and binding configuration.
  • Storage Management: Create and manage KV Storage namespaces for key-value data and R2 buckets for large object storage.
  • Pages & DNS: Deploy static sites to Cloudflare Pages and configure DNS records and worker routes for custom domains.
  • Use Case: Need to deploy a new API worker, set up a KV cache for it, and configure a custom domain? Simply ask Claude. The skill handles the entire workflow, from deployment to URL extraction and DNS configuration, so you can focus on your application logic.

Quick Start

1. Install Bun runtime and dependencies:

cd ~/.claude/skills/cloudflare-manager bun install

2. Configure Cloudflare API Key:

Create a .env file in your project root. (Get your API token from: https://dash.cloudflare.com/profile/api-tokens) Add: CLOUDFLARE_API_KEY=your_api_token_here Ensure .env is in your .gitignore to protect your key.

3. Validate your setup:

cd ~/.claude/skills/cloudflare-manager bun scripts/validate-api-key.ts

4. Deploy a worker (example):

Create a simple worker script (e.g., hello-worker.js)

Add: addEventListener('fetch', event => { event.respondWith(new Response('Hello!')); });

bun scripts/workers.ts deploy hello-worker ./hello-worker.js

Frequently Asked Questions about Cloudflare Manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Cloudflare Workers deployment with configuration management?

Cloudflare Workers deployment automation handles end-to-end setup: deploy worker scripts, extract generated URLs automatically, configure bindings for KV Storage and R2, and manage DNS routing—all from a single workflow without manual dashboard steps.

Can I deploy to Cloudflare Pages and configure DNS records in one workflow?

Yes. This automates static site deployment to Cloudflare Pages and simultaneously configures DNS records and worker routes for custom domains, eliminating separate tool chains and reducing configuration errors across services.

What's the best way to set up KV Storage namespaces and R2 buckets for a new worker?

Create and manage KV namespaces and R2 buckets through unified infrastructure automation. The workflow provisions storage, configures worker bindings, and deploys the worker—handling credential validation and environment setup automatically.

Do I need separate tools to manage Workers, KV Storage, R2, Pages, and DNS together?

No. Infrastructure as code automation centralizes all Cloudflare services—Workers, KV, R2, Pages, DNS—into a single codebase with exponential backoff retries and error handling, replacing multiple CLI tools and dashboard workflows.

How do I validate my Cloudflare API credentials before deploying?

Credential validation runs against your API key stored in .env, confirming authentication success before any deployment executes. This catches configuration errors early and prevents failed deployments.

What happens if a Cloudflare deployment fails—does it retry automatically?

Yes. Exponential backoff retries handle transient failures automatically, improving reliability for deployments across Workers, KV, R2, Pages, and DNS without manual intervention or restart overhead.