cloudflare-platform

cloudflare-platform is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 54 tokens per session (536 once invoked), scanned A, original, MIT.

A guide to Cloudflare's platform for running code and storing data at the network edge, close to users. It covers Workers, Pages, key-value storage, databases, file storage, and coordination objects.

In plain words
What is it for?
Building and deploying edge functions and websites, configuring storage and bindings, managing secrets, and implementing queues or coordination with Durable Objects.
Why use it?
It helps avoid deployment failures caused by incorrect runtime assumptions, missing bindings, incompatible storage choices, or incomplete configuration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building and deploying edge functions and websites, configuring storage and bindings, managing secrets, and implementing queues or coordination with Durable Objects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/cloudflare-platform
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add monkilabs/opencastle --skill cloudflare-platform
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloudflare-platform

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/cloudflare-platform/github.svg)](https://agentmods.dev/skills/monkilabs/opencastle/cloudflare-platform)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/cloudflare-platform"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/cloudflare-platform/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloudflare-platform

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/cloudflare-platform"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/cloudflare-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00536
Opus 5.5 $0.00022 $0.00214
Sonnet 5.5 $0.00011 $0.00107
Haiku 4.5 $0.00005 $0.00054

Measured 11d ago against content hash 212f81a650c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloudflare-platform scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/orchestrator/plugins/cloudflare/skills/cloudflare-platform/SKILL.md · 34 lines

What it actually says

Cloudflare Platform

Workers

  • V8 isolates, not Node: process, Buffer, fs do not exist unless compatibility_flags = ["nodejs_compat"] is set. compatibility_date must be set or deploys fail.
  • Worker size limit is 3 MB compressed on the Free plan, 10 MB on Paid. Keep dependencies minimal.
  • ctx.waitUntil(promise) for side effects that must outlive the response (logging, analytics).
  • Bindings are reachable only via the handler's env argument, and must exist in both wrangler.toml and the Env interface.
  • Durable Objects need [[durable_objects.bindings]] and a [[migrations]] block with new_classes = ["Counter"] — the binding alone will not deploy.

Storage selection

KV: config/sessions/cache, eventually consistent. D1: relational SQLite, strongly consistent. R2: files/blobs, S3-compatible, no egress cost. Durable Objects: coordination, counters, locks, realtime. Queues: async jobs.

Limits: KV value 25MB, key 512 bytes, metadata 1024 bytes, read lag up to 60s. R2 needs multipart upload above 100MB. D1 is SQLite — no MySQL/Postgres-only syntax; always .bind() params; env.DB.batch([...]) collapses round trips.

Wrangler

  • wrangler secret put NAME [--env staging] — secrets never live in wrangler.toml; local dev uses .dev.vars.
  • KV bindings need preview_id for wrangler dev --remote.
  • D1 migrations: pass the target explicitly — wrangler d1 migrations apply <db> --local for dev, --remote for production.
  • wrangler tail for live production logs; wrangler deployments list + wrangler rollback <version-id>; wrangler whoami to confirm the account.

MCP

Code Mode exposes exactly two tools: search (Cloudflare API spec) and execute (JavaScript against the API). ~1k tokens per operation vs ~244k for native tool exposure.

Docs: https://developers.cloudflare.com/

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · -21 tokens per session 212f81a650c4
  2. 12d ago First seen · 34 lines · 75 tokens per session scan A 9b000f03ec48

Subscribe to this mod's changes

cloudflare-platform is a skill published in the GitHub repository monkilabs/opencastle (80 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 536 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.

Related

Other skills, from other repositories

telnyx-storage-curl

Manage cloud storage buckets and objects using the S3-compatible Telnyx Storage API. This skill provides REST API (curl) examples.

team-telnyx/ai · 34 tokens

orchardcore-ai-documents-azure-storage

Skill for storing CrestApps Orchard Core AI Documents in Azure Blob Storage. Covers AIDocumentBlobStorageOptions, BlobFileStore replacement, tenant container lifecycle, cleanup choices, and Azure configuration. Use this skill when requests mention Orchard Core AI Documents Azure Blob Storage…

CrestApps/CrestApps.AgentSkills · 129 tokens

orchardcore-omnichannel-event-grid

Skill for receiving and dispatching Omnichannel events through Azure Event Grid in Orchard Core using CrestApps modules. Covers webhook authentication, Event Grid subscription validation, inbound message persistence, event handler dispatch, and tenant configuration. Use this skill when requests mention Orchard Core…

CrestApps/CrestApps.AgentSkills · 139 tokens

orchardcore-configuration

Skill for configuring Orchard Core applications. Covers IShellConfiguration, configuration sources hierarchy, tenant pre-configuration and post-configuration, environment variable overrides, appsettings.json structure, IOptions patterns, and deployment configuration. Use this skill when requests mention Orchard Core…

CrestApps/CrestApps.AgentSkills · 175 tokens

orchardcore-health-checks

Skill for exposing and extending Orchard Core tenant health checks. Covers HealthChecksOptions, health endpoint configuration, IHealthCheck registration, detailed JSON responses, IHealthChecksResponseWriter customization, and ASP.NET Core health check integration. Use this skill when requests mention Orchard Core…

CrestApps/CrestApps.AgentSkills · 157 tokens

alibaba-event-driven-architecture-review

Review Alibaba Cloud EventBridge, MNS (Message Notification Service), RocketMQ, and MSE event-driven designs — dead-letter queues, message ordering, idempotency, retry storm prevention, schema registry, and consumer group lag monitoring.

VincentChuWaiChow/vanguard-frontier-agentic · 55 tokens