ez-omo-config: Instructions file for Codex

AGENTS.md

ez-omo-config AGENTS.md is an instructions file for Codex, OpenCode from EZotoff/ez-omo-config. It costs 5,616 tokens per session, scanned B, original, MIT.

Repository instructions for EZotoff's ez-omo-config, a versioned store for OpenCode and Oh-My-OpenAgent settings. They explain which tracked files control the live configuration and where authentication data is kept.

In plain words
What is it for?
Use them to locate OpenCode and OMO settings, update provider retry rules, understand the symlink layout, and keep authentication files out of version control.
Why use it?
They prevent agents from editing the wrong configuration or committing secret credentials. They also clarify that live configuration files are symbolic links to files in the repository.

Instructions file for CodexOpenCode

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

This is EZotoff/ez-omo-config's own configuration. It tells Codex and OpenCode how to work on ez-omo-config 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 ez-omo-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to EZotoff/ez-omo-config. 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/EZotoff/ez-omo-config/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/EZotoff/ez-omo-config

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 ez-omo-config AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ezotoff/ez-omo-config/agents-md"><img src="https://agentmods.dev/badge/instructions/ezotoff/ez-omo-config/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,616 This file is loaded in full into every session.
When invoked 5,616 The same file — it is already loaded in full.
Security scan B 2 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.05616 $0.05616
Opus 5 $0.02808 $0.02808
Sonnet 5 $0.01123 $0.01123
Haiku 4.5 $0.00562 $0.00562

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

Security

Grade B, and why

ez-omo-config AGENTS.md scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

**Prerequisite**: `sudo apt install -y inotify-tools` for the watcher service.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

5. Structural fixes are mandatory for new bash/python tooling: `set -euo pipefail` for bash, `subprocess.run([...])` list-form for Python, no string interpolation into Python source.
AGENTS.md · 233 lines

How it starts

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

ez-omo-config — Agent Instructions

What This Is

This project is the versioned config store for OpenCode and Oh-My-OpenAgent (OMO). The active configs are symlinked to this repo — editing a file here IS editing the live config.

Config Locations

Purpose Store path (git-tracked) Live symlink (OpenCode reads this)
OpenCode config configs/opencode/opencode.json ~/.config/opencode/opencode.json → store
OMO config configs/oh-my-openagent/oh-my-openagent.json ~/.config/opencode/oh-my-openagent.json → store
Provider retry plugin configs/opencode/provider-connect-retry.mjs ~/.config/opencode/provider-connect-retry.mjs → store
Retry error registry configs/retry-errors.json ~/.config/opencode/retry-errors.json → store
Auth / API keys ~/.local/share/opencode/auth.json (NEVER committed)

How It Works

Live configs are symlinks pointing into this repo:

~/.config/opencode/opencode.json        →  ~/ez-omo-config/configs/opencode/opencode.json
~/.config/opencode/oh-my-openagent.json →  ~/ez-omo-config/configs/oh-my-openagent/oh-my-openagent.json

There is ONE file, not two. Editing either path modifies the same file. Changes are immediately visible to OpenCode AND tracked by git.

Rules for Agents

  1. Edit the store path (files in this repo). The symlinks ensure OpenCode sees the change.
  2. No propagation needed. The old copy-and-adapt workflow is dead. There is no second file to sync.
  3. Never commit auth/API keys. ~/.local/share/opencode/auth.json is machine-local.
  4. No machine-specific paths. opencode.json uses relative paths for all local plugins (e.g. ./provider-connect-retry.mjs, ../../.opencode/plugin/clickable-links.ts), resolved by OpenCode against the config file's directory. No manual path updates are needed on a new machine.
  5. Validate JSON after editing. Run python3 -c "import json; json.load(open('path'))" on changed files.
  6. Server vs TUI restart. Closing/reopening the TUI does NOT restart the opencode serve server process. Plugins, OMO runtime, and in-memory session state are initialized once at server startup. Config changes (plugin array, agent settings) require systemctl --user restart opencode.service to take full effect (the former omo-tg.service unit is masked/retired). Always verify with ps -eo pid,lstart,etime,args | grep 'opencode serve' that the server start time actually changed before assuming a restart worked.

Read the full file on GitHub · 233 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 Changed · +83 tokens per session 31287d661c8f
  2. 4d ago Changed · +15 lines · +1,123 tokens per session d7e7da9fc9f0
  3. 8d ago First seen · 218 lines · 4,410 tokens per session scan B 64346bb4cae2

Subscribe to this mod's changes

ez-omo-config AGENTS.md is an instructions file published in the GitHub repository EZotoff/ez-omo-config (5 stars, last pushed 3d ago), licensed MIT. It adds 5,616 tokens to every session, about $0.0281 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

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,296 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,153 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

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

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 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,469 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