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 agentmods add instructions/knuckles-team/epistemic-graph/agents-mdgit clone --depth 1 https://github.com/Knuckles-Team/epistemic-graphWrote 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/instructions/knuckles-team/epistemic-graph/agents-md)<a href="https://agentmods.dev/instructions/knuckles-team/epistemic-graph/agents-md"><img src="https://agentmods.dev/badge/instructions/knuckles-team/epistemic-graph/agents-md.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 | $0.25669 | $0.25669 |
| Opus 5 | $0.12835 | $0.12835 |
| Sonnet 5 | $0.05134 | $0.05134 |
| Haiku 4.5 | $0.02567 | $0.02567 |
Grade A, and why
epistemic-graph AGENTS.md 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 — 993 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Epistemic Graph Compute Engine
Claude Code loads this file via
CLAUDE.md(@AGENTS.mdimport) — the two stay in sync. Edit this file, notCLAUDE.md.
Project Name:
epistemic-graphEcosystem Prefix:EG/EPGKey Concepts:CONCEPT:EG-KG.compute.graph-compute-engine(High-Performance Graph Compute Engine),CONCEPT:EG-KG.query.wire-protocol(Tokio Service Layer),CONCEPT:AU-KG.memory.mementified-context(Rust-Native Finance),CONCEPT:EG-KG.compute.rust-native-training-loss(Data Science Primitives),CONCEPT:AU-KG.domains.legal-automation(Rust-Accelerated Reasoning),CONCEPT:EG-KG.txn.per-graph-write-isolation(Lock-Free Compute + Engine Observability)
Overview
Unified Rust-native computation engine for the agent-packages ecosystem. Consolidates graph operations, quantitative finance, data science, AST analysis, and OWL reasoning into a single high-performance binary.
Transport (important — this changed): the engine is exposed to Python
out-of-process via a long-running Tokio service speaking length-prefixed
MessagePack over Unix Domain Sockets (default) or TCP, authenticated with
HMAC-SHA256. eg2. is the sole request envelope: every served request carries
a verified principal, tenant, audience, effective agent, policy version, scopes,
timestamp, nonce, and idempotency key. The server MUST NOT open a listener
without the security feature, a non-empty signing secret, deployment policy
values, a durable replay ledger, and a signer-key registry (see
docs/service_mode.md#authentication-protocol).
Two deployment shapes, one performance discipline (this edict evolved — see history).
(a) Out-of-process (the horizontal-scale default): Python talks to a long-running Tokio
engine over the socket — GIL-free, so one engine backs many graph-os clients and scales
independently; the wheel ships the epistemic-graph-server binary + a pure-Python client
(bindings = "bin"). (b) Unified single binary (the self-contained default — EVOLVING):
for a self-contained deployment (one graph-os, no horizontal fan-out) the engine is
embedded in-process via PyO3 — one binary, one lifecycle, no socket serialize/round-trip,
no cross-image drift — and is preferred wherever it consolidates with no hot-path cost.
The rule that keeps BOTH shapes fast is the same and non-negotiable: engine calls MUST stay
BATCHED (one call = one batch op over graph-resident data, never a per-element Python loop)
and the engine's tokio/compute internals MUST stay pure Rust — so Python never bottlenecks the hot
path in either shape. Rust-native/optimized is the default; PyO3 MUST sit only at that batched
boundary, and MUST NOT appear in a per-op inner loop. (History: PyO3 was originally removed outright to stay
GIL-free and horizontally scalable — the right call for a shared, scaled engine. It is now
restored as the OPT-IN unified path because a self-contained deployment gains a single
consolidated binary with no measured downside, and the batching discipline preserves the
original performance goal that motivated the removal. scripts/check_no_pyo3.sh therefore
scopes to the scale-out build, not the unified one.)
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 · 993 lines · 25,669 tokens per session scan A eb366915aab7
epistemic-graph AGENTS.md is an instructions file published in the GitHub repository Knuckles-Team/epistemic-graph (10 stars, last pushed 6d ago), licensed MIT. It adds 25,669 tokens to every session, about $0.1283 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-31.
Other instructions, from other repositories
chroma CLAUDE.md
Claude Code instructions for chroma-core/chroma, covering chroma codebase guidelines, commit message style, 50/72 rule and tilt-backed tests.
turso AGENTS.md
Instructions for tursodatabase/turso, covering turso agent guidelines, quick reference, testing, running tests and test organization.
chroma AGENTS.md
AGENTS.md instructions for chroma-core/chroma: See CLAUDE.md for codebase conventions (commit message format, etc.).
redis-vl-python CLAUDE.md
Claude Code instructions for redis/redis-vl-python, covering claude.md - redisvl project context, frequently used commands, development workflow, redis setup and documentation.
windmill AGENTS.md
AGENTS.md instructions for windmill-labs/windmill, covering windmill, workflow, documentation, dev environment and per-worktree ports and database.
packrehearsal AGENTS.md
AGENTS.md instructions for liyuqin606-del/packrehearsal, covering packrehearsal instructions for codex, mission, before editing, safety invariants and implementation expectations.