opengeni: Instructions file for Codex

AGENTS.md

opengeni AGENTS.md is an instructions file for Codex, OpenCode from Cloudgeni-ai/opengeni. It costs 35,847 tokens per session, scanned A, original, Apache-2.0.

A guide for working in OpenGeni, a TypeScript and Bun software stack with an API, web app, background worker, database, and messaging services.

In plain words
What is it for?
Use it when navigating the repository, starting its local services, changing session or event flows, updating architecture documentation, or preparing pull requests.
Why use it?
It gives agents a map of the system and explains which documentation and commands to use before changing its architecture or running the full local stack.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex.

This is Cloudgeni-ai/opengeni's own configuration. It tells Codex and OpenCode how to work on opengeni 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 opengeni configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Cloudgeni-ai/opengeni. 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/Cloudgeni-ai/opengeni/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Cloudgeni-ai/opengeni

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cloudgeni-ai/opengeni/agents-md/github.svg)](https://agentmods.dev/instructions/cloudgeni-ai/opengeni/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/cloudgeni-ai/opengeni/agents-md"><img src="https://agentmods.dev/badge/instructions/cloudgeni-ai/opengeni/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 opengeni AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cloudgeni-ai/opengeni/agents-md"><img src="https://agentmods.dev/badge/instructions/cloudgeni-ai/opengeni/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35,847 This file is loaded in full into every session.
When invoked 35,847 The same file — it is already loaded in full.
Security scan A 1 finding. 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.35847 $0.35847
Opus 5.5 $0.14339 $0.14339
Sonnet 5.5 $0.07169 $0.07169
Haiku 4.5 $0.03585 $0.03585

Measured today against content hash dcbb66f291da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The Docker sandbox image includes Terraform, Checkov, AnyDoc, Azure CLI, GitHub CLI, git, jq, curl, the PostgreSQL client (`psql`), and base shell utilities. Both stock images (`docker/sandbox.Dockerfile` and `docker/des
AGENTS.md · 944 lines

How it starts

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

Agent / automation notes (Opengeni)

This repository is a clean TypeScript/Bun stack. The public API is session-based.

Start here for orientation: docs/architecture.md. It is the canonical whole-system map — what Opengeni is, the load-bearing invariants, the current workspace layout, the major ownership boundaries, and the "if you're changing X, read Y first" routing index. Read it before navigating an unfamiliar area, and keep it current: if your change adds/removes/renames an app, package, example workspace, or sandbox backend; alters an architectural invariant, the data-flow, or the session/turn lifecycle; or changes which file is canonical for a change area — update docs/architecture.md in the same change. A stale map is a bug. (This file, AGENTS.md, owns how to run and operate the stack; architecture.md owns how the system is shaped.)

When the user says "start the dev server", "spin it up", or "run the full stack", they mean the steps under Full local stack.

Full Local Stack

The stack means everything needed to run the Hono API, React web app, Temporal worker, Postgres event store, Core NATS realtime bus, Temporal service, and configured OpenAI Agents SDK sandbox backend.

  1. Start the full local stack:

    bun run dev
    

    This first validates the pinned host Bun and selected backend prerequisites, then installs dependencies, prepares runtimes, starts infrastructure, runs migrations and the runtime posture check, and starts API, worker, and web processes. A local sandbox image is built only for the Docker sandbox. bun run dev:check checks prerequisites without starting services. scripts/run-development-stack.ts owns a per-project OS-backed lock before generated environment or role changes; a second launcher must use the existing run or stop it first. The first launch may spend several minutes preparing runtimes; wait for the aggregate readiness message, then verify the rendered app and a real agent task when a model is connected.

Read the full file on GitHub · 944 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 Changed · +61 lines · +975 tokens per session dcbb66f291da
  2. yesterday Changed · +4 lines · +88 tokens per session c491648d6271
  3. 2d ago Changed · +4 lines · +167 tokens per session a9534eecb7f2
  4. 3d ago Changed · +12 tokens per session 677062c91ab2
  5. 4d ago Changed · +7 lines · +79 tokens per session 5832d2ed2114
  6. 5d ago Changed · +15 lines · +237 tokens per session 95c07431c9f4
  7. 6d ago Changed · +6 lines · +194 tokens per session c14d6cc73924
  8. 7d ago Changed · +13 lines · +253 tokens per session 657efb375bab
  9. 8d ago Changed · +21 lines · +311 tokens per session b650496b8125
  10. 9d ago First seen · 813 lines · 33,531 tokens per session scan A db180a281771

Subscribe to this mod's changes

opengeni AGENTS.md is an instructions file published in the GitHub repository Cloudgeni-ai/opengeni (205 stars, last pushed today), licensed Apache-2.0. It adds 35,847 tokens to every session, about $0.1434 per session on Opus 5.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-08-30.

Related

Other instructions, from other repositories

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 · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,384 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens