Cloudflare AI

Cloudflare Workers AI runs open-source AI models (LLMs, embeddings, image generation, speech-to-text, translation) on Cloudflare's GPU network and calls them from a Worker binding, a REST API or an OpenAI-compatible endpoint. Use when a user asks to add serverless AI inference to a Worker, call env.AI.run, build RAG with Vectorize, stream LLM output, transcribe audio or generate images without managing GPUs, or estimate Neuron costs.

213 stars 34 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add TerminalSkills/skills --skill cloudflare-ai
Manual install
git clone --depth 1 https://github.com/TerminalSkills/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/cloudflare-ai ~/.claude/skills/cloudflare-ai

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Cloudflare Workers AI

## Overview

Workers AI is Cloudflare's serverless inference service. A Worker gets an `AI` binding and calls `env.AI.run(model, input)`; the same models are reachable over REST (`https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/<model>`) and, for chat and embedding models, through OpenAI-compatible `/ai/v1/chat/completions` and `/ai/v1/embeddings` endpoints. Models are named `@cf/<vendor>/<model>` and the catalog changes often, so check it before you pick one.

Billing is in Neurons: $0.011 per 1,000 Neurons, with 10,000 Neurons per day free on both the Free and Paid Workers plans (resets 00:00 UTC). Past the free allocation you need the Workers Paid plan. Some large frontier models need a paid billing method even for the first call.

## Instructions

### Step 1: Create the project and the binding

```bash
npm create cloudflare@latest -- support-bot-ai
cd support-bot-ai
npx wrangler vectorize create support-docs --dimensions=768 --metric=cosine
```

The 768 dimensions match `@cf/baai/bge-base-en-v1.5`; the dimension and metric of an index cannot be changed later. Add the bindings to `wrangler.jsonc`:

```jsonc
{
  "ai": { "binding": "AI" },
  "vectorize": [{ "binding": "VECTORIZE", "index_name": "support-docs" }]
}
```
Read the full skill on GitHub

Details

Skill name
cloudflare-ai
Path
skills/cloudflare-ai/SKILL.md
License
Apache-2.0
Repo updated
8 November 2026

FAQ

What does the Cloudflare AI skill do?

Cloudflare Workers AI runs open-source AI models (LLMs, embeddings, image generation, speech-to-text, translation) on Cloudflare's GPU network and calls them from a Worker binding, a REST API or an OpenAI-compatible endpoint. Use when a user asks to add serverless AI inference to a Worker, call env.AI.run, build RAG with Vectorize, stream LLM output, transcribe audio or generate images without managing GPUs, or estimate Neuron costs.

How do I install the Cloudflare AI skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add TerminalSkills/skills --skill cloudflare-ai. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cloudflare AI popular?

It lives in TerminalSkills/skills, which has 213 GitHub stars and 34 forks.

Related skills

3dsmax Rendering

213

TerminalSkills/skills

Scripts and configures production rendering in Autodesk 3ds Max with the V-Ray and Corona renderers: output size and files, render elements, denoising, light mix, batch and command-line rendering, and network rendering. Use when a user asks to set up a production render, render several cameras in one batch, render from the command line or on a render farm, add render passes for compositing, or cut render time for archviz and product shots.

Other34

3dsmax Scripting

213

TerminalSkills/skills

Covers scripting Autodesk 3ds Max, the 3D modeling and rendering application, with MAXScript and Python (pymxs): scene manipulation, object creation, material assignment, camera and light setup, batch operations, and file I/O. Use when tasks involve automating repetitive 3ds Max workflows, batch processing scenes, running scripts headless with 3dsmaxbatch, creating custom tools, or scripting scene setup for archviz, product visualization, or VFX.

Productivity & Notes34

3proxy

213

TerminalSkills/skills

3proxy is a small open-source proxy server that runs HTTP/HTTPS, SOCKS4/5, SNI and TCP/UDP port-mapping proxies from one config file. Use when a user asks to set up an HTTP or SOCKS5 proxy, add proxy users and passwords, write 3proxy access rules, chain or rotate upstream (parent) proxies, limit bandwidth, connections or monthly traffic per user, run 3proxy in Docker, or fix a 3proxy.cfg that will not start.

DevOps & Cloud34

Cloudflare Vectorize

213

TerminalSkills/skills

Cloudflare Vectorize is a managed vector database that Cloudflare Workers query through a binding, used for semantic search and retrieval-augmented generation (RAG) with Workers AI embeddings. Use when building semantic search on Cloudflare Workers, a RAG pipeline at the edge, or when storing and querying embeddings with metadata filtering and namespaces without running a separate vector database.

DevOps & Cloud34

Cloudflare

213

TerminalSkills/skills

Cloudflare is a global network that sits in front of a website or API to provide DNS, CDN caching, DDoS protection, TLS and WAF, and runs serverless code at the edge with Workers. Use this skill when a user asks to put a site behind Cloudflare, create or script DNS records, choose an SSL/TLS encryption mode, manage Cloudflare with Terraform, or deploy a Worker.

DevOps & Cloud34

Cloudflare Workers

213

TerminalSkills/skills

Cloudflare Workers is an edge computing platform for running JavaScript, TypeScript, and WebAssembly close to users worldwide with sub-millisecond cold starts. Use when working with the Workers runtime, the Wrangler CLI, KV, D1, R2, Durable Objects, Queues, or Hyperdrive, or when a user asks to build and deploy an edge function.

DevOps & Cloud34

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.