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 agentmods add skills/furkangonel/cowrangler/vector-databasesnpx skills add furkangonel/cowrangler --skill vector-databasesgit clone --depth 1 https://github.com/furkangonel/cowranglerWrote 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/furkangonel/cowrangler/vector-databases)<a href="https://agentmods.dev/skills/furkangonel/cowrangler/vector-databases"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/vector-databases.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 | $0.00021 | $0.03284 |
| Opus 5 | $0.00010 | $0.01642 |
| Sonnet 5 | $0.00004 | $0.00657 |
| Haiku 4.5 | $0.00002 | $0.00328 |
Grade B, and why
vector-databases scanned grade B with 2 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 4d 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
r = requests.post("http://localhost:11434/api/embeddings", Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
r = requests.post("http://localhost:11434/api/embeddings", How it starts
The opening of the file, as written. The whole thing — 422 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vector Databases SOP
Embed documents, store vectors, run similarity search, and build RAG retrieval pipelines using ChromaDB, pgvector, and popular embedding models.
When to Use
- User wants to build semantic search over a document corpus
- User wants to implement a RAG (Retrieval-Augmented Generation) pipeline
- User wants to store and query embeddings efficiently
- User wants to find similar items by meaning, not keyword
- User wants to choose between embedding models and vector stores
Part 1 — Embedding Model Selection
| Model | Provider | Dims | Best For | Cost |
|---|---|---|---|---|
text-embedding-3-small |
OpenAI | 1536 | General purpose, fast | ~$0.02/1M tokens |
text-embedding-3-large |
OpenAI | 3072 | Higher accuracy | ~$0.13/1M tokens |
all-MiniLM-L6-v2 |
sentence-transformers | 384 | Local, fast, English | Free |
all-mpnet-base-v2 |
sentence-transformers | 768 | Local, balanced quality | Free |
BAAI/bge-m3 |
HuggingFace | 1024 | Multilingual, local | Free |
nomic-embed-text |
Ollama | 768 | Local, good quality | Free |
mxbai-embed-large |
Ollama | 1024 | Local, high quality | Free |
OpenAI Embeddings
import os
from openai import OpenAI
client = OpenAI(api_key=os.environ["OPENAI_API_KEY"])
def embed_openai(texts: list[str], model="text-embedding-3-small") -> list[list[float]]:
"""Embed a batch of texts. Max 2048 inputs per call."""
# Replace newlines — they degrade embedding quality
texts = [t.replace("\n", " ") for t in texts]
response = client.embeddings.create(input=texts, model=model)
return [item.embedding for item in response.data]
# Single text
vec = embed_openai(["Hello world"])[0]
print(f"Dimension: {len(vec)}")
Sentence-Transformers (local)
# pip install sentence-transformers
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("all-MiniLM-L6-v2")
def embed_local(texts: list[str]) -> list[list[float]]:
embeddings = model.encode(texts, batch_size=64, show_progress_bar=True, normalize_embeddings=True)
return embeddings.tolist()
vecs = embed_local(["Semantic search is powerful", "Vector databases store embeddings"])
print(f"Shape: {len(vecs)} x {len(vecs[0])}")
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.
- 4d ago First seen · 422 lines · 21 tokens per session scan B 5579c104d24b
vector-databases is a skill published in the GitHub repository furkangonel/cowrangler (2 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 3,284 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
vector-collection-management
Create, populate, list, and delete vector-store collections through the vector-mcp MCP server's vectorcollectionmanagement tool. Use when the agent must stand up a new RAG collection, ingest documents (from a directory, file paths/URLs, or raw text) into an existing collection, enumerate collections, or drop one …
chroma
Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…
vector-backend-operations
Select and connect the right vector-store backend for the vector-mcp MCP server — chromadb, postgres/pgvector, qdrant, couchbase, or mongodb — and supply the correct dbtype/connection parameters that every collection and search call needs. Use when the agent must decide which engine to target, wire up…
RAG Workflow Planner
Designs a complete Retrieval-Augmented Generation (RAG) pipeline for a given use case, including chunking strategy, embedding model selection, and retrieval approach.
vector-mcp-operations
Operate vector-mcp through its governed MCP and GraphOS capabilities. Use for collection lifecycle, root-confined document ingestion, semantic or lexical retrieval, hybrid search, backend readiness, troubleshooting, and sanitized verification evidence.
data-scientist
!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults".