dogma AGENTS.md

dogma AGENTS.md is an instructions file for Codex, OpenCode from EndogenAI/dogma. It costs 25,498 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for AI coding agents working on the EndogenAI/dogma project. They define the project's guiding principles, how knowledge is passed between instruction files, and how agents should make decisions.

In plain words
What is it for?
Use them when an AI agent is contributing to this repository and needs its operating constraints, priorities, and instruction hierarchy.
Why use it?
They give coding agents consistent rules for using project knowledge, preferring local and deterministic work, and avoiding unnecessary context or token use.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/endogenai/dogma/agents-md
Clone the repo
git clone --depth 1 https://github.com/EndogenAI/dogma

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/endogenai/dogma/agents-md.svg)](https://agentmods.dev/instructions/endogenai/dogma/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/endogenai/dogma/agents-md"><img src="https://agentmods.dev/badge/instructions/endogenai/dogma/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 25,498 This file is loaded in full into every session.
When invoked 25,498 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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 $0.25498 $0.25498
Opus 5 $0.12749 $0.12749
Sonnet 5 $0.05100 $0.05100
Haiku 4.5 $0.02550 $0.02550

Measured yesterday against content hash 395ceef40b47, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dogma 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 yesterday.

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.

| Ollama | `curl -sf http://localhost:11434/` | `Ollama is running` |
AGENTS.md · 1,409 lines

How it starts

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

AGENTS.md

Guidance for AI coding agents working in this repository.


Guiding Constraints

These constraints govern all agent behavior. They derive from three core axioms in MANIFESTO.md:

  1. Endogenous-First — scaffold from existing system knowledge and external best practices
  2. Algorithms Before Tokens — prefer deterministic, encoded solutions over interactive token burn
  3. Local Compute-First — minimize token usage; run locally whenever possible (LCF as structural enabler — see MANIFESTO.md §3)

Encoding Inheritance Chain: Values flow through MANIFESTO.md (foundational axioms) → AGENTS.md (operational constraints) → role files (.agent.md; VS Code: Custom Agents) → SKILL.md files (reusable tactical knowledge) → session prompts (enacted behavior). Each layer is a re-encoding of the layer above it. Agents must minimise lossy re-encoding: prefer direct quotation or explicit citation over paraphrase when invoking a foundational principle. Cross-reference density (back-references to MANIFESTO.md in your output) is a proxy for encoding fidelity. Low density signals likely drift. See docs/research/values-encoding.md for the cross-sectoral evidence base. AGENTS.md is the central authority for all operational constraints; subdirectory redirection notices point back here for global governance.

Session-Start Encoding Checkpoint: At the start of every session, the first sentence of ## Session Start in the scratchpad must name the governing axiom and one primary endogenous source. See docs/guides/session-management.md → Session-Start Encoding Checkpoint for format and examples. The agent fleet is the pressurizing medium — it gives each substrate coherent form but does not own the membrane or the bucket. Agents are tools that shape how values flow through the system, but they neither create nor control the values themselves.

Read the full file on GitHub · 1,409 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. yesterday First seen · 1,409 lines · 25,498 tokens per session scan A 395ceef40b47

Subscribe to this mod's changes

dogma AGENTS.md is an instructions file published in the GitHub repository EndogenAI/dogma (2 stars, last pushed 11d ago), licensed Apache-2.0. It adds 25,498 tokens to every session, about $0.1275 per session on Opus 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-09-03.