Skip to main content
skill CX Codex

openai-cloudflare-deploy — Claude Code skill: deploy to Cloudflare

openai-cloudflare-deploy is a Claude Code skill that automates deploying apps and infrastructure to Cloudflare. It activates for requests to deploy, host, publish, or set up a Cloudflare project.

Apache-2.0 ★ 540 updated 2026-07-14

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add trailofbits/skills-curated
/plugin install openai-cloudflare-deploy@skills-curated
Open on GitHub

What openai-cloudflare-deploy does

The skill grants Claude Code access to deployment tools: Bash, Read, Grep, Glob, Write, Edit. It includes decision trees to select the right Cloudflare service—Workers for serverless code, Pages for full-stack Git-connected sites, KV for key-value storage, D1 for SQL, R2 for files, Durable Objects for stateful workloads, Queues for async tasks, Workers AI for inference, WAF and DDoS for security, and more.

Authentication is required before deployment. The skill checks it with wrangler whoami. If not authenticated, use wrangler login locally (one-time OAuth) or set the CLOUDFLARE_API_TOKEN environment variable for CI/CD pipelines. Deployments may take several minutes—set timeouts accordingly.

What it helps with

  • deploy Node.js or Python apps to Cloudflare edge servers
  • publish static sites with automatic Git-triggered deployments
  • create and configure SQLite databases or connect existing PostgreSQL
  • build APIs with Workers backed by KV or R2 storage
  • enable DDoS protection, WAF rules, and Turnstile CAPTCHA

Example prompts for the agent

  • Deploy this Node.js project to Cloudflare Workers with KV for session storage
  • Publish the frontend to Cloudflare Pages, connect it to the Workers API backend
  • Set up a D1 database, load the schema, and create migrations for production

How to install openai-cloudflare-deploy

1Plugin marketplace

/plugin marketplace add trailofbits/skills-curated
/plugin install openai-cloudflare-deploy@skills-curated

This installs the whole openai-cloudflare-deploy plugin with all its skills

2Skills CLI (Vercel)

npx skills add trailofbits/skills-curated --skill openai-cloudflare-deploy -a claude-code

3Manually: put the files in place

~/.claude/skills/openai-cloudflare-deploy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/openai-cloudflare-deploy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about openai-cloudflare-deploy

How do I install openai-cloudflare-deploy in Claude Code?

Run /plugin marketplace add trailofbits/skills-curated, then /plugin install openai-cloudflare-deploy@skills-curated. Alternatively, use npx skills add trailofbits/skills-curated --skill openai-cloudflare-deploy -a claude-code or open ~/.claude/skills/openai-cloudflare-deploy/SKILL.md.

What does openai-cloudflare-deploy do?

The skill helps Claude Code deploy applications and infrastructure to Cloudflare. It provides decision trees to choose the right service (Workers, Pages, KV, D1, R2, and others) and handles authentication via wrangler.

What authentication is required?

The skill checks authentication status with wrangler whoami before deploying. For local use, run wrangler login (OAuth). For CI/CD, set the CLOUDFLARE_API_TOKEN environment variable.

Source text

SKILL.md · Apache-2.0
---
name: openai-cloudflare-deploy
description: Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform
  services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare. Originally
  from OpenAI's curated skills catalog.
allowed-tools:
- Bash
- Read
- Grep
- Glob
- Write
- Edit
---

# Cloudflare Deploy

Consolidated skill for building on the Cloudflare platform. Use decision trees below to find the right product, then load detailed references.

## Prerequisites

- The deployment might take a few minutes. Use appropriate timeout values.

## Authentication (Required Before Deploy)

Verify auth before `wrangler deploy`, `wrangler pages deploy`, or `npm run deploy`:

```bash
npx wrangler whoami    # Shows account if authenticated
```

Not authenticated? → `references/wrangler/auth.md`
- Interactive/local: `wrangler login` (one-time OAuth)
- CI/CD: Set `CLOUDFLARE_API_TOKEN` env var

## Quick Decision Trees

### "I need to run code"

```
Need to run code?
├─ 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/
├─ Multi-tenant (customers deploy code) → workers-for-platforms/
├─ Scheduled tasks (cron) → cron-triggers/
├─ Lightweight edge logic (modify HTTP) → snippets/
├─ Process Worker execution events (logs/observability) → tail-workers/
└─ Optimize latency to backend infrastructure → smart-placement/
```

### "I need to store data"

```
Need storage?
├─ Key-value (config, sessions, cache) → kv/
├─ Relational SQL → d1/ (SQLite) or hyperdrive/ (existing Postgres/MySQL)
├─ Object/file storage (S3-compatible) → r2/
├─ Message queue (async processing) → queues/
├─ Vector embeddings (AI/semantic search) → vectorize/
├─ Strongly-consistent per-entity state → durable-objects/ (DO storage)
├─ Secrets management → secrets-store/
├─ Streaming ETL to R2 → pipelines/
└─ Persistent cache (long-term retention) → cache-reserve/
```

### "I need AI/ML"

```
Need AI?
├─ 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/
```

### "I need networking/connectivity"

```
Need networking?
├─ 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/
├─ Optimize latency to backend (not user) → smart-placement/
└─ Real-time video/audio → realtimekit/ or realtime-sfu/
```

### "I need security"

```
Need security?
├─ Web Application Firewall → waf/
├─ DDoS protection → ddos/
├─ Bot detection/management → bot-management/
├─ API protection → api-shield/
├─ CAPTCHA alternative → turnstile/
└─ Credential leak detection → waf/ (managed ruleset)
```

### "I need media/content"

```
Need media?
├─ Image optimization/transformation → images/
├─ Video streaming/encoding → stream/
├─ Browser automation/screenshots → browser-rendering/
└─ Third-party script management → zaraz/
```

### "I need infrastructure-as-code"

```
Need IaC? → pulumi/ (Pulumi), terraform/ (Terraform), or api/ (REST API)
```

## Product Index

### Compute & Runtime
| Product | Reference |
|---------|-----------|
| Workers | `references/workers/` |
| Pages | `references/pages/` |
| Pages Functions | `references/pages-functions/` |
| Durable Objects | `references/durable-objects/` |
| Workflows | `references/workflows/` |
| Containers | `references/containers/` |
| Workers for Platforms | `references/workers-for-platforms/` |
| Cron Triggers | `references/cron-triggers/` |
| Tail Workers | `references/tail-workers/` |
| Snippets | `references/snippets/` |
| Smart Placement | `references/smart-placement/` |

### Storage & Data
| Product | Reference |
|---------|-----------|
| KV | `references/kv/` |
| D1 | `references/d1/` |
| R2 | `references/r2/` |
| Queues | `references/queues/` |
| Hyperdrive | `references/hyperdrive/` |
| DO Storage | `references/do-storage/` |
| Secrets Store | `references/secrets-store/` |
| Pipelines | `references/pipelines/` |
| R2 Data Catalog | `references/r2-data-catalog/` |
| R2 SQL | `references/r2-sql/` |

### AI & Machine Learning
| Product | Reference |
|---------|-----------|
| Workers AI | `references/workers-ai/` |
| Vectorize | `references/vectorize/` |
| Agents SDK | `references/agents-sdk/` |
| AI Gateway | `references/ai-gateway/` |
| AI Search | `references/ai-search/` |

### Networking & Connectivity
| Product | Reference |
|---------|-----------|
| Tunnel | `references/tunnel/` |
| Spectrum | `references/spectrum/` |
| TURN | `references/turn/` |
| Network Interconnect | `references/network-interconnect/` |
| Argo Smart Routing | `references/argo-smart-routing/` |
| Workers VPC | `references/workers-vpc/` |

### Security
| Product | Reference |
|---------|-----------|
| WAF | `references/waf/` |
| DDoS Protection | `references/ddos/` |
| Bot Management | `references/bot-management/` |
| API Shield | `references/api-shield/` |
| Turnstile | `references/turnstile/` |

### Media & Content
| Product | Reference |
|---------|-----------|
| Images | `references/images/` |
| Stream | `references/stream/` |
| Browser Rendering | `references/browser-rendering/` |
| Zaraz | `references/zaraz/` |

### Real-Time Communication
| Product | Reference |
|---------|-----------|
| RealtimeKit | `references/realtimekit/` |
| Realtime SFU | `references/realtime-sfu/` |

### Developer Tools
| Product | Reference |
|---------|-----------|
| Wrangler | `references/wrangler/` |
| Miniflare | `references/miniflare/` |
| C3 | `references/c3/` |
| Observability | `references/observability/` |
| Analytics Engine | `references/analytics-engine/` |
| Web Analytics | `references/web-analytics/` |
| Sandbox | `references/sandbox/` |
| Workerd | `references/workerd/` |
| Workers Playground | `references/workers-playground/` |

### Infrastructure as Code
| Product | Reference |
|---------|-----------|
| Pulumi | `references/pulumi/` |
| Terraform | `references/terraform/` |
| API | `references/api/` |

### Other Services
| Product | Reference |
|---------|-----------|
| Email Routing | `references/email-routing/` |
| Email Workers | `references/email-workers/` |
| Static Assets | `references/static-assets/` |
| Bindings | `references/bindings/` |
| Cache Reserve | `references/cache-reserve/` |

## Troubleshooting

### Escalated Network Access


Example guidance to the user:

```
The deploy needs escalated network access to deploy to Cloudflare. I can rerun the command with escalated permissions—want me to proceed?
```

## When to Use

<!-- TODO: review -->

## When NOT to Use

<!-- TODO: review -->

© OpenAI · Apache-2.0 · trailofbits/skills-curated

Similar skills

All skills for DevOps and infrastructure →

From the same set51

The whole set →
openai-jupyter-notebook openai-jupyter-notebook is a Claude Code skill that generates, structures, and edits clean Jupyter notebooks (.ipynb) for analytical experiments and step-by-step guides. CX Codex +1 ★ 540repo stars security-awareness The security-awareness skill guides an agent through phishing checks, domain verification, and safer handling of credentials. Use it when an agent works with email, links, or sensitive data. CX Codex +1 ★ 540repo stars openai-netlify-deploy openai-netlify-deploy — a Claude skill that runs a Netlify deploy end to end: sign-in check, site linking or creation, dependency install, then a preview or production release. CX Codex +1 ★ 540repo stars ffuf-web-fuzzing ffuf-web-fuzzing guides Claude Code through web fuzzing using ffuf during authorized penetration testing engagements. CX Codex +1 ★ 540repo stars scv-scan scv-scan is a Claude Code skill that scans Solidity projects for contract vulnerabilities. It runs for pre-release security checks or reviews after code changes. CX Codex +1 ★ 540repo stars review-plugin review-plugin audits a plugin directory for script flaws and project standard violations, automatically fixing detected issues. CX Codex +1 ★ 540repo stars x-research The x-research skill for Claude Code searches recent X discussions, opens threads, and gathers sources to check developer reactions to a release or API change. CX Codex +1 ★ 540repo stars skill-extractor skill-extractor turns a finished session into a reusable Claude skill: the cause of a failure, a workaround, the symptom that points to it. CX Codex +1 ★ 540repo stars

Project sponsors

Companies that keep this analytics open