nornicdb-vector-search

nornicdb-vector-search is a skill for Claude Code, Codex from orneryd/NornicDB. It costs 92 tokens per session (2,249 once invoked), scanned A, original, MIT.

A NornicDB search feature for vector similarity and full-text indexes. Vector search finds items with similar meaning, while full-text search matches words using BM25 ranking.

In plain words
What is it for?
Use it to create or remove indexes, search nodes or relationships by vector similarity, run keyword searches, and choose dimensions and similarity methods for embeddings.
Why use it?
It avoids building separate search systems for semantic and keyword lookups. The indexes and queries are available directly through Cypher.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or remove indexes, search nodes or relationships by…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orneryd/nornicdb/vector-search
Install

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.

Any agent
npx skills add orneryd/NornicDB --skill vector-search
Clone the repo
git clone --depth 1 https://github.com/orneryd/NornicDB

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nornicdb-vector-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/orneryd/nornicdb/vector-search.svg)](https://agentmods.dev/skills/orneryd/nornicdb/vector-search)
Your own site
<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>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash 43c9745e3ef5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

docs/skills/vector-search.skill.md · 240 lines

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:

Read the full file on GitHub · 240 lines

Changes

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.

  1. 2d ago First seen · 240 lines · 92 tokens per session scan A 43c9745e3ef5

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

qdrant

Vector search engine for production RAG systems.

NousResearch/hermes-agent · 13 tokens

chroma

Embedding database for RAG and semantic search.

NousResearch/hermes-agent · 12 tokens

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.

ruvnet/ruflo · 62 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens

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…

timescale/pg-aiguide · 190 tokens

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…

timescale/pg-aiguide · 162 tokens