
Cloudflare
This handles everything Cloudflare for building at the edge: Workers for serverless functions, KV for key-value storage, D1 for SQLite databases, R2 for object storage, and their AI inference models. The skill covers the full stack from wrangler CLI setup through routing patterns, batch database operations, and Durable Objects for stateful coordination. Particularly strong on the AI side with examples for Llama, Stable Diffusion, embeddings, and Whisper transcription. You'll want this when you're deploying globally distributed apps or need sub-50ms response times without managing infrastructure. The wrangler.toml examples alone save a lot of documentation diving.
- skills.sh installs
- 144
- GitHub stars
- 296
- last updated
- Jun 10, 2026
Install
$ npx -y skills add hoodini/ai-agents-skills --skill cloudflare --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cloudflare Platform
Build globally distributed applications on Cloudflare's edge network.
Quick Start
# Install Wrangler CLI
npm install -g wrangler
# Login
wrangler login
# Create new Worker
wrangler init my-worker
# Deploy
wrangler deploy
Workers
Basic Worker
// src/index.ts
export default {
async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> {
const url = new URL(request.url);
if (url.pathname === '/api/hello') {
return Response.json({ message: 'Hello from the edge!' });
}
return new Response('Not Found', { status: 404 });
},
};
wrangler.toml Configuration
name = "my-worker"
main = "src/index.ts"
compatibility_date = "2024-01-01"
[vars]
ENVIRONMENT = "production"
# KV Namespace
[[kv_namespaces]]
binding = "MY_KV"
id = "abc123"
# D1 Database
[[d1_databases]]
binding = "DB"
database_name = "my-database"
database_id = "def456"
# R2 Bucket
[[r2_buckets]]
binding = "BUCKET"
bucket_name = "my-bucket"
# AI
[ai]
binding = "AI"
# Durable Objects
[[durable_objects.bindings]]
name = "COUNTER"
class_name = "Counter"
Sponsors
Details
- Repository
- github.com/hoodini/ai-agents-skills
- Categories
- Backend & APIs, DevOps & CI/CD, AI & Agent Building, Release Management, Cloud & Infrastructure
- First seen
- Jun 11, 2026
More from hoodini/ai-agents-skills
All 37- Copilot Sdk139
- Railway135
- Shabbat Times134
- Cinematic Scrub Landing
- Meta Ads
- Parallax Landing Page
- Video Edit
- Video To Landing Page
- X Twitter Scraper
- Yuv Decks
- Yuv Design System
- Yuv Pilot
- Yuv Reel Covers
- Yuv Video Director
- Yuv Viral Video
- Github Trending3.2K
- Owasp Security3.1K
- Mongodb1.7K
- Mobile Responsiveness1.4K
- Web Accessibility459
- Google Workspace Cli455
- Figma450
- Mermaid Diagrams408
- Analytics Metrics381