# cloudflare

Assists in building and deploying edge services, from Cloudflare Workers and D1 databases to KV, R2 storage, and Workers AI.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 301 repo stars
- Author: hoodini
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/hoodini/ai-agents-skills/tree/HEAD/skills/cloudflare/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/hoodini-cloudflare

## What it does

This skill equips Claude Code with architecture patterns and deployment templates for Cloudflare. It provides code structures for routing HTTP requests in TypeScript, issuing SQLite queries via D1, and managing object storage lifecycles in R2.

It covers Workers AI bindings for models like Llama alongside key expiration routines in KV and Durable Objects definitions inside `wrangler.toml`.

Without installing the `wrangler` CLI and authenticating via `wrangler login`, you cannot deploy any generated code to the edge.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add hoodini/ai-agents-skills --skill cloudflare -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cloudflare/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cloudflare/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add hoodini/ai-agents-skills --skill cloudflare -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cloudflare/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add hoodini/ai-agents-skills --skill cloudflare -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cloudflare/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install hoodini/ai-agents-skills skills/cloudflare
```

2. **Manually: put the files in place**
- File: `.github/skills/cloudflare/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add hoodini/ai-agents-skills --skill cloudflare -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/hoodini/ai-agents-skills --path skills/cloudflare
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cloudflare/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/hoodini/ai-agents-skills/tree/HEAD/skills/cloudflare/SKILL.md

## When to use it
- bind D1, KV, and R2 resources in `wrangler.toml`
- route incoming HTTP requests inside a Worker
- run inference models through Cloudflare AI
- write batch operations and schema migrations for D1 SQLite

## Example prompts
- Create a TypeScript Worker that reads and writes keys in KV storage
- Configure wrangler.toml bindings for an R2 bucket and a D1 database
- Write a handler to run text embeddings with Cloudflare AI

## Similar
- [cloudflare-development](https://affpapa.org/en/nevibecode/skills/cloudflare-development.md) — skill · 737 installs
- [Cloudflare Workers Bindings](https://affpapa.org/en/nevibecode/mcp/cloudflare-workers-bindings.md) — MCP server · 115 installs
- [cloudflare-deploy](https://affpapa.org/en/nevibecode/skills/githubcomopenaiskills-cloudflare-deploy.md) — skill · ★ 7191 repo stars
- [cloudflare-skills](https://affpapa.org/en/nevibecode/plugins/cloudflare-skills.md) — plugin · ★ 1216 repo stars
- [Cloudflare Docs](https://affpapa.org/en/nevibecode/mcp/docker-cloudflare-docs.md) — MCP server
- [cloudflare-d1](https://affpapa.org/en/nevibecode/skills/cloudflare-d1.md) — skill · 424 installs

## Other versions with the same name
- [cloudflare · cloudflare](https://affpapa.org/en/nevibecode/skills/cloudflare-cloudflare.md) — 159200 installs
- [cloudflare · openai](https://affpapa.org/en/nevibecode/skills/cloudflare.md) — 7 installs

From the same set: [hoodini/ai-agents-skills](https://affpapa.org/en/nevibecode/by/hoodini/ai-agents-skills.md) — 34 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
