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 orneryd/NornicDB --skill vector-searchgit clone --depth 1 https://github.com/orneryd/NornicDBWrote 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/orneryd/nornicdb/vector-search)<a href="https://agentmods.dev/skills/orneryd/nornicdb/vector-search"><img src="https://agentmods.dev/badge/skills/orneryd/nornicdb/vector-search.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.00092 | $0.02249 |
| Opus 5 | $0.00046 | $0.01125 |
| Sonnet 5 | $0.00018 | $0.00450 |
| Haiku 4.5 | $0.00009 | $0.00225 |
Grade A, and why
nornicdb-vector-search 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 2d 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 — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vector & Full-Text Search (Cypher API)
NornicDB exposes Neo4j-compatible vector and full-text indexes plus search procedures. Most queries that work on Neo4j 5 vector indexes work unchanged on NornicDB; the extensions are documented inline.
Vector indexes
Create
DDL form (Neo4j-compatible):
CREATE VECTOR INDEX docEmbeddings IF NOT EXISTS
FOR (n:Document) ON (n.embedding)
OPTIONS { indexConfig: {
`vector.dimensions`: 1024,
`vector.similarity_function`: 'cosine' -- 'cosine' | 'euclidean' | 'dot'
}}
Procedure form (handy from drivers that prefer CALL):
CALL db.index.vector.createNodeIndex(
'docEmbeddings', -- index name
'Document', -- node label
'embedding', -- property holding the vector
1024, -- dimensions
'cosine' -- similarity function
)
For relationship vectors:
CALL db.index.vector.createRelationshipIndex(
'edgeEmbeddings', 'CO_ACCESSED', 'embedding', 1024, 'cosine'
)
Drop:
DROP INDEX docEmbeddings IF EXISTS
-- or
CALL db.index.vector.drop('docEmbeddings')
Similarity functions
| Name | Range | Use when |
|---|---|---|
cosine (default) |
[-1, 1] mapped to [0, 1] for ranking | Most embeddings — the model trained with normalized cosine |
dot |
unbounded; valid only on normalized vectors | Speed-optimized cosine on guaranteed-unit-norm vectors |
euclidean |
distance, not similarity | Use when the model was trained with L2 distance |
Dimensions
Every node indexed under a vector index must have the same dimension as the index's configured vector.dimensions. Mismatched dimensions are silently skipped on write, and produce 400 Bad Request from the search HTTP endpoint when queried.
| Model | Dim |
|---|---|
all-MiniLM-L6-v2 |
384 |
bge-m3, mxbai-embed-large, e5-large |
1024 |
text-embedding-3-small |
1536 |
text-embedding-3-large |
3072 |
Query
The flagship procedure accepts three input shapes. Pick whichever fits the call site:
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.
- 2d ago First seen · 240 lines · 92 tokens per session scan A 43c9745e3ef5
nornicdb-vector-search is a skill published in the GitHub repository orneryd/NornicDB (858 stars, last pushed yesterday), licensed MIT. It adds 92 tokens to every session and 2,249 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-09-05.
Other skills, from other repositories
qdrant
Vector search engine for production RAG systems.
chroma
Embedding database for RAG and semantic search.
embeddings
Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.
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…