cloudflare-knowledge
Cloudflare Knowledge equips you with patterns and templates for building on the Cloudflare edge platform—Workers, Pages, R2, D1, KV, Durable Objects, and Workers AI. Reference guides cover wrangler configuration, storage service trade-offs, AI model selection, and Zero Trust setup.
Cloudflare Knowledge provides deployment patterns and configuration templates for serverless functions on Cloudflare Workers.
AI-generated summary based on this skill's SKILL.md
Install
JosiahSiegel/claude-plugin-marketplace/cloudflare-knowledge · repository language: Shell
git clone https://github.com/JosiahSiegel/claude-plugin-marketplace
cp -r claude-plugin-marketplace/plugins/cloudflare-master/skills/cloudflare-knowledge ~/.claude/skills/cloudflare-knowledgeFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I set up Cloudflare Workers?
Cloudflare Knowledge provides setup patterns for deploying serverless functions on Cloudflare Workers edge network. Start by installing wrangler (the CLI tool), then initialize a project with `wrangler init`. Configure your wrangler.toml file with your account details, routes, and any bindings to storage services like R2, D1, KV, or Durable Objects. Cloudflare Knowledge includes templates showing how to structure handlers, define environment variables, and deploy to the edge. The skill covers both local development and production deployment workflows.
What storage services does Cloudflare offer and how do I choose?
Cloudflare Knowledge guides you through four main storage options: R2 (object storage for files and blobs), D1 (serverless SQL database), KV (low-latency key-value store), and Durable Objects (strongly consistent coordination and state). The skill includes trade-off analysis to help you select the right service—R2 for media and backups, D1 for relational data, KV for caching and session data, and Durable Objects for real-time coordination. Integration patterns show how to bind each service to your Workers and query them efficiently.
How can I build AI-powered applications using Workers AI?
Cloudflare Knowledge covers building AI applications with Workers AI models running on the edge. The skill includes examples for LLM inference, embeddings generation, and model selection. You bind Workers AI to your function via wrangler.toml, then call models directly without managing infrastructure. Cloudflare Knowledge provides code templates for common patterns: text generation, semantic search with embeddings, and multi-model workflows. Performance and cost optimization guidance helps you choose between running inference on the edge versus calling external APIs.
What is Cloudflare Workers KV key-value store?
Cloudflare Knowledge explains that Workers KV is a low-latency, globally distributed key-value store designed for edge applications. KV is ideal for caching, session storage, feature flags, and configuration data. The skill covers binding KV namespaces in wrangler.toml, basic operations (get, put, delete, list), and consistency trade-offs. Cloudflare Knowledge includes patterns for cache invalidation, TTL management, and cost optimization—KV reads are cheaper than writes, so design your access patterns accordingly.
How do I implement Zero Trust security and Cloudflare tunnels?
Cloudflare Knowledge provides setup guidance for Zero Trust architecture and cloudflared tunnel installation. Zero Trust replaces VPN with identity-based access control—you authenticate users and devices before granting access to applications. The skill covers installing cloudflared on your origin server, creating tunnel configurations, and integrating with Cloudflare Access policies. Cloudflare Knowledge includes examples for protecting internal applications, APIs, and SSH access. Tunnel configuration patterns show how to route traffic securely without exposing your origin IP.
How can I optimize costs and performance on Cloudflare?
Cloudflare Knowledge includes cost and performance optimization strategies across the platform. For Workers, minimize cold starts and use edge caching to reduce origin requests. For storage, understand R2 egress costs versus D1 query pricing. Workers AI inference costs scale with model size and tokens—the skill helps you choose efficient models. KV reads are cheaper than writes, so design read-heavy workloads. Cloudflare Knowledge provides benchmarks and trade-off analysis to help you balance performance, features, and monthly spend.
SKILL.md
rendered from the published skill — quoted content, verbatim
Cloudflare 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
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 9 files
plugins/cloudflare-master/skills/cloudflare-knowledge/SKILL.md
plugins/cloudflare-master/skills/cloudflare-knowledge/references/ai-workers-models.md
plugins/cloudflare-master/skills/cloudflare-knowledge/references/ai-workers-usage.md
plugins/cloudflare-master/skills/cloudflare-knowledge/references/cost-comparison.md
plugins/cloudflare-master/skills/cloudflare-knowledge/references/mcp-server-development.md
plugins/cloudflare-master/skills/cloudflare-knowledge/references/storage-services-deep-dive.md
plugins/cloudflare-master/skills/cloudflare-knowledge/references/third-party-integrations.md
plugins/cloudflare-master/skills/cloudflare-knowledge/references/wrangler-cli-and-config.md
plugins/cloudflare-master/skills/cloudflare-knowledge/references/zero-trust-setup.md