Agent skill · software engineering · secondsky

cloudflare-manager

Comprehensive Cloudflare account management for deploying Workers, KV Storage, R2, Pages, DNS, and Routes. Use when deploying cloudflare services, managing worker containers, configuring KV/R2 storage, or setting up DNS/routing. Requires CLOUDFLARE_API_KEY in .env and Bun runtime with dependencies installed.

Why this skill is useful

Adds executable scripts for deploying Cloudflare services and managing configurations that are not publicly documented.

What it needs

Requires bun installed locally. Requires cloudflare account access. About 7k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.

What this skill does

Cloudflare Manager Comprehensive Cloudflare service management skill that enables deployment and configuration of Workers, KV Storage, R2 buckets, Pages, DNS records, and routing. Automatically validates API credentials, extracts deployment URLs, and provides actionable error messages. Initial Setup Before using this skill for the first time: 1. Install Dependencies 2. Configure API Key Create a .env file in your project root: Getting your API token: Visit https://dash.cloudflare.com/profile/api-tokens Click "Create Token" Use "Edit Cloudflare Workers" template (or create custom token) Required permissions: Account > Workers Scripts > Edit Account > Workers KV Storage > Edit Account > Workers R2 Storage > Edit Account > Cloudflare Pages > Edit Zone > DNS > Edit (if using custom domains) 3. Validate Credentials Run validation to verify your API key and check permissions: Expected output: Troubleshooting validation: If validation fails with 401/403: Check your API token is correct in .env If validation fails with network error: Check internet connection Use --no-cache flag to force fresh validation: bun scripts/validate-api-key.ts --no-cache Current API Permissions <!-- PERMISSIONSSTART --> Run bun scripts/validate-api-key.ts to populate this section with your current permissions. <!-- PERMISSIONSEND --> Quick Start Guide Deploy a Worker Container To deploy a new worker container sandbox: What happens: Creates new worker container Deploys JavaScript/TypeScript code Automatically extracts and returns Cloudflare-generated URL (e.g., https://worker-name.username.workers.dev) Returns worker ID and configuration Example conversation: Exit codes: 0: Success - worker deployed and URL returned 1: Failure - check error message for details Performance: Deployment typically completes in 2-5 seconds Create and Use KV Storage To create a KV namespace and store data: Important: KV storage uses eventual consistency. Writes may take up to 60 seconds to propagate globally. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills secondsky/cloudflare-manager

View the source on GitHub

Browse the @skills marketplace