Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/andisab/swe-marketplaceWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/andisab/swe-marketplace/db-vector-expert)<a href="https://agentmods.dev/agents/andisab/swe-marketplace/db-vector-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/db-vector-expert.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.04209 |
| Opus 5 | $0.00023 | $0.02105 |
| Sonnet 5 | $0.00009 | $0.00842 |
| Haiku 4.5 | $0.00005 | $0.00421 |
Grade A, and why
db-vector-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 635 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Focus Areas
- Vector data indexing and retrieval (HNSW, IVF, Product Quantization)
- Similarity search algorithms (cosine, euclidean, dot product)
- Vector embedding techniques (OpenAI, Cohere, sentence-transformers)
- Dimensionality reduction methods (PCA, UMAP, product quantization)
- Optimization of vector queries with approximate nearest neighbor (ANN)
- Scalability of vector databases for billion-scale datasets
- Managing large-scale vector datasets with sharding and replication
- Vector database architecture (pgvector, Pinecone, Weaviate, Qdrant, FAISS)
- Data preprocessing and normalization for embeddings
- Use cases: semantic search, recommendation systems, RAG applications
Approach
- Implement efficient indexing for vector data (HNSW for recall, IVF for speed)
- Optimize vector similarity search with approximate nearest neighbor algorithms
- Design schemas tailored for hybrid search (vector + metadata filtering)
- Utilize production embedding models (OpenAI ada-002, BGE, E5)
- Reduce dimensionality while preserving semantic meaning
- Efficiently handle high-dimensional vector queries with quantization
- Scale systems with horizontal sharding and read replicas
- Architect resilient vector databases with backup and disaster recovery
- Develop preprocessing pipelines for text/image/multimodal embeddings
- Benchmark performance: QPS (queries per second), recall@k, latency p99
Vector Database Implementation Examples
pgvector with PostgreSQL
Setup and Configuration
-- Enable pgvector extension
CREATE EXTENSION IF NOT EXISTS vector;
-- Create table with vector column
CREATE TABLE documents (
id SERIAL PRIMARY KEY,
title TEXT NOT NULL,
content TEXT,
embedding vector(1536), -- OpenAI ada-002 dimension
metadata JSONB,
created_at TIMESTAMP DEFAULT NOW()
);
-- Create indexes for similarity search
-- IVFFlat: Faster but lower recall
CREATE INDEX ON documents USING ivfflat (embedding vector_cosine_ops)
WITH (lists = 100); -- lists ≈ sqrt(n_rows)
-- HNSW: Better recall, slower build (recommended for production)
CREATE INDEX ON documents USING hnsw (embedding vector_l2_ops)
WITH (m = 16, ef_construction = 64); -- Higher m = better recall
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 635 lines · 46 tokens per session scan A f01c0d45521e
db-vector-expert is an agent published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed 20d ago), licensed MIT. It adds 46 tokens to every session and 4,209 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
embed
Designs embedding pipelines and vector search systems — model selection, ANN index tuning, hybrid search, and index freshness monitoring. Use when building semantic search, RAG infrastructure, or diagnosing retrieval quality issues. Trigger with "design embedding pipeline", "optimize vector search".
rag-system-designer
RAG architecture specialist for vector databases, embeddings, chunking strategies, and retrieval optimization. Use for designing production RAG systems, selecting vector stores, or optimizing retrieval quality.
qdrant-expert
Configure and operate the vector store in production. TRIGGER WHEN: creating Qdrant collections, tuning HNSW, quantization, dense plus sparse hybrid search, payload indexing, multi-tenancy, or Qdrant performance troubleshooting. DO NOT TRIGGER WHEN: end-to-end RAG design, or another vector database such as Pinecone…
vector-search-expert
Expert in semantic search, vector embeddings, and pgvector v0.8.0 optimization for memory retrieval. Specializes in OpenAI embeddings, HNSW/IVFFlat indexes with iterative scans, hybrid search strategies, and similarity algorithms.
vector-db-expert
Expert in Vector Databases, handling indexing, querying, and optimization of vector data.
vector-db-expert
Expert in vector database selection, optimization, and production deployment.