Agent skill · AI & Agents

cloudflare-workers-ai

Run LLMs and AI models on Cloudflare's global GPU network with Workers AI. Includes Llama, Flux image generation, BGE embeddings, and streaming support with AI Gateway for caching and logging. Use when: implementing LLM inference, generating images with Flux/Stable Diffusion, building RAG with embeddings, streaming AI responses, using AI Gateway for cost tracking, or troubleshooting AI_ERROR, rate limits, model not found, token limits, or neurons exceeded. ai inference, cloudflare llm, ai streaming, text generation ai, ai embeddings, image generation ai, workers ai rag, ai gateway, llama worke

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill cloudflare-workers-ai --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 15 KB
Bundled scripts: none
Path: skills/ai-llm/cloudflare-workers-ai/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Cloudflare Workers AI - Complete Reference Production-ready knowledge domain for building AI-powered applications with Cloudflare Workers AI. **Status**: Production Ready ✅ **Last Updated**: 2025-10-21 **Dependencies**: cloudflare-worker-base (for Worker setup) **Latest Versions**: wrangler@4.43.0, @cloudflare/workers-types@4.20251014.0 --- ## Table of Contents 1. [Quick Start (5 minutes)](#quick-start-5-minutes) 2. [Workers AI API Reference](#workers-ai-api-reference) 3. [Model Selection Guide](#model-selection-guide) 4. [Common Patterns](#common-patterns) 5. [AI Gateway Integration](#ai-gateway-integration) 6. [Rate Limits & Pricing](#rate-limits--pricing) 7. [Production Checklist](#production-checklist) --- ## Quick Start (5 minutes) ### 1. Add AI Binding **wrangler.jsonc:** ```jsonc { "ai": { "binding": "AI" } } ``` ### 2. Run Your First Model ```typescript export interface Env { AI: Ai; } export default { async fetch(request: Request, env: Env): Promise<Response> { const response = await env.AI.run('@cf/meta/llama-3.1-8b-instruct', { prompt: 'What is Cloudflare?', }); return Response.json(response); }, }; ``` ### 3. Add Streaming (Recommended) ```typescript const stream = aw

What's inside
Steps it walks through
  1. Table of Contents
  2. Quick Start (5 minutes)
  3. 1. Add AI Binding
  4. 2. Run Your First Model
  5. 3. Add Streaming (Recommended)
  6. Workers AI API Reference
  7. env.AI.run()
  8. Text Generation Models
  9. Text Embeddings Models
  10. Image Generation Models
  11. Vision Models
  12. Model Selection Guide
  13. Text Generation (LLMs)
  14. Text Embeddings
Ships with 1 file
  • metadata.json
Commands it runs
npm install workers-ai-provider ai
More from claude-skill-registry
All skills →
About this skill
What does the cloudflare-workers-ai skill do?

Run LLMs and AI models on Cloudflare's global GPU network with Workers AI. Includes Llama, Flux image generation, BGE embeddings, and streaming support with AI Gateway for caching and logging. Use when: implementing LLM inference, generating images with Flux/Stable Diffusion, building RAG with embeddings, streaming AI responses, using AI Gateway for cost tracking, or troubleshooting AI_ERROR, rate limits, model not found, token limits, or neurons exceeded. ai inference, cloudflare llm, ai streaming, text generation ai, ai embeddings, image generation ai, workers ai rag, ai gateway, llama worke

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill cloudflare-workers-ai --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going