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.
npx skills add j4flmao/agent-skills --skill vector-databasesgit clone --depth 1 https://github.com/j4flmao/agent-skillsWrote 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/skills/j4flmao/agent-skills/vector-databases)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/vector-databases"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/vector-databases/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/vector-databases"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/vector-databases.svg" alt="Reviewed on agentmods" width="80" 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.00090 | $0.02069 |
| Opus 5.5 | $0.00036 | $0.00828 |
| Sonnet 5.5 | $0.00018 | $0.00414 |
| Haiku 4.5 | $0.00009 | $0.00207 |
Grade A, and why
data-vector-databases 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 12d 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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vector Databases
Purpose
Store embedding vectors with metadata and return the nearest neighbors of a query vector fast enough for interactive use. Exact search compares the query with every vector (O(N·d)); approximate nearest neighbor (ANN) indexes trade a measurable amount of recall for large speedups. The work is choosing the store, the index and its parameters, and proving recall on your own data.
Agent Protocol
Trigger
"vector database", "vector db", "pgvector", "qdrant", "milvus", "pinecone", "weaviate", "hnsw", "ivfflat", "ivf-pq", "ann", "similarity search", "store embeddings", "hybrid search", "recall@k".
Input Context
- Number of vectors now and in 12 months, dimensions, embedding model, update rate.
- Query latency SLO and QPS, filter requirements (tenant, ACL, dates), existing database.
- Accuracy target (recall@k vs exact search).
Output Artifact
Store choice + schema + index parameters + evaluation plan. No file unless requested.
Response Format
Scale: {N vectors} x {d dims} {dtype} ≈ {GB raw}
Store: {pgvector|Qdrant|Milvus|managed...} because {reason}
Index: {HNSW m/ef_construction/ef_search | IVF nlist/nprobe | +PQ/quantization}
Filtering: {pre/in-index/post}
Eval: recall@{k} vs exact on {n} queries, p95 latency
Completion Criteria
- Distance metric matches how the embedding model was trained (cosine / dot / L2).
- Recall@k measured against exact (brute-force) results on a sample of real queries.
- Filters applied inside the query, with a check that filtered queries still return k results.
- Re-embedding plan when the model changes (never mix models in one index).
Embeddings Basics
- Embedding models map text/images to fixed-length float vectors; similar meaning → nearby vectors. Dimensions depend on the model (e.g. OpenAI
text-embedding-3-smalldefaults to 1536 and can be shortened with itsdimensionsparameter). - Normalize vectors to unit length to make cosine similarity equal to dot product (faster in most engines).
- Memory: N x d x 4 bytes for float32. 10M x 1536 ≈ 61 GB raw, before index overhead.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 12d ago Changed · +4 lines · -80 tokens per session 50ae58ba4b0a
- 13d ago First seen · 139 lines · 170 tokens per session scan A 7948725bab60
data-vector-databases is a skill published in the GitHub repository j4flmao/agent-skills (46 stars, last pushed 13d ago), licensed MIT. It adds 90 tokens to every session and 2,069 once invoked, about $0.0004 per session on Opus 5.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-11-17.
data-vector-databases compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| data-vector-databasesj4flmao/agent-skills | Skill | 46 | 13d ago | MIT | A | 90 | Claude Code, Codex |
| vector-databasesLuuOW/meridian-mcp | Skill | 0 | 1mo ago | MIT | A | 71 | Claude Code, Codex |
| chromadbalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 39 | Claude Code |
| rag-qdrantdavila7/claude-code-templates | Skill | 34k | today | MIT | A | 45 | Claude Code, Codex |
| chromasynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 63 | Claude Code, Codex |
| rag-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 97 | Claude Code |
| chromaOrchestra-Research/AI-Research-SKILLs | Skill | 15k | 1mo ago | MIT | A | 63 | Claude Code |