Set up Chroma Qdrant pgvector for semantic search
Scanned 9/10/2026
Install to Claude Code
npx -y skills add LoopyLuci/Skills --skill vector-database-setup --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Vector Database Setup?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-vector-database-setup)More formats (shields.io, HTML) on the badges page.
---
name: vector-database-setup
description: "Set up Chroma Qdrant pgvector for semantic search"
---
# Vector Database Setup
## Chroma (Local)
```python
import chromadb
client = chromadb.PersistentClient(path="./chroma_db")
collection = client.create_or_get_collection("my_docs")
```
## Qdrant (Docker)
```yaml
services:
qdrant:
image: qdrant/qdrant
ports: ["6333:6333"]
volumes: ["./qdrant_data:/qdrant/storage"]
```
## pgvector (PostgreSQL)
```sql
CREATE EXTENSION vector;
CREATE TABLE docs (id SERIAL, content TEXT, embedding VECTOR(384));
CREATE INDEX ON docs USING ivfflat (embedding vector_cosine_ops);
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!