All skills
openai avatar

/cloudflare-deploy

@bf9e226 official
by openaiopenai/skills28k stars
1,891

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.

Use this Skill: https://skilld.dev/gh/openai/skills/cloudflare-deploy

This session only. Nothing lands on disk.

referencesobservabilityREADME.md

≈972 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Cloudflare Observability Skill Reference

Purpose: Comprehensive guidance for implementing observability in Cloudflare Workers, covering traces, logs, metrics, and analytics.

Scope: Cloudflare Observability features ONLY - Workers Logs, Traces, Analytics Engine, Logpush, Metrics & Analytics, and OpenTelemetry exports.


Decision Tree: Which File to Load?

Use this to route to the correct file without loading all content:

├─ "How do I enable/configure X?"           → configuration.md
├─ "What's the API/method/binding for X?"   → api.md
├─ "How do I implement X pattern?"          → patterns.md
│   ├─ Usage tracking/billing               → patterns.md
│   ├─ Error tracking                       → patterns.md
│   ├─ Performance monitoring               → patterns.md
│   ├─ Multi-tenant tracking                → patterns.md
│   ├─ Tail Worker filtering                → patterns.md
│   └─ OpenTelemetry export                 → patterns.md
└─ "Why isn't X working?" / "Limits?"       → gotchas.md

Reading Order

Load files in this order based on task:

Task Type Load Order Reason
Initial setup configuration.md → gotchas.md Setup first, avoid pitfalls
Implement feature patterns.md → api.md → gotchas.md Pattern → API details → edge cases
Debug issue gotchas.md → configuration.md Common issues first
Query data api.md → patterns.md API syntax → query examples

Product Overview

Workers Logs

  • What: Console output from Workers (console.log/warn/error)
  • Access: Dashboard (Real-time Logs), Logpush, Tail Workers
  • Cost: Free (included with all Workers)
  • Retention: Real-time only (no historical storage in dashboard)

Workers Traces

  • What: Execution traces with timing, CPU usage, outcome
  • Access: Dashboard (Workers Analytics → Traces), Logpush
  • Cost: $0.10/1M spans (GA pricing starts March 1, 2026), 10M free/month
  • Retention: 14 days included

Analytics Engine

  • What: High-cardinality event storage and SQL queries
  • Access: SQL API, Dashboard (Analytics → Analytics Engine)
  • Cost: $0.25/1M writes beyond 10M free/month
  • Retention: 90 days (configurable up to 1 year)

Tail Workers

  • What: Workers that receive logs/traces from other Workers
  • Use Cases: Log filtering, transformation, external export
  • Cost: Standard Workers pricing

Logpush

  • What: Stream logs to external storage (S3, R2, Datadog, etc.)
  • Access: Dashboard, API
  • Cost: Requires Business/Enterprise plan

Pricing Summary (2026)

Feature Free Tier Cost Beyond Free Tier Plan Requirement
Workers Logs Unlimited Free Any
Workers Traces 10M spans/month $0.10/1M spans Paid Workers (GA: March 1, 2026)
Analytics Engine 10M writes/month $0.25/1M writes Paid Workers
Logpush N/A Included in plan Business/Enterprise

In This Reference

  • configuration.md - Setup, deployment, configuration (Logs, Traces, Analytics Engine, Tail Workers, Logpush)
  • api.md - API endpoints, methods, interfaces (GraphQL, SQL, bindings, types)
  • patterns.md - Common patterns, use cases, examples (billing, monitoring, error tracking, exports)
  • gotchas.md - Troubleshooting, best practices, limitations (common errors, performance gotchas, pricing)

See Also

Source: SKILL.md on GitHub

2 warnings17d5 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill provides comprehensive guidance for deploying and managing infrastructure on the Cloudflare platform. It includes extensive educational material on secure development practices, such as preventing SQL injection and managing secrets effectively. No malicious patterns or security risks were identified.

  • Socket17d

    2 alerts: gptAnomaly

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    310/310 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at bf9e226. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Activeupdated 8 months ago

README badge

README badge for openai/skills/cloudflare-deploy

Deploys applications and infrastructure to Cloudflare's platform, including Workers, Pages, D1, R2, Durable Objects, KV, and other services. Use decision trees to route to the right Cloudflare product based on compute, storage, AI, networking, security, or media needs.

Generated from the current SKILL.md.

Does this skill cover all Cloudflare products?
The skill is a consolidated index covering compute, storage, AI, networking, security, media, and developer tools on Cloudflare. It uses decision trees to route you to the right product reference, then loads detailed guidance for that product.
What authentication is required before deploying?
Run `npx wrangler whoami` to check if authenticated. For local deployment, use `wrangler login` (one-time OAuth). For CI/CD, set the `CLOUDFLARE_API_TOKEN` environment variable.
What should I do if deployment fails due to network issues?
Rerun the deploy with `sandbox_permissions=require_escalated` to grant elevated network access, which is required for outbound requests to Cloudflare during deployment.
How long does a Cloudflare deployment typically take?
Deployments may take several minutes. Use appropriate timeout values in your configuration or CI/CD environment.

Generated from the current SKILL.md. These answers refresh after source changes.