cloudflare-workers

cloudflare-workers is a skill for Claude Code, Codex from Jignesh-Ponamwar/skills-mcp. It costs 101 tokens per session (2,306 once invoked), scanned A, original, Apache-2.0.

A skill for building and deploying applications on Cloudflare's developer platform, including serverless code, websites, databases, storage, queues, and AI services.

In plain words
What is it for?
Use it to build with Workers or Pages, store data in KV, D1, or R2, coordinate state with Durable Objects, run jobs with Queues or Workflows, or use Workers AI and Vectorize.
Why use it?
It helps match a project requirement—such as edge code, SQL data, file storage, or scheduled work—to the relevant Cloudflare product and current documentation.

Skill for Claude CodeCodex

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

Good fit Use it to build with Workers or Pages, store data in KV, D1, or R2, coordinate state with Durable Objects, run jobs with Queues or Workflows, or use Workers AI and Vectorize.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jignesh-ponamwar/skills-mcp/cloudflare-workers
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 Jignesh-Ponamwar/skills-mcp --skill cloudflare-workers
Clone the repo
git clone --depth 1 https://github.com/Jignesh-Ponamwar/skills-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jignesh-ponamwar/skills-mcp/cloudflare-workers/github.svg)](https://agentmods.dev/skills/jignesh-ponamwar/skills-mcp/cloudflare-workers)
Your own site
<a href="https://agentmods.dev/skills/jignesh-ponamwar/skills-mcp/cloudflare-workers"><img src="https://agentmods.dev/badge/skills/jignesh-ponamwar/skills-mcp/cloudflare-workers/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jignesh-ponamwar/skills-mcp/cloudflare-workers"><img src="https://agentmods.dev/badge/skills/jignesh-ponamwar/skills-mcp/cloudflare-workers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,306 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.00101 $0.02306
Opus 5 $0.00051 $0.01153
Sonnet 5 $0.00020 $0.00461
Haiku 4.5 $0.00010 $0.00231

Measured 10d ago against content hash 12a7774c9e02, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

cloudflare-workers 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 10d 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: Request, env: Env, ctx: ExecutionContext): Promise<Response> {
skill_mcp/skills_data/cloudflare-workers/SKILL.md · 341 lines

How it starts

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

Cloudflare Workers Platform Skill

Consolidated skill for building on the Cloudflare platform. Biases toward retrieval from live Cloudflare docs over pre-trained knowledge - API signatures, limits, and pricing change frequently.


Step 1: Choose the Right Product

"I need to run code"

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
Scheduled tasks Cron Triggers
Lightweight request transformation Snippets

"I need to store data"

Need Product
Key-value (config, sessions, cache) KV
Relational SQL D1 (SQLite)
Object/file storage (S3-compatible) R2
Message queue Queues
Vector embeddings (RAG/search) Vectorize
Strongly-consistent per-entity state Durable Objects

"I need AI/ML"

Need Product
Run LLM inference Workers AI
Vector database for RAG Vectorize
Stateful AI agents Agents SDK
AI provider gateway AI Gateway

"I need networking/security"

Need Product
Expose local service to internet Tunnel
Web Application Firewall WAF
CAPTCHA alternative Turnstile
DDoS protection DDoS Shield

Step 2: Workers Fundamentals

Minimal Worker (TypeScript)

export default {
  async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> {
    const url = new URL(request.url)

    if (url.pathname === '/health') {
      return Response.json({ status: 'ok' })
    }

    return new Response('Hello, World!', { status: 200 })
  },
} satisfies ExportedHandler<Env>

interface Env {
  MY_KV: KVNamespace
  MY_DB: D1Database
  MY_BUCKET: R2Bucket
  SECRET_KEY: string
}

wrangler.toml Configuration

name = "my-worker"
main = "src/index.ts"
compatibility_date = "2025-04-10"
compatibility_flags = ["nodejs_compat"]

[[kv_namespaces]]
binding = "MY_KV"
id = "xxxxxxxxxxxxxxxx"

[[d1_databases]]
binding = "MY_DB"
database_name = "my-database"
database_id = "xxxxxxxxxxxxxxxx"

[[r2_buckets]]
binding = "MY_BUCKET"
bucket_name = "my-bucket"

[ai]
binding = "AI"

Read the full file on GitHub · 341 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. 10d ago First seen · 341 lines · 101 tokens per session scan A 12a7774c9e02

Subscribe to this mod's changes

cloudflare-workers is a skill published in the GitHub repository Jignesh-Ponamwar/skills-mcp (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 101 tokens to every session and 2,306 once invoked, about $0.0005 per session on Opus 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-31.