Sqlite Vec
Efficiently query SQLite databases using vector embeddings for semantic search and similarity matching.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add sqlite-vec npx -- -y @trustedskills/sqlite-vec
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"sqlite-vec": {
"command": "npx",
"args": [
"-y",
"@trustedskills/sqlite-vec"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The sqlite-vec skill enables AI agents to store and query vector embeddings directly within a SQLite database. It allows for semantic search capabilities by embedding text data into high-dimensional vectors that can be efficiently retrieved based on similarity.
When to use it
- Building lightweight RAG (Retrieval-Augmented Generation) systems without external vector database dependencies.
- Performing semantic searches over local datasets stored in standard SQLite files.
- Prototyping AI applications requiring embedding storage and retrieval with minimal infrastructure overhead.
- Integrating vector search directly into existing workflows that already utilize SQLite for relational data.
Key capabilities
- Direct integration of vector embeddings into SQLite databases.
- Semantic search functionality based on vector similarity.
- Elimination of the need for separate, heavy vector database installations.
- Compatibility with standard SQLite file structures and queries.
Example prompts
- "Store a list of product descriptions in a SQLite database using
sqlite-vecand retrieve items similar to 'red running shoes'." - "Create a local knowledge base where I can upload documents and query them semantically using vector embeddings in SQLite."
- "Set up a lightweight semantic search engine for my personal notes using the
sqlite-vecskill."
Tips & gotchas
Ensure your SQLite database is properly initialized with the necessary extensions before attempting to store or query vectors. Performance may vary depending on the size of the dataset and the specific hardware configuration running the agent.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.