cloudflare-master
Expert Cloudflare platform guidance for Workers, storage, AI Workers, and Zero Trust setups.
- CCM score
- 48 of 100
- version
- 1.1.5
- GitHub stars
- 67
Own this plugin? Claim it
What it does
- Adds 5 commands (
/cloudflare-worker,/cloudflare-deploy,/cloudflare-tunnel,/cloudflare-ai,/cloudflare-debug) and acloudflare-expertagent - Covers Workers in JavaScript, TypeScript, Python, and WASM, with Wrangler CLI setup and bindings for KV, R2, D1, Durable Objects, and Queues
- Provides AI Workers patterns for TTS, STT, LLM inference, vision, embeddings, and RAG via Vectorize
- Designed for developers building on Cloudflare who want Zero Trust tunnels, MCP servers, and GitHub Actions CI/CD handled in one place
Expert Cloudflare platform covering Workers, Pages, AI Workers, storage (R2/D1/KV/Durable Objects/Queues), Hyperdrive, Zero Trust, MCP, and CI/CD (2025-2026). PROACTIVELY activate for: (1) any Cloudflare task, (2) Workers (JS/TS/Python/WASM), (3) Wrangler CLI, (4) AI Workers (Aura/MeloTTS, Whisper, LLM, vision, embeddings), (5) R2/D1/KV/Durable Objects/Queues, (6) Hyperdrive pooling, (7) Zero Trust (Tunnels/WARP/Access), (8) MCP servers, (9) Cron and Workflows, (10) Vectorize/RAG, (11) CI/CD, (12) observability, (13) cost optimization.
Add marketplace
/plugin marketplace add JosiahSiegel/claude-plugin-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install cloudflare-master@claude-plugin-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceCloudflare Knowledge Skill
Comprehensive Cloudflare platform knowledge covering Workers, edge storage, AI, MCP, and Zero Trust. Acts as a lean orchestrator over deep references in references/.
Activation Triggers
Activate this skill when users ask about:
- Cloudflare Workers development, Wrangler CLI,
wrangler.jsoncconfiguration - Storage services (R2, D1, KV, Durable Objects, Queues, Hyperdrive)
- Workers AI inference (LLM, TTS, STT, image, embeddings, vision)
- MCP server development on Workers
- Zero Trust (tunnels, WARP, Access policies)
- Workflows and durable execution, Vectorize, Pages, cron triggers
- CI/CD with GitHub Actions or Workers Builds
- Observability, load balancing, cost optimization
Reference Map
Load only the reference(s) the current task needs:
| Topic | File | When to load |
|---|---|---|
All Wrangler CLI commands, complete wrangler.jsonc schema, GitHub Actions, Workers Builds | references/wrangler-cli-and-config.md | Initializing projects, configuring bindings, writing CI pipelines, troubleshooting wrangler |
| KV, R2, D1, Durable Objects, Queues, Hyperdrive — characteristics, TypeScript APIs, best practices, WebSocket Hibernation, multipart upload | references/storage-services-deep-dive.md | Picking a storage service, writing handler code for any binding, designing schema or partitioning |
| Workers AI catalog (text/TTS/STT/image/vision/embeddings), invocation examples, MCP server on Workers, Cloudflare Tunnel install + Access policies + WARP | references/ai-workers-usage.md | Invoking AI models, building an MCP server, setting up cloudflared, configuring Zero Trust ingress |
| Workers AI model selection (which model for which task, context windows, perf) | references/ai-workers-models.md | Deciding between Llama, Mistral, Qwen, DeepSeek, Whisper variants, etc. |
| Deeper MCP server development (transport types, auth, tool schemas) | references/mcp-server-development.md | Building production MCP servers, debugging transport |
| Deeper Zero Trust setup (org policies, identity providers, posture checks) | references/zero-trust-setup.md | Production Zero Trust rollout |
| Cost comparison vs AWS/Azure/GCP, pricing tables, optimization tactics | references/cost-comparison.md | Budget planning, plan selection, cost optimization |
| Integrating non-Cloudflare services (Stripe, OpenAI, GitHub, third-party APIs from Workers) | references/third-party-integrations.md | Wiring external APIs into a Worker |
Platform Overview
Cloudflare is a global edge computing platform with 300+ data centers providing:
- Workers — Serverless JavaScript/TypeScript/Python/WASM at the edge
- Pages — Static site and full-stack app hosting
- R2 — S3-compatible object storage with zero egress fees
- D1 — Serverless SQLite database (strongly consistent, 10 GB max)
- KV — Eventually consistent key-value store
- Durable Objects — Stateful coordination with WebSocket Hibernation
- Queues — Async message processing with DLQ
- Hyperdrive — Database connection pooling for remote Postgres/MySQL
- Workers AI — LLM/TTS/STT/image/embeddings/vision at the edge
- Zero Trust — Identity-based security platform
- Vectorize — Vector database for RAG
- Workflows — Durable multi-step execution
Core Workflow
- Scaffold —
npm create cloudflare@latestthennpx wrangler login. Wrangler CLI details:wrangler-cli-and-config.md. - Pick a storage primitive — KV for config/sessions, R2 for blobs, D1 for relational, Durable Objects for coordination, Queues for async, Hyperdrive for remote SQL. Characteristics and trade-offs:
storage-services-deep-dive.md. - Add bindings to
wrangler.jsonc— KV namespaces, R2 buckets, D1 databases, DO, Queues, AI, Vectorize, service bindings, cron triggers, routes, observability. Full schema:wrangler-cli-and-config.md. - Implement handlers —
fetch,scheduled,queue,email. Per-binding APIs:storage-services-deep-dive.md. AI invocations:ai-workers-usage.md. - Develop locally —
npx wrangler dev(use--remotefor remote bindings; trigger crons via/__scheduled?cron=*+*+*+*+*). - Deploy —
npx wrangler deploy [--env staging]. Roll back withnpx wrangler rollback. CI/CD recipes (GitHub Actions, Workers Builds):wrangler-cli-and-config.md.
Quick Decision Guide
| Task | Choice | Reference |
|---|---|---|
| Store user sessions, config flags | KV (eventually consistent) | storage-services-deep-dive.md |
| Store media, backups, datasets | R2 (zero egress, 5 TB objects) | storage-services-deep-dive.md |
| Relational queries, ACID | D1 (SQLite, strong consistency) | storage-services-deep-dive.md |
| Real-time coordination, chat, counters | Durable Objects (+ WebSocket Hibernation) | storage-services-deep-dive.md |
| Background jobs, decoupling | Queues (at-least-once, DLQ) | storage-services-deep-dive.md |
| Remote Postgres/MySQL with low latency | Hyperdrive | storage-services-deep-dive.md |
| LLM/embedding/TTS/STT at the edge | Workers AI | ai-workers-usage.md + ai-workers-models.md |
| Expose internal app without opening firewall | Cloudflare Tunnel (cloudflared) | ai-workers-usage.md (quickstart) + zero-trust-setup.md (production) |
| Build MCP server on Workers | @cloudflare/mcp-server | ai-workers-usage.md (quickstart) + mcp-server-development.md (deep) |
| Integrate Stripe, OpenAI, GitHub, etc. | Third-party API patterns | third-party-integrations.md |
| Plan budget vs AWS/Azure/GCP | Pricing comparison | cost-comparison.md |
Best Practices
Performance
- Use edge caching — cache API responses via
caches.default. - Minimize cold starts — keep Workers small, prefer dynamic imports.
- Use Service Bindings — zero-cost Worker-to-Worker calls.
- Batch operations — combine KV/R2/D1 operations.
- Use Hyperdrive for remote PostgreSQL/MySQL.
Security
- Use
wrangler secret putfor credentials, never hardcode. - Validate and sanitize all user input.
- Always use HTTPS; enforce on routes.
- Implement rate limiting (Workers Rate Limiting API or WAF rules).
- Use Zero Trust Access for internal services (see
zero-trust-setup.md).
Cost Optimization
- Use Static Assets (free, unlimited static file serving).
- Sample logs via
observability.logs.head_sampling_ratefor high-traffic Workers. - Use KV/R2 for caching to reduce D1 or external API calls.
- Batch Queue messages to reduce per-message overhead.
- Choose model size to fit task in Workers AI — see
ai-workers-models.md. - Full pricing tables and cross-cloud comparison:
cost-comparison.md.
Quick Reference
| Task | Command |
|---|---|
| New project | npm create cloudflare@latest |
| Local dev | npx wrangler dev |
| Deploy | npx wrangler deploy |
| Create D1 | npx wrangler d1 create <name> |
| Create KV | npx wrangler kv namespace create <NAME> |
| Create R2 | npx wrangler r2 bucket create <name> |
| Set secret | npx wrangler secret put <NAME> |
| Create queue | npx wrangler queues create <name> |
| Create tunnel | cloudflared tunnel create <name> |
| Create Hyperdrive | npx wrangler hyperdrive create <name> --connection-string=... |
Full command surface (every flag, every subcommand) is in references/wrangler-cli-and-config.md.
Readme
cloudflare-master
Expert Cloudflare platform system with comprehensive 2025-2026 knowledge for all Cloudflare services and development patterns.
Features
- Workers Development: JavaScript, TypeScript, Python, WASM edge compute
- AI Workers: TTS (Aura-2, MeloTTS), STT (Whisper), LLM inference, vision, embeddings
- Storage Services: R2, D1, KV, Durable Objects, Queues, Vectorize
- Hyperdrive: Database connection pooling for PostgreSQL/MySQL
- Zero Trust: Cloudflare Tunnel, WARP, Access policies
- MCP Servers: Model Context Protocol development on Workers
- CI/CD: GitHub Actions, Workers Builds
- Observability: Workers Logs, OpenTelemetry export
Installation
claude plugins add cloudflare-master
Usage
The cloudflare-expert agent activates automatically for any Cloudflare-related task. You can also use the slash commands directly:
Commands
| Command | Description |
|---|---|
/cloudflare-worker <name> [bindings] | Create a new Worker with optional bindings (kv,r2,d1,do,queue,ai,hyperdrive) |
/cloudflare-deploy [env] | Deploy Worker to production, staging, or preview |
/cloudflare-tunnel <name> <service> <hostname> | Create Zero Trust tunnel |
/cloudflare-ai <task> | Generate AI Workers code (tts, stt, image, chat, vision, embedding, rag) |
/cloudflare-debug [issue] | Debug Workers issues (deploy, binding, performance, error) |
Examples
# Create a Worker with KV and D1 bindings
/cloudflare-worker my-api kv,d1
# Deploy to staging
/cloudflare-deploy staging
# Create a tunnel to expose local service
/cloudflare-tunnel my-tunnel http://localhost:3000 app.example.com
# Generate TTS Worker code
/cloudflare-ai tts
# Debug deployment issues
/cloudflare-debug deploy
Agent Capabilities
The cloudflare-expert agent can help with:
Workers Development
- Project scaffolding and configuration
- Wrangler CLI commands and options
- TypeScript/JavaScript patterns
- Python Workers with
workers-python - WebAssembly modules
Storage Solutions
- KV: Key-value caching, TTL strategies
- R2: S3-compatible object storage, presigned URLs
- D1: SQLite databases, migrations
- Durable Objects: Stateful coordination, WebSocket handling
- Queues: Async message processing
- Vectorize: Vector database for RAG
AI Workers
- Text-to-Speech (Aura-2 for English, MeloTTS for multilingual)
- Speech-to-Text (Whisper large-v3-turbo)
- LLM inference (Llama 3.3 70B, Mistral, Qwen, DeepSeek)
- Image generation (FLUX.1, Stable Diffusion XL)
- Vision/captioning (Llama 3.2 Vision)
- Embeddings and RAG patterns
Zero Trust
- Cloudflare Tunnel setup and configuration
- WARP client deployment
- Access policies and Service Auth
- Gateway DNS filtering
- JWT validation in Workers
MCP Development
- Streamable HTTP transport
- Tools, Resources, and Prompts
- OAuth authorization
- Cloudflare service integration
CI/CD & Observability
- GitHub Actions with wrangler-action
- Workers Builds
- Workers Logs and analytics
- OpenTelemetry export
Skill Reference
The plugin includes comprehensive reference documentation:
- cloudflare-knowledge: Main skill with Wrangler CLI, storage services, AI models, Zero Trust, and CI/CD
- ai-workers-models.md: Complete AI model catalog with usage examples
- mcp-server-development.md: MCP server development guide
- zero-trust-setup.md: Zero Trust configuration reference
Requirements
- Node.js 18+
- Wrangler CLI (
npm install -g wrangler) - Cloudflare account
Version
1.0.0
License
MIT
Details
- Marketplace
- JosiahSiegel/claude-plugin-marketplace
- Source
- plugins/cloudflare-master
- Author
- Josiah Siegel
- Category
- Community
- Keywords
- cloudflare, workers, pages, r2, d1, kv, durable-objects, queues, workflows, hyperdrive, ai-workers, workers-ai, whisper, tts, aura, deepgram, zero-trust, warp, tunnels, access, mcp, model-context-protocol, wrangler, edge, serverless, vectorize, observability, load-balancing, cicd, github-actions, cron-triggers, scheduled, websockets, 2025, 2026
- Listed since
- Apr 7, 2026
Questions
What commands does cloudflare-master add to Claude Code?
cloudflare-master adds /cloudflare-worker to create a new Worker with optional bindings such as kv, r2, d1, do, queue, ai and hyperdrive. It also adds /cloudflare-deploy for production, staging or preview deploys, /cloudflare-tunnel for Zero Trust tunnels, /cloudflare-ai for AI Workers code, and /cloudflare-debug for Workers issues.
Which category does cloudflare-master belong to and how does it compare?
cloudflare-master is listed in the DevOps & Cloud category on Claude Marketplaces, alongside ruflo-observability, ruflo-ruos, container, better-stack-automation and buildkite-automation. It stands apart by covering Cloudflare's Workers, AI Workers, storage services, Hyperdrive, Zero Trust and MCP servers in one plugin.
How do I install the cloudflare-master plugin?
Run /plugin marketplace add JosiahSiegel/claude-plugin-marketplace first inside Claude Code. Then run /plugin install cloudflare-master@claude-plugin-marketplace to add the plugin.
What do I need before using cloudflare-master?
You need Node.js 18 or later, the Wrangler CLI installed with npm install -g wrangler, and a Cloudflare account. The plugin is MIT licensed.
Does cloudflare-master help with AI Workers and storage on Cloudflare?
Yes, the cloudflare-expert agent covers Text-to-Speech with Aura-2 and MeloTTS, Speech-to-Text with Whisper, LLM inference, image generation and vision. It also covers KV, R2, D1, Durable Objects, Queues and Vectorize for RAG.
More from JosiahSiegel/claude-plugin-marketplace
All 43- context-masterv2.2.5
- doc-masterv1.6.1
- docker-masterv1.5.8
- dotnet-microservices-masterv1.0.9
- fal-ai-masterv2.0.5
- ffmpeg-corev1.0.1
- ffmpeg-effectsv1.0.1
- ffmpeg-masterv4.0.0
- ffmpeg-platformsv1.0.0
- ffmpeg-pythonv1.0.1
- ffmpeg-social-videov1.0.1
- git-masterv1.5.6
- kaggle-masterv1.0.2
- ml-masterv0.2.0
- modal-computev1.0.1
- modal-masterv4.0.0
- modal-sandboxesv1.0.0
- modal-storagev1.0.0
- modal-web-schedulingv1.0.1
- nextjs-masterv2.0.7
- plugin-masterv3.4.2
- powerbi-masterv0.5.4
- powershell-masterv2.0.6
- python-masterv2.3.6
Similar to cloudflare-master
More DevOps & CloudMcpMCP servercloudflare4.5K starsCloudflare documentation and blog search for AI assistants, plus migration guidance for Pages to Workers.
cloudflareSkillhoodini/ai-agents-skills146 installsCloudflare edge platform skill covering Workers, KV, D1, R2, Cloudflare AI, and Durable Objects with runnable code.
cloudflare-skillsPluginfcakyon/claude-codex-settings1.2K starsPick Cloudflare products and build with Workers, Durable Objects, and Wrangler.
azure-masterPluginJosiahSiegel/claude-plugin-marketplace67 starsComplete Azure cloud expertise covering 2025-2026 features. This plugin should be used for ANY Azure resource provisioning, AKS Automatic, Container Apps GPU, A