omnigraph: Instructions file for Codex

AGENTS.md

omnigraph AGENTS.md is an instructions file for Codex, OpenCode from ModernRelay/omnigraph. It costs 3,346 tokens per session, scanned A, original, MIT.

A guide for coding agents working on the ModernRelay/OmniGraph repository. It explains which architecture, domain, testing, and repository documents to read before making changes.

In plain words
What is it for?
Use it at the start of repository tasks to find required documentation, understand the project structure and invariants, follow testing rules, and edit the correct agent-guide file.
Why use it?
It reduces the risk of changes that violate project rules or duplicate existing work. It also directs agents to verify behavior against code and tests rather than relying only on summaries.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is ModernRelay/omnigraph's own configuration. It tells Codex and OpenCode how to work on omnigraph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything omnigraph configures →

About the project

Omnigraph is a graph database that stores operational context and coordination data in a lakehouse, combining graph traversal, vector search, and full-text search. It is designed for fleets of software agents that enrich shared knowledge on separate branches and merge reviewed changes; the catalogue add-ons help agents operate and coordinate through Omnigraph.

ModernRelay/omnigraph · 1,898 stars · on GitHub · omnigraph.dev

Reuse

Borrowing it

Nothing to install: this file belongs to ModernRelay/omnigraph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ModernRelay/omnigraph/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ModernRelay/omnigraph

Made for: Codex, OpenCode.

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 omnigraph AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/modernrelay/omnigraph/agents-md/github.svg)](https://agentmods.dev/instructions/modernrelay/omnigraph/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/modernrelay/omnigraph/agents-md"><img src="https://agentmods.dev/badge/instructions/modernrelay/omnigraph/agents-md/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.

agentmods 80×15 button for omnigraph AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/modernrelay/omnigraph/agents-md"><img src="https://agentmods.dev/badge/instructions/modernrelay/omnigraph/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,346 This file is loaded in full into every session.
When invoked 3,346 The same file — it is already loaded in full.
Security scan A 1 finding. 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.03346 $0.03346
Opus 5.5 $0.01338 $0.01338
Sonnet 5.5 $0.00669 $0.00669
Haiku 4.5 $0.00335 $0.00335

Measured 5d ago against content hash 65c823feb351, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

omnigraph AGENTS.md scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl -sL <url> | pandoc -f html -t markdown`.
AGENTS.md · 250 lines

How it starts

The opening of the file, as written. The whole thing — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Omnigraph agent guide

This file is the always-on map for coding agents. Keep it short: current detail belongs in docs/, exact behavior in code and tests, decisions in RFCs, and open work in issues.

Required reading

Before every task and every change:

  1. Read architectural invariants. Apply the hard invariants and deny-list to implementation and review work.
  2. Consult the domain map in Lance alignment. Fetch and read the complete content of every page in the matching domain plus every page that is even slightly relevant. The index and summaries are not substitutes for the upstream pages. A reliable local form is curl -sL <url> | pandoc -f html -t markdown.
  3. Read testing. Find the existing owner and run a clean focused baseline before changing tests. Extend an existing assertion, fixture, or parameterization before creating a parallel setup.

Tools that support @ imports include these automatically:

@docs/dev/invariants.md @docs/dev/lance.md @docs/dev/testing.md

CLAUDE.md is a symlink to this file. Edit AGENTS.md only.

Repository snapshot

  • Version surveyed: 0.14.1
  • Rust stable, edition 2024; toolchain pinned in rust-toolchain.toml
  • Storage substrate: Lance 13.0.0
  • Workspace: compiler, planner (logical/physical plans and optimizer), storage, omnigraph-core (the engine's shared base: OmniError, Lance dataset access, request instrumentation, Lance native ref control (branch_control), dataset addressing), omnigraph-catalog (the __manifest catalog: graph branch registrations and lineage, the publish), omnigraph-seams (the one seam type every test-time substitution uses; RFC 0066), engine (omnigraph-engine package), policy, API types, cluster, CLI, omnigraph-skill (rooted at skills/; embeds the skills/omnigraph agent skill in the CLI and MCP), omnigraph-mcp (MCP protocol and catalog), server, Azure admission wrapper, benchmark harness, omnigraph-gqt (the .gqt logic-test corpus and its runner; one libtest test per case), and omnigraph-dst (deterministic simulation testing; needs --cfg tokio_unstable, set by the workspace .cargo/config.toml for every build — the workspace test gate excludes the crate by name)
  • License: MIT

Read the full file on GitHub · 250 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. 5d ago Changed · +10 lines · +171 tokens per session 65c823feb351
  2. 9d ago Changed · +8 lines · +140 tokens per session 4197158000e7
  3. 15d ago Changed 8bb28be34467
  4. 16d ago Changed · +14 tokens per session 5367acc8b8b5
  5. 16d ago Changed 92e86100e7c2
  6. 21d ago Changed · +6 lines · +95 tokens per session 0115223e13cc
  7. 22d ago Changed fb9df078c665
  8. 26d ago Changed · +2 lines · +68 tokens per session 3a1427bd27d2
  9. 27d ago Changed · +4 lines · +78 tokens per session 609225be1318
  10. 28d ago First seen · 220 lines · 2,780 tokens per session scan A 8357d045b594

Subscribe to this mod's changes

omnigraph AGENTS.md is an instructions file published in the GitHub repository ModernRelay/omnigraph (1,898 stars, last pushed today), licensed MIT. It adds 3,346 tokens to every session, about $0.0134 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

omnigraph AGENTS.md compared with instructions from other repositories

omnigraph AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
omnigraph AGENTS.mdModernRelay/omnigraphInstructions file1.9ktodayMITA3,346Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode