delaunay AGENTS.md

A repository instruction file for coding agents working on the Delaunay project. It points agents to required documentation and states rules about project context, design, scientific correctness, and validation.

In plain words
What is it for?
It helps agents know what documents to read before editing, where detailed rules are kept, and what correctness checks apply.
Why use it?
It reduces the risk of agents modifying files without reading the project’s relevant guidance or preserving important numerical and structural rules.

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/acgetchell/delaunay/agents-md
Clone the repo
git clone --depth 1 https://github.com/acgetchell/delaunay

Made for: Codex, OpenCode.

Per session 2,996 This file is loaded in full into every session.
When invoked 2,996 The same file — it is already loaded in full.
Security scan A 0 findings. 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.02996 $0.02996
Opus 5 $0.01498 $0.01498
Sonnet 5 $0.00599 $0.00599
Haiku 4.5 $0.00300 $0.00300

Measured 2d ago against content hash d3eed51056dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

AGENTS.md · 253 lines

How it starts

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

AGENTS.md

Essential guidance for AI assistants working in this repository.

This file is the entry point for all coding agents. It should stay short enough to load and remember. Detailed operational rules are indexed in docs/dev/README.md; focused architecture references are indexed from docs/code_organization.md.


Contents


Required Reading

Before modifying repository files, agents MUST read:

  • AGENTS.md (this file)
  • docs/dev/README.md - development guidance index; read each focused document whose ownership row matches the files or workflows the task touches
  • docs/code_organization.md - short architecture hub; follow its focused links when touching module layout, public namespace, preludes, or file organization

docs/dev/README.md explains which focused document owns each development workflow. Agents must read the task-relevant focused documents completely before making changes and load additional owners if the task expands. Cross-cutting changes must follow every applicable owner; unrelated development histories and workflow references do not need to be loaded preemptively.

Non-Negotiable Rules

  • Do not mutate version-control state unless the maintainer explicitly asks. Never run git commit, git push, git tag, or ref/index-mutating Git commands by default. Use git --no-pager for read-only Git commands. Detailed Git/GitHub rules live in docs/dev/git.md.
  • Use patch editing for manual edits. Never use sed, awk, perl, or Python to modify code. Shell text tools are fine for read-only analysis.
  • Do not revert user changes. The worktree may be dirty; preserve unrelated changes and work with any overlapping edits.
  • Unsafe Rust is forbidden. The crate enforces #![forbid(unsafe_code)].
  • Validate with the right command. Core Rust changes require final just ci. Documentation, configuration, Python, notebook, Rust unit-test-only, doctest-only, integration-test-only, benchmark-only, and example-only changes use the matching focused validators from docs/dev/commands.md; compose those validators once each when multiple focused surfaces changed.
  • Find local MacTeX tools before declaring them missing. On macOS, prepend /Library/TeX/texbin to PATH when commands such as chktex are not visible to a non-interactive shell; see docs/dev/commands.md.
  • Do not edit generated changelogs manually. Changelog and documentation maintenance rules live in docs/dev/docs.md.
  • Treat paper prose as author-owned. Agents must not add substantive publication prose to papers/; local paper maintenance rules live in docs/dev/docs.md.
  • Keep notebook execution deliberate. just notebook-check is lint-only. The canonical macOS leg of just ci may execute the validation notebook only to compare regenerated figures with tracked artifacts; it must not publish them. Execute other notebooks only when the task requires it, and refresh tracked notebook artifacts only through named recipes when the task includes that refresh. Every cell must have a unique, stable, descriptive lowercase kebab-case ID. Detailed policy lives in docs/dev/notebooks.md.
  • Keep README and citation prose mirrored. The first paragraph under README.md's Introduction is mirrored by the abstract field in CITATION.cff; update both together. The invariant is checked by scripts/tests/test_readme_citation_mirror.py.

Read the full file on GitHub · 253 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 · 253 lines · 2,996 tokens per session scan A d3eed51056dd

Subscribe to this mod's changes

delaunay AGENTS.md is an instructions file published in the GitHub repository acgetchell/delaunay (23 stars, last pushed 5d ago), licensed BSD-3-Clause. It adds 2,996 tokens to every session, about $0.0150 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-30.