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 knowledge-policiesgit 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/knowledge-policies)<a href="https://agentmods.dev/skills/orneryd/nornicdb/knowledge-policies"><img src="https://agentmods.dev/badge/skills/orneryd/nornicdb/knowledge-policies/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/orneryd/nornicdb/knowledge-policies"><img src="https://agentmods.dev/badge/skills/orneryd/nornicdb/knowledge-policies.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.00093 | $0.05280 |
| Opus 5 | $0.00046 | $0.02640 |
| Sonnet 5 | $0.00019 | $0.01056 |
| Haiku 4.5 | $0.00009 | $0.00528 |
Grade A, and why
nornicdb-knowledge-policies 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 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.
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 — 349 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NornicDB Knowledge-Layer Policies (Cypher API)
NornicDB scores every node and edge through a Cypher-controlled pipeline. The mental model is Neo4j Cypher: CREATE/ALTER/DROP/SHOW statements plus CALL procedures.
The four object kinds (and exactly what each one does)
There is one targeting mechanism (FOR (...)) used in two places. Object kinds:
| Kind | Carries a target? | What it does | Effect on scores by itself |
|---|---|---|---|
Decay bundle — CREATE DECAY PROFILE <name> OPTIONS { ... } |
No | Names a reusable parameter set: halfLifeSeconds, function, visibilityThreshold, scoreFloor, scope, scoreFrom, scoreFromProperty |
None. A bundle on its own is inert. |
Decay binding — CREATE DECAY PROFILE <name> FOR (...) APPLY { ... } |
Yes (FOR) |
Attaches decay math to a label / multi-label / edge type / wildcard. The APPLY block either references a bundle (DECAY PROFILE 'name') or sets parameters inline, plus per-property overrides. |
Decay is active for entities matching FOR. |
Promotion profile — CREATE PROMOTION PROFILE <name> OPTIONS { ... } |
No | Names a reusable boost: multiplier, scoreFloor, scoreCap, scope. |
None on its own. |
Promotion policy — CREATE PROMOTION POLICY <name> FOR (...) APPLY { ON ACCESS { ... } WHEN ... APPLY PROFILE '...' } |
Yes (FOR) |
Attaches access-counter mutations and conditional boosts to a target. ON ACCESS mutations write to access metadata; WHEN clauses select which promotion profile applies. | Mutates access metadata; promotion math applies when a WHEN matches. |
So:
- Bundles and profiles are inert parameter packages. They never select entities, never run code on their own, and never change scores until a binding or policy references them.
- Bindings and policies are the only objects that reference entities. Both use the same
FOR (...)target syntax. - Yes, the keyword
CREATE DECAY PROFILEhas two shapes — the parser chooses bundle vs binding based on whetherOPTIONSorFORfollows the name. Same keyword, two distinct objects.
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 · 349 lines · 93 tokens per session scan A 2ab34f183cb0
nornicdb-knowledge-policies is a skill published in the GitHub repository orneryd/NornicDB (864 stars, last pushed yesterday), licensed MIT. It adds 93 tokens to every session and 5,280 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
payload
Use when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.
graphjin-eval
Create, extend, run, baseline, and diagnose GraphJin agent evaluations through the graphjin eval CLI.
graphjin-env
Use when setting up a training or evaluation loop against a GraphJin agent environment — running the container, reading /health, driving episodes hosted or step-by-step or with your own agent over MCP, splitting train from eval, exporting trajectories, and deciding whether two rewards can be compared.
infrahub-sot
OpsMill Infrahub — infrastructure source of truth with schema-driven nodes, GraphQL queries, and branch-isolated changes. Use when querying Infrahub for device/IPAM inventory, browsing infrastructure schemas, running GraphQL queries, or making infrastructure changes safely via an auto-created session branch and a…
dkg-importer
Bulk-import a large RDF graph (code graph, corpus, GitHub history, etc.) into a DKG node's working memory. Use this skill when you need to push more than a few thousand triples in a single import — it codifies the chunking budgets, the assertion-loop shape, the resumability manifest, and the canonical URI rules so…
pydantic-resolve-3step
A three-stage development method for Python projects built with pydantic-resolve, starting with agreed data models and ending with application interfaces. It uses an ER diagram, which shows database entities and their relationships, plus ORM models that represent database records in code.