/cloudflare:cloudflare-vectorizefrom cloudflare
Use this skill when the user asks about Cloudflare Vectorize, vector databases on Cloudflare, semantic search, RAG pipelines, embedding storage, or managing Vectorize with Pulumi.
Ships in cloudflare. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Vectorize is Cloudflare's vector database for building semantic search, recommendation engines, and RAG (Retrieval-Augmented Generation) applications. It integrates natively with Workers AI for embedding generation.
export default {
async fetch(request: Request, env: Env): Promise<Response> {
// Generate embeddings with Workers AI
const embedding = await env.AI.run("@cf/baai/bge-base-en-v1.5", {
text: ["What is Cloudflare?"],
});
// Insert into Vectorize
await env.VECTORIZE.upsert([
{
id: "doc-1",
values: embedding.data[0],
metadata: { title: "About Cloudflare" },
},
]);
// Query
const results = await env.VECTORIZE.query(embedding.data[0], {
topK: 5,
returnMetadata: "all",
});
return Response.json(results);
},
};
[[vectorize]]
binding = "VECTORIZE"
index_name = "my-index"
# Create an index
npx wrangler vectorize create my-index --dimensions 768 --metric cosine
# Insert vectors
npx wrangler vectorize insert my-index --file vectors.ndjson
// Vectorize indexes are managed via wrangler CLI
// No dedicated Pulumi resource currently exists
// Use Pulumi's Command provider if automation is needed:
import * as command from "@pulumi/command";
const vectorizeIndex = new command.local.Command("vectorize-index", {
create: "npx wrangler vectorize create my-index --dimensions 768 --metric cosine",
delete: "npx wrangler vectorize delete my-index",
});
| Setting | Options | Description |
|---|---|---|
| Dimensions | 1–1536 | Must match your embedding model output |
| Metric | cosine, euclidean, dot-product | Similarity metric |
| Resource | Free | Paid |
|---|---|---|
| Queried dimensions | 30M/month | $0.01/M |
| Stored dimensions | 5M | $0.05/M/month |
| Indexes | 5 | 100 |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nsheaps/ai-mktpl --plugin cloudflare15 skills in this plugin
/cloudflare-ai-gatewayUse this skill when the user asks about Cloudflare AI Gateway, proxying AI API requests through Cloudflare, setting up Claude Code with AI Gateway, configuring ANTHROPIC_BASE_URL, routing AI traffic through a gateway for logging/caching/rate-limiting, cost tracking for AI APIs, connecting Claude Code to OpenRouter or z.ai via a gateway, or managing AI Gateway with Pulumi.
/cloudflare-d1Use this skill when the user asks about Cloudflare D1, serverless SQL databases on Cloudflare, SQLite on the edge, or managing D1 databases with Pulumi.
/cloudflare-dnsUse this skill when the user asks about Cloudflare DNS, managing DNS records, domain zones, DNSSEC, proxied records, or managing DNS with Pulumi.
/cloudflare-durable-objectsUse this skill when the user asks about Cloudflare Durable Objects, stateful serverless on Cloudflare, WebSocket coordination, distributed counters or locks, or managing Durable Objects with Pulumi.
/cloudflare-imagesUse this skill when the user asks about Cloudflare Images, image optimization, image resizing, image storage and delivery, or managing Images with Pulumi.
/cloudflare-kvUse this skill when the user asks about Cloudflare Workers KV, key-value storage on Cloudflare's edge, distributed KV stores, or managing KV namespaces with Pulumi.
Other plugins' skills for the same job