neqsim AGENTS.md

neqsim AGENTS.md is an instructions file for Codex, OpenCode from equinor/neqsim. It costs 19,873 tokens per session, scanned A, original, Apache-2.0.

AGENTS.md instructions for equinor/neqsim, covering neqsim — agent instructions, quick orientation, critical constraint: java 8, critical constraint: logging and critical constraint: code formatting (spotless).

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/equinor/neqsim/agents-md.svg)](https://agentmods.dev/instructions/equinor/neqsim/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/equinor/neqsim/agents-md"><img src="https://agentmods.dev/badge/instructions/equinor/neqsim/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 19,873 This file is loaded in full into every session.
When invoked 19,873 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.19873 $0.19873
Opus 5 $0.09936 $0.09936
Sonnet 5 $0.03975 $0.03975
Haiku 4.5 $0.01987 $0.01987

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

Security

Grade A, and why

neqsim 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 today.

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 · 1,329 lines

How it starts

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

NeqSim — Agent Instructions

This file is read automatically by OpenAI Codex, Claude Code, and other AI coding agents. For VS Code Copilot, see .github/copilot-instructions.md.

Quick Orientation

Read CONTEXT.md for a 60-second overview of the codebase (repo map, build commands, code patterns).

Critical Constraint: Java 8

All code MUST compile with Java 8. Never use:

  • var, List.of(), Map.of(), Set.of(), String.repeat(), str.isBlank(), str.strip(), text blocks ("""), records, pattern matching instanceof, Optional.isEmpty().
  • Use explicit types, Arrays.asList(), StringUtils.repeat(), str.trim().isEmpty().

Critical Constraint: Logging

All Java logging/output MUST use Log4j2 logger. Never use System.out.println or System.err.println in production code, tests, examples, or generated snippets.

Use class logger fields and parameterized logging calls:

  • private static final Logger logger = LogManager.getLogger(YourClass.class);
  • logger.info("Message {}", value);
  • logger.warn("Message {}", value);
  • logger.error("Message {}", ex.getMessage(), ex);

Critical Constraint: Code Formatting (Spotless)

AI-generated Java is NOT auto-formatted. After creating or editing ANY .java file you MUST run Spotless before committing — do not rely on local pre-commit hooks being installed:

./mvnw spotless:apply    # reformats all Java to the project style
./mvnw spotless:check    # verifies formatting (this is what CI runs)
  • Formatter profile: Eclipse .config/neqsim_formatter.xml (configured in pom.xml), applied to src/main/java and src/test/java.
  • CI runs ./mvnw spotless:check and fails the build on any unformatted file.
  • NEVER bypass the gate with git commit --no-verify.
  • Run spotless:apply, then git add the reformatted files, then commit.

Continuous Improvement of Agents & Skills (always-on default)

Improving the agents and skills you use — and their cooperation — is part of every task, not an optional extra. Default behaviour, no need to ask: when a task reveals that a SKILL.md or *.agent.md is missing a pattern, naming convention, API signature, gotcha, or a needed agent↔skill hand-off, fix it in the same session. Improve cooperation too: add cross-references in both directions between related skills, keep hand-off shapes consistent along the chain, and update agent "Loaded skills" lists and router/composition guidance when a useful multi-skill/multi-agent pipeline is found. Keep site-specific detail in the enterprise repos and community content plant-agnostic; follow each repo's front-matter/validation conventions; note the improvements in the task summary; do not over-engineer.

Read the full file on GitHub · 1,329 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. today First seen · 1,329 lines · 19,873 tokens per session scan A 7f5a05d1ae59

Subscribe to this mod's changes

neqsim AGENTS.md is an instructions file published in the GitHub repository equinor/neqsim (150 stars, last pushed today), licensed Apache-2.0. It adds 19,873 tokens to every session, about $0.0994 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-09-03.

Related

Other instructions, from other repositories

Thermodynamics.jl AGENTS.md

Instructions for CliMA/Thermodynamics.jl, covering thermodynamics.jl agent guide, ecosystem guidelines, before you act: agent autonomy, repo-specific guidelines and architecture.

CliMA/Thermodynamics.jl · 699 tokens

processing4 AGENTS.md

AGENTS.md instructions for processing/processing4, covering our policy, guidelines for generating any analysis of the codebase, guidelines for ai coding assistants and agents, helping human contributors (for ai coding assistants) and 2. check if the issue is ready to be worked on.

processing/processing4 · 1,689 tokens

petromcp CLAUDE.md

Instructions for ameyxd/petromcp, covering petromcp — project memory, what this is, where we are, conventions and decisions and why.

ameyxd/petromcp · 2,308 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens