Cloudflare Manager

Automates Cloudflare account management for Workers, KV, R2, Pages, DNS, and Routes.

Updated Feb 24, 2013
One-click install
npx skills add https://github.com/ysano/dotfiles --skill cloudflare-manager-ysano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cloudflare Manager
Source: https://github.com/ysano/dotfiles/tree/main/claude-home/skills/cloudflare-manager
Command: npx skills add https://github.com/ysano/dotfiles --skill cloudflare-manager-ysano

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Cloudflare Manager consolidates deployment and configuration of Workers, KV, R2, Pages, DNS, and Routes into a single workflow, reducing setup complexity and errors.

Core Features & Use Cases

  • Unified deployment of Workers, KV namespaces, R2 buckets, Pages projects, and DNS records from one interface.
  • Credential validation & URL extraction: validates CLOUDFLARE_API_KEY and returns deployment URLs to accelerate setup.
  • End-to-end workflows: create, bind, and deploy multi-service applications (e.g., worker + KV + R2 + Pages) with automated routing.

Quick Start

Install dependencies, configure the API key in .env, validate credentials, and perform an initial deployment with example commands:

  • cd ~/.claude/skills/cloudflare-manager
  • bun install
  • Create .env: CLOUDFLARE_API_KEY=your_token_here
  • bun scripts/validate-api-key.ts
  • bun scripts/workers.ts deploy example-worker ./example.js --kv-binding EXAMPLE:abc123

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 alongside KV and R2 bindings?

Automate Cloudflare Workers deployment by using Bun-based scripts to create, bind, and deploy multi-service configurations. This workflow unifies Workers, KV namespaces, and R2 buckets into a single interface, reducing manual setup complexity and configuration errors.

How do I validate my Cloudflare API credentials before deploying Workers or Pages?

Validate Cloudflare API credentials by running a dedicated Bun script that checks the CLOUDFLARE_API_KEY stored in your .env file. This automated validation process ensures your API token is active and correctly configured before attempting any resource deployment.

Can I bind R2 buckets and KV namespaces to a Cloudflare Worker automatically?

Yes, you can bind R2 buckets and KV namespaces to a Cloudflare Worker automatically. The deployment workflow accepts binding arguments during the worker deployment command, linking storage resources like KV and R2 directly to your application code.

Does Cloudflare Manager support extracting deployment URLs for Pages and Workers?

Yes, Cloudflare Manager supports extracting deployment URLs for Pages and Workers. The credential validation and deployment scripts return deployment URLs to accelerate your setup, providing direct links to your newly deployed edge applications.

Why are my Cloudflare multi-service deployments failing due to permission errors?

Cloudflare multi-service deployments fail due to permission errors when API credentials lack sufficient access. The workflow includes robust error handling and credential validation to troubleshoot permissions, ensuring your CLOUDFLARE_API_KEY has the required scopes for Workers, KV, R2, and DNS.