The Cloudflare Deploy skill gives Codex the knowledge to deploy across the entire Cloudflare developer platform. Whether you’re shipping a serverless function on Workers, a full-stack app on Pages, or wiring up storage with KV, D1, R2, or Queues, Codex can pick the right product, authenticate with Wrangler, and deploy — all from your workspace. Ask Codex to “deploy this to Cloudflare Workers”, “publish my Pages site”, or “set up a D1 database and deploy” to get started.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/openai/skills/llms.txt
Use this file to discover all available pages before exploring further.
Trigger Phrases
Codex activates this skill when it detects Cloudflare deployment intent. Common phrases include:- “deploy to Cloudflare Workers”
- “publish this on Cloudflare Pages”
- “deploy my Worker and set up KV storage”
- “ship this to Cloudflare”
- “set up a D1 database and deploy my app”
Installing
Authentication
Codex verifies authentication before any deploy command runs:Interactive / Local
One-time browser OAuth flow:
CI / CD
Set an environment variable:
Choosing the Right Cloudflare Product
Codex uses decision trees from the skill to route you to the right product automatically. The key categories are:Compute & Runtime
| Need | Product |
|---|---|
| Serverless functions at the edge | Workers |
| Full-stack web app with Git deploys | Pages |
| Stateful coordination / real-time | Durable Objects |
| Long-running multi-step jobs | Workflows |
| Run containers | Containers |
| Scheduled tasks (cron) | Cron Triggers |
| Lightweight edge logic (modify HTTP) | Snippets |
| Multi-tenant (customers deploy code) | Workers for Platforms |
| Process Worker execution events (logs/observability) | Tail Workers |
| Optimize latency to backend infrastructure | Smart Placement |
Storage & Data
| Need | Product |
|---|---|
| Key-value (config, sessions, cache) | KV |
| Relational SQL | D1 (SQLite) |
| Connect existing Postgres / MySQL | Hyperdrive |
| Object / file storage (S3-compatible) | R2 |
| Message queue (async processing) | Queues |
| Vector embeddings (AI / semantic search) | Vectorize |
| Strongly-consistent per-entity state | Durable Objects storage |
| Secrets management | Secrets Store |
| Streaming ETL to R2 | Pipelines |
| Persistent cache (long-term retention) | Cache Reserve |
AI & Machine Learning
| Need | Product |
|---|---|
| Run inference (LLMs, embeddings, images) | Workers AI |
| Vector database for RAG / search | Vectorize |
| Build stateful AI agents | Agents SDK |
| Gateway for any AI provider (caching, routing) | AI Gateway |
| AI-powered search widget | AI Search |
Networking & Connectivity
| Need | Product |
|---|---|
| Expose local service to internet | Tunnel |
| TCP/UDP proxy (non-HTTP) | Spectrum |
| WebRTC TURN server | TURN |
| Private network connectivity | Network Interconnect |
| Optimize routing | Argo Smart Routing |
| Real-time video / audio | RealtimeKit / Realtime SFU |
Security
| Need | Product |
|---|---|
| Web Application Firewall | WAF |
| DDoS protection | DDoS Protection |
| Bot detection / management | Bot Management |
| API protection | API Shield |
| CAPTCHA alternative | Turnstile |
Deployment Workflow
Deploy Workers
For a Cloudflare Worker (serverless function):Or if you have a build step:Codex loads the detailed Workers reference (
references/workers/) for configuration, bindings, and runtime APIs.Deploy Pages
For a full-stack app or static site on Cloudflare Pages:Pages connects to your Git repository for automatic deploys on push. Codex loads
references/pages/ for routing, build configuration, and Pages Functions.Platform Coverage
This skill covers the full Cloudflare developer platform. The complete product index Codex can help you deploy to:Compute & Runtime
Workers, Pages, Pages Functions, Durable Objects, Workflows, Containers, Workers for Platforms, Cron Triggers, Tail Workers, Snippets, Smart Placement
Storage & Data
KV, D1, R2, Queues, Hyperdrive, Durable Objects Storage, Secrets Store, Pipelines, R2 Data Catalog, R2 SQL
AI & ML
Workers AI, Vectorize, Agents SDK, AI Gateway, AI Search
Networking
Tunnel, Spectrum, TURN, Network Interconnect, Argo Smart Routing, Workers VPC
Security
WAF, DDoS Protection, Bot Management, API Shield, Turnstile
Media & Content
Images, Stream, Browser Rendering, Zaraz, Cache Reserve
Real-Time Comms
RealtimeKit, Realtime SFU
Infrastructure as Code
Pulumi, Terraform, REST API
Infrastructure as Code
For teams that prefer IaC, Codex can generate configuration for Pulumi or Terraform, or interact with the Cloudflare REST API directly.Escalated Network Access
If a deploy fails due to network issues (timeouts, DNS errors, connection resets), Codex will ask before retrying with elevated permissions:As with all deploy skills, the authentication check (
wrangler whoami) never requires escalated permissions — only the actual deploy command does.Developer Tools
Codex uses these tools throughout the deployment process:| Tool | Purpose |
|---|---|
| Wrangler | Primary CLI for Workers, Pages, and all platform services |
| Miniflare | Local simulator for Workers (testing without deploying) |
C3 (create-cloudflare) | Scaffold new Workers and Pages projects |
| Observability | Logs, metrics, and tracing for deployed services |
| Workers Playground | Browser-based REPL for quick Worker testing |