erupt: Instructions file for Codex

AGENTS.md

erupt AGENTS.md is an instructions file for Codex, OpenCode from erupts/erupt. It costs 4,624 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for coding agents working on the Erupt Java project. They list Maven commands for building the whole project or one module, running tests, starting a sample app, and regenerating API files.

In plain words
What is it for?
Use them when changing Erupt code, running its tests, starting the sample application, regenerating its OpenAPI or SDK schemas, or preparing a release.
Why use it?
They remove guesswork about the project's build and test process. They also help agents avoid stale generated files or using the wrong command for a focused change.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

This is erupts/erupt's own configuration. It tells Codex and OpenCode how to work on erupt itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything erupt configures →

About the project

ERUPT is an annotation-driven Java framework that turns a Java entity class into an administration page and related backend functionality. Developers use it to build admin interfaces with features such as permissions, auditing, data import and export, APIs, and AI integrations, and the catalogue entry provides an instruction for working with the framework.

erupts/erupt · 3,986 stars · on GitHub · erupt.xyz

Reuse

Borrowing it

Nothing to install: this file belongs to erupts/erupt. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/erupts/erupt/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/erupts/erupt

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/erupts/erupt/agents-md/github.svg)](https://agentmods.dev/instructions/erupts/erupt/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/erupts/erupt/agents-md"><img src="https://agentmods.dev/badge/instructions/erupts/erupt/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for erupt AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/erupts/erupt/agents-md"><img src="https://agentmods.dev/badge/instructions/erupts/erupt/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,624 This file is loaded in full into every session.
When invoked 4,624 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.04624 $0.04624
Opus 5.5 $0.01850 $0.01850
Sonnet 5.5 $0.00925 $0.00925
Haiku 4.5 $0.00462 $0.00462

Measured 3d ago against content hash 9db743b72f39, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

erupt 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 3d 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 · 261 lines

How it starts

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

AGENTS.md

This file provides guidance to coding agents (Claude Code, Codex, ...) when working with code in this repository.

Build & Test Commands

# Build entire project
mvn clean install

# Build a single module (and its dependencies)
mvn clean install -pl erupt-core -am

# Skip tests for faster builds
mvn clean install -DskipTests

# Run all tests (erupt-test module uses H2 in-memory DB)
mvn test -pl erupt-test

# Run a specific test class
mvn test -pl erupt-test -Dtest=LambdaQueryTest

# Run a specific test method
mvn test -pl erupt-test -Dtest=LambdaQueryTest#lambdaQueryTest

# Run the sample application for local testing
cd erupt-sample && mvn spring-boot:run

# Regenerate the OpenAPI spec (openapi/erupt.json) from controller Javadoc via smart-doc; commit the result
mvn -pl erupt-test -Popenapi process-classes

# Regenerate the node SDK contract (schema/*.json, consumed by github.com/erupt-io/erupt-sdk) after an
# annotation change; a plain `mvn test` fails while these files are stale. Commit the result
mvn -pl erupt-test -Pnode-schema test

# Publish to Maven Central (GPG signing, Javadoc; wraps `mvn clean deploy -P release`)
./scripts/deploy.sh

# Bump version across this repo AND satellite repos (erupt-web etc.)
./scripts/bump-erupt.sh [--dry-run] x.x.x

# Full release SOP (frontend build, bump, Maven Central, Docker Hub, merge+tag, gitee sync)
# Driven phase by phase by the /release command (.claude/commands/release.md)
./scripts/release.sh <preflight|frontend|bump|maven|docker|publish|start|verify> [x.x.x]

Java 17 required. Spring Boot 3.5.x (pinned via spring.boot.version in the parent pom). No Maven wrapper — use system mvn.

Compatibility

Erupt runs on Java 17 or newer and on every mainstream database. Both are promises to users, not defaults of the machine a feature happens to be written on — check a new feature against them.

  • Java 17 is the floor. The parent pom compiles with <release>17</release>, so a newer API fails the build rather than the user's runtime. Developing on a newer JDK is fine; List.getFirst(), SequencedCollection and friends are not.
  • The dialect owns the SQL. Never write a type name, a function or a DDL fragment that only one database understands. Ask Hibernate for it (DdlTypeRegistry, Dialect) or keep it in JPQL / criteria. A columnDefinition is raw DDL and travels to every database as written.
  • Watch what schema generation freezes. ddl-auto=update adds columns and nothing else — it never changes a type, a check constraint or an enum value list. Anything the create statement pins down becomes permanent for databases already in the field (see EnumColumnIntegrator).
  • Mind reserved words and identifier case. Column names such as value or order need quoting; erupt enables globally_quoted_identifiers for that reason, so identifiers are case sensitive.
  • Test against more than H2. erupt-test runs on H2 in MySQL mode; a feature that touches SQL, metadata or DDL deserves a look at how Oracle, PostgreSQL and SQL Server would read it.

Read the full file on GitHub · 261 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. 3d ago First seen · 261 lines · 4,624 tokens per session scan A 9db743b72f39

Subscribe to this mod's changes

erupt AGENTS.md is an instructions file published in the GitHub repository erupts/erupt (3,986 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,624 tokens to every session, about $0.0185 per session on Opus 5.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-11-03.

Related

erupt AGENTS.md compared with instructions from other repositories

erupt AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
erupt AGENTS.mderupts/eruptInstructions file4.0kyesterdayApache-2.0A4,624Codex, OpenCode
vibetags com-example-indexed-app-DocumentImportJob.instructions.mdPIsberg/vibetagsInstructions file25todayMITA436GitHub Copilot
vibetags com-example-indexed-app-DocumentService.instructions.mdPIsberg/vibetagsInstructions file25todayMITA234GitHub Copilot
vibetags com-example-config-ParallelTestSettings.instructions.mdPIsberg/vibetagsInstructions file25todayMITA105GitHub Copilot
vibetags com-example-service-NewAnnotationsShowcase-SandboxTestHelper.instructions.mdPIsberg/vibetagsInstructions file25todayMITA98GitHub Copilot
vibetags com-example-testing-PaymentFixturesTest.instructions.mdPIsberg/vibetagsInstructions file25todayMITA91GitHub Copilot
vibetags com-example-testing-GoldenPayloadFixtures.instructions.mdPIsberg/vibetagsInstructions file25todayMITA75GitHub Copilot