openmodelingfoundation.github.io AGENTS.md

Project-specific instructions for maintaining the Open Modeling Foundation website, built with Hugo and Docsy. Hugo is a tool that turns content files into a website.

In plain words
What is it for?
They are for editing source content, regenerating data, previewing or rendering the site, and following its deployment rules.
Why use it?
They prevent edits to generated files, enforce container-based commands, and protect deployment secrets.

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

Made for: Codex, OpenCode.

Per session 556 This file is loaded in full into every session.
When invoked 556 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.00556 $0.00556
Opus 5 $0.00278 $0.00278
Sonnet 5 $0.00111 $0.00111
Haiku 4.5 $0.00056 $0.00056

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

Security

Grade A, and why

openmodelingfoundation.github.io 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 · 52 lines

How it starts

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

AGENTS

Repository-specific constraints for AI agents working on the Open Modeling Foundation Hugo + Docsy site (GitHub Pages).

Contributor documentation: README.md.

Precedence

If instructions conflict: AGENTS.md → adapter files (CLAUDE.md, .github/copilot-instructions.md) → README.md.

Invariants

  • Run all project commands inside the Docker Compose hugo service via make targets. Do not use host-installed tooling. If a command cannot run in the container, explain why and propose a container-based alternative.
  • Edit authoritative sources, then regenerate. data/publications.json is generated from assets/bibliographies/publications.bib via .github/scripts/bibtex_to_json.py.
  • public/ is build output. Never edit it directly.
  • Never commit deploy credentials, API tokens, or analytics keys. Deployment secrets live in GitHub Actions repository secrets.

Commands

Prefer make targets. Use Docker Compose directly only when debugging the build system.

Need Use
Preview site locally make serve
Production-style render make render
Render while another Hugo container is running make render-site-isolated
Regenerate publications JSON from BibTeX make publications-json
CI-equivalent production build .github/scripts/build-site.sh

Deployment

Pushes to develop trigger the GitHub Pages workflow (.github/workflows/gh-pages.yml). The repository Pages source must be set to GitHub Actions, not a branch.

Hugo gotchas

Module mounts

When modifying hugo.yaml mounts, always include an explicit static -> static mount. Hugo drops the implicit default static/public/ copy when any mount is defined, silently removing static assets from the build.

Font declarations

Place @font-face rules in a Hugo template partial (layouts/partials/hooks/head-end.html), not in SCSS. Hugo template functions like relURL are unavailable in the SCSS toCSS pipeline.

Asset paths

Read the full file on GitHub · 52 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 · 52 lines · 556 tokens per session scan A 4379efa36ca2

Subscribe to this mod's changes

openmodelingfoundation.github.io AGENTS.md is an instructions file published in the GitHub repository openmodelingfoundation/openmodelingfoundation.github.io (53 stars, last pushed 10d ago), licensed CC0-1.0. It adds 556 tokens to every session, about $0.0028 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.