tech/cloudflare/ai/vectorize

Embed and index SKILL.md files for semantic search in Cloudflare Vectorize.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/2nth-ai/skills --skill tech-cloudflare-ai-vectorize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tech/cloudflare/ai/vectorize
Source: https://github.com/2nth-ai/skills/tree/main/tech/cloudflare/ai/vectorize
Command: npx skills add https://github.com/2nth-ai/skills --skill tech-cloudflare-ai-vectorize

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tech/cloudflare/workers, tech/cloudflare/ai/workers-ai, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines AI skill discovery by embedding and indexing SKILL.md files in a vector database for efficient semantic search.

Core Features & Use Cases

  • Semantic Search: Embed and index SKILL.md files for efficient semantic search and discovery.
  • RAG Integration: Facilitate RAG (retrieval-augmented generation) pipelines for reducing token costs and enhancing content.
  • Content Recommendations: Build recommendation systems and nearest-neighbour lookups with embedded data.
  • Domain Filtering: Search and filter by domain and metadata to tailor search results.
  • Index Management: Manage indexes with namespace isolation for per-client data isolation.
  • Upsert & Delete Vectors: Efficiently upsert and delete vectors to keep the index updated.

Quick Start

To use this skill, run 'wrangler vectorize create skills-embeddings --dimensions=768 --metric=cosine' to create an index with 768 dimensions.

Frequently Asked Questions about tech/cloudflare/ai/vectorize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a semantic search index for Markdown files in Cloudflare Workers?

Semantic search for Markdown files is achieved by embedding and indexing SKILL.md files in the Cloudflare Vectorize vector database. This enables efficient nearest-neighbor lookups and content discovery directly within your Workers environment.

Can I use Cloudflare Vectorize for RAG pipelines to reduce token costs?

Cloudflare Vectorize facilitates retrieval-augmented generation (RAG) pipelines by querying embedded SKILL.md files. This approach reduces token costs and enhances content generation by retrieving only the most relevant context.

What is the best way to isolate per-client data in a vector database?

Per-client data isolation in a vector database is handled through namespace isolation during index management. This ensures that queries and embedded data are scoped securely to individual clients within the Cloudflare Vectorize environment.

Do I need Cloudflare Workers and Workers AI to use the Vectorize semantic search skill?

Using Cloudflare Vectorize for semantic search requires integrating with Cloudflare Workers and Workers AI. These dependencies provide the necessary compute environment for upserting vectors and executing retrieval-augmented generation.

How do I create a vector index for semantic search using wrangler?

To create a vector index for semantic search, run `wrangler vectorize create skills-embeddings --dimensions=768 --metric=cosine`. This sets up the index to store and query embedded SKILL.md files efficiently.

Can I filter vector database search results by domain and metadata?

Vector database search results can be filtered by domain and metadata to tailor outputs. This domain filtering capability allows you to restrict semantic search queries to specific subsets of indexed SKILL.md files.

Related Skills