SQLite Vector Search (sqlite-vec)
Implements high-performance vector similarity search and embedding storage directly within SQLite databases.
The sqlite-vec skill equips Claude with specialized knowledge to implement lightweight, local vector databases using the sqlite-vec extension. It provides standardized patterns for creating vec0 virtual tables, executing K-Nearest Neighbor (KNN) queries with metadata filtering, and managing various vector types like float32, int8, and bit vectors. This skill is essential for developers building semantic search, recommendation systems, or RAG (Retrieval-Augmented Generation) applications who prefer the simplicity of SQLite over the overhead of a standalone vector database.
Key Features
01Python integration patterns using serialization helpers and NumPy
02Implementation of L2, Cosine, and Hamming distance metrics
03Comprehensive KNN query patterns using the MATCH operator
04Advanced metadata filtering and partition key optimization for multi-tenant search
0514 GitHub stars
06Support for multiple vector types including float32, int8, and bit vectors
Use Cases
01Implementing lightweight RAG workflows in Python or Go applications
02Building local semantic search for documentation or knowledge bases
03Creating efficient multi-tenant recommendation engines on edge devices