cloudflare-manager

Deploy and manage Cloudflare Workers, KV storage, R2 buckets, Pages, and DNS records.

1|Updated May 6, 2026
One-click install
npx skills add https://github.com/surfingalien/FinSurfing --skill cloudflare-manager-surfingalien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-manager
Source: https://github.com/surfingalien/FinSurfing/tree/main/.claude/skills/cloudflare-manager
Command: npx skills add https://github.com/surfingalien/FinSurfing --skill cloudflare-manager-surfingalien

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Managing Cloudflare infrastructure through the dashboard or raw API calls is slow and error-prone, especially when deploying Workers, provisioning KV namespaces and R2 buckets, and wiring up DNS routes across multiple services. ## Core Features & Use Cases - Workers Deployment: Deploy and update Cloudflare Workers via Bun scripts with automatic extraction of the generated workers.dev URL. - KV and R2 Storage Management: Create namespaces and buckets, read/write keys, upload objects, and run bulk operations from the command line. - Pages, DNS, and Routing: Create Pages projects, set environment variables, manage DNS records, and bind worker routes to custom domains. - Use Case: Set up a complete application stack by creating a KV namespace for sessions, an R2 bucket for uploads, deploying an API worker with bindings, and routing api.example.com traffic to it, all in under a minute. ## Quick Start Ask the assistant to deploy a new Cloudflare Worker named api-handler and return its live URL after adding your CLOUDFLARE_API_KEY to a .env file.

Frequently Asked Questions about cloudflare-manager

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

FAQPage Schema
How do I deploy a Cloudflare Worker from the command line?

Run bun scripts/workers.ts deploy with a worker name and script path after setting CLOUDFLARE_API_KEY in a .env file. The script deploys the worker and returns the generated workers.dev URL within a few seconds.

How do I create and use Cloudflare KV storage?

Create a namespace with bun scripts/kv-storage.ts create-namespace, then write, read, list, and delete keys using the returned namespace ID. Note that KV uses eventual consistency, so writes may take up to 60 seconds to propagate globally.

What permissions does a Cloudflare API token need for Workers deployment?

The token needs Account-level Edit permissions for Workers Scripts, Workers KV Storage, Workers R2 Storage, and Cloudflare Pages, plus Zone DNS Edit for custom domains. Run bun scripts/validate-api-key.ts to verify granted permissions.

Why does wrangler login fail silently?

Wrangler login fails when another wrangler dev or pages dev process already holds port 8976, which the OAuth callback requires. Kill all wrangler processes with pkill -f wrangler before running wrangler login.

Can I deploy files to Cloudflare Pages through the API?

The API script creates and configures the Pages project and returns its pages.dev URL, but actual file uploads require the Wrangler CLI. Run npx wrangler pages deploy with your build directory and project name.

Why does R2 bucket creation fail with a name conflict?

R2 bucket names must be globally unique across all Cloudflare accounts and use 3-63 lowercase characters, numbers, or hyphens. Choose a more specific name or list existing buckets to reuse one.