cloudflare-workers-expert

cloudflare-workers-expert is an agent for Claude Code from nodnarbnitram/claude-code-extensions. It costs 55 tokens per session (1,570 once invoked), scanned A, original, MIT.

An expert guide for building Cloudflare Workers, small programs that run on Cloudflare's network instead of a traditional server. It covers the Workers runtime, storage options, APIs, limits, and deployment settings.

In plain words
What is it for?
Use it when designing, implementing, or optimizing a Workers application. It helps with requests, streams, WebSockets, databases, files, caching, queues, and deployment configuration.
Why use it?
Cloudflare Workers have their own runtime and storage choices, so server code cannot always be transferred directly. This guide helps select suitable Workers features and avoid platform-specific mistakes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the cce-cloudflare plugin — 5 agents shipped together

Good fit Use it when designing, implementing, or optimizing a Workers application. It helps with requests, streams, WebSockets, databases, files, caching, queues, and deployment configuration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nodnarbnitram/claude-code-extensions/cloudflare-workers-expert
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.

Clone the repo
git clone --depth 1 https://github.com/nodnarbnitram/claude-code-extensions

Made for: Claude Code.

Or install cce-cloudflare, the plugin that ships this one along with the rest of its 5 agents.

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-workers-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/cloudflare-workers-expert/github.svg)](https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/cloudflare-workers-expert)
Your own site
<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/cloudflare-workers-expert"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/cloudflare-workers-expert/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-workers-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/cloudflare-workers-expert"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/cloudflare-workers-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,570 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00055 $0.01570
Opus 5.5 $0.00022 $0.00628
Sonnet 5.5 $0.00011 $0.00314
Haiku 4.5 $0.00006 $0.00157

Measured 1mo ago against content hash 5363f9598b6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloudflare-workers-expert scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

async fetch(request, env, ctx) {
plugins/cce-cloudflare/agents/cloudflare-workers-expert.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

You are a Cloudflare Workers expert specializing in edge computing, serverless architecture, and the Workers runtime environment. You have deep knowledge of V8 isolates, Web-standard APIs, Workers-specific storage solutions, and deployment strategies across Cloudflare's global network of 300+ locations.

Core Expertise

Runtime Environment:

  • V8 isolate architecture (not containers)
  • Sub-millisecond cold starts (100x faster than Lambda)
  • Web-standard APIs (Fetch, Streams, WebSockets)
  • CPU limits (50ms free tier, up to 5min on paid plans)
  • Memory constraints and optimization
  • Compatibility dates and flags

Storage Solutions:

  • Workers KV: Eventually consistent, optimized for high-read workloads
  • Durable Objects: Strong consistency, stateful coordination, WebSocket support
  • D1: SQLite-based SQL database, up to 10GB
  • R2: S3-compatible object storage, zero egress fees
  • Queues: Guaranteed delivery, async message processing
  • Analytics Engine: Time-series metrics storage
  • Vectorize: Vector database for embeddings

Key APIs:

  • Fetch API with Request/Response objects
  • Streams API (ReadableStream, WritableStream, TransformStream)
  • Cache API for edge caching
  • HTMLRewriter for streaming HTML transformation
  • WebSockets for real-time communication
  • Web Crypto API for cryptographic operations
  • Context methods (waitUntil, passThroughOnException)

Instructions

When invoked, you must follow these steps:

  1. Analyze Requirements:

    • Identify the Workers use case (API, website, real-time app, etc.)
    • Determine appropriate storage solutions based on consistency needs
    • Assess performance requirements and limits
    • Check for global deployment needs
  2. Architecture Design:

    • Choose correct handler pattern (fetch, scheduled, queue, email)
    • Select optimal storage bindings (KV vs DO vs D1 vs R2)
    • Design service bindings for Worker-to-Worker communication
    • Plan caching strategies using Cache API

Read the full file on GitHub · 211 lines

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. 1mo ago First seen · 211 lines · 55 tokens per session scan A 5363f9598b6e

Subscribe to this mod's changes

cloudflare-workers-expert is an agent published in the GitHub repository nodnarbnitram/claude-code-extensions (16 stars, last pushed 6mo ago), licensed MIT. It adds 55 tokens to every session and 1,570 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

service-mesh-expert

Expert service mesh architect specializing in Istio, Linkerd, and cloud-native networking patterns. Masters traffic management, security policies, observability integration, and multi-cluster mesh configurations. Use PROACTIVELY for service mesh architecture, zero-trust networking, or microservices communication…

wshobson/agents · 63 tokens

serv

Designs serverless architectures for Lambda, Cloud Functions, and Cloud Run — cold start mitigation, event-driven wiring, cost modeling, and IaC via SAM or Serverless Framework. Use when building or auditing serverless workloads. Trigger with "design a serverless architecture", "optimize my Lambda cold starts".

jeremylongshore/tons-of-skills-marketplace · 64 tokens

gcp-cloud-architect

GCP cloud architect specializing in designing and implementing scalable Google Cloud solutions. Expert in GCE, GKE, Cloud Run, App Engine, and GCP best practices for containerized and serverless deployments.

andisab/swe-marketplace · 47 tokens

drupal-ddev

Use this agent for managing DDEV-based Drupal 11 projects — installing/updating modules, running Drush commands, managing configuration, database operations, cache management, and Composer workflows.

siva01c/claude-plugins · 41 tokens

hono-builder

Expert Hono developer for implementing routes, middleware, handlers, and integrations with Cloudflare Workers bindings.

smicolon/ai-kit · 24 tokens

integration-engineer

Integration engineer. Connects the chatbot to messaging channels (Slack, KakaoTalk, web) and implements integration with external APIs and databases. Responsible for deployment and infrastructure.

revfactory/harness-100 · 38 tokens