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 zvec-ai/zvec-agent-skills --skill zvecgit clone --depth 1 https://github.com/zvec-ai/zvec-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/zvec-ai/zvec-agent-skills/zvec)<a href="https://agentmods.dev/skills/zvec-ai/zvec-agent-skills/zvec"><img src="https://agentmods.dev/badge/skills/zvec-ai/zvec-agent-skills/zvec.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.00102 | $0.01823 |
| Opus 5 | $0.00051 | $0.00911 |
| Sonnet 5 | $0.00020 | $0.00365 |
| Haiku 4.5 | $0.00010 | $0.00182 |
Grade A, and why
zvec 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 — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Usage Instructions
Before starting, understand the following:
-
Development Language: Python or Node.js?
- Python: use
pip install zvec - Node.js: use
npm install @zvec/zvec
- Python: use
-
Use Cases:
- RAG document retrieval system
- Semantic search
- Multimodal search (image + text)
- Hybrid search (keywords + semantic)
-
Data Scale:
- < 100k: use FLAT index (exact search)
- 100k-10M: use HNSW index (recommended default)
-
10M: use IVF index (memory optimized)
Decision Workflow
- User needs vector search functionality
- Choose development language (Python/Node.js)
- Determine use case
- RAG system → use single-vector search + document chunk management
- E-commerce search → use hybrid search (vector + filter)
- Multimodal → use multi-vector search + weighted ranking
- Design Schema (vector fields + scalar fields)
- Select index type (HNSW/FLAT/IVF)
- Implement data synchronization strategy
Default Recommendations
- Use
create_and_open()/ZVecCreateAndOpen()to create Collection - Use cosine similarity (COSINE) as default distance metric
- Use FP32 type for dense vectors
- Create
InvertIndexParamindex for filter fields
Validation Checklist
- Vector dimensions match Schema definition
- Scalar field types are correct
- Filter condition syntax is correct
- Call
optimize()after large batch writes
Quick Start
Python:
import zvec
# Create Collection
schema = zvec.CollectionSchema(
name="my_collection",
fields=[
zvec.FieldSchema(name="title", data_type=zvec.DataType.STRING),
],
vectors=[
zvec.VectorSchema(
name="embedding",
data_type=zvec.DataType.VECTOR_FP32,
dimension=768,
index_param=zvec.HnswIndexParam(
metric_type=zvec.MetricType.COSINE
),
),
],
)
collection = zvec.create_and_open("./my_data", schema)
# Insert document
collection.upsert(zvec.Doc(
id="doc_1",
vectors={"embedding": [0.1] * 768},
fields={"title": "Hello World"},
))
# Search
results = collection.query(
vectors=zvec.VectorQuery(
field_name="embedding",
vector=[0.1] * 768,
),
topk=10,
)
What ships with it
20 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.
- api-cheatsheet.md 6.5 KB
- collection-management/python.md 8.5 KB
- collection-management/typescript.md 8.6 KB
- configuration.md 5.3 KB
- data-model.md 5.8 KB
- data-operations/python.md 10 KB
- data-operations/typescript.md 10 KB
- embedding.md 7.8 KB
- hybrid-search/python.md 3.5 KB
- hybrid-search/typescript.md 3.7 KB
- multimodal-search/python.md 4.1 KB
- multimodal-search/typescript.md 4.2 KB
- quick-start/python.md 2.7 KB
- quick-start/typescript.md 2.9 KB
- rag-system/python.md 12 KB
- rag-system/typescript.md 3.9 KB
- reranker.md 8.7 KB
- troubleshooting.md 2.7 KB
- vector-search/python.md 2.5 KB
- vector-search/typescript.md 2.0 KB
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 · 220 lines · 102 tokens per session scan A 7ea552aa25c5
zvec is a skill published in the GitHub repository zvec-ai/zvec-agent-skills (17 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 102 tokens to every session and 1,823 once invoked, about $0.0005 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 skills, from other repositories
qdrant
Vector search engine for production RAG systems.
chroma
Embedding database for RAG and semantic search.
pinecone
Managed vector DB for production RAG and search.
similarity-search-patterns
Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.
pgvector-semantic-search
Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…
postgres-hybrid-text-search
Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…