agents-environment-config: Instructions file for Codex

AGENTS.md

agents-environment-config AGENTS.md is an instructions file for Codex, OpenCode from bernierllc/agents-environment-config. It costs 1,163 tokens per session, scanned A, original, MIT.

An AGENTS.md guide for agents-environment-config, a repository that configures coding-agent environments. It includes a quick start, rules reference, and categorised instructions.

In plain words
What is it for?
Use it when an agent is setting up or changing this repository's environment configuration or needs to find the relevant rules.
Why use it?
It puts the repository's agent setup rules in one place and indicates which guidance matters for a particular task.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bernierllc/agents-environment-config/agents-md"><img src="https://agentmods.dev/badge/instructions/bernierllc/agents-environment-config/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,163 This file is loaded in full into every session.
When invoked 1,163 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.01163 $0.01163
Opus 5.5 $0.00465 $0.00465
Sonnet 5.5 $0.00233 $0.00233
Haiku 4.5 $0.00116 $0.00116

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

Security

Grade A, and why

agents-environment-config 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 14d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 69 lines

How it starts

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

Codex Agent Instructions

Canonical Source: Project-specific standards live in AGENTINFO.md. Read that file first. This file provides rule references.

Quick Start

  1. Read AGENTINFO.md for project-specific info
  2. Read relevant ~/.agent-tools/rules/agents-environment-config/*.md files on demand
  3. Do NOT memorize all rules - reference them when needed

Rules Reference

Rules live in ~/.agent-tools/rules/agents-environment-config/ (installed by aec install) and should be read on demand. Do NOT memorize all rules - read the specific rule file when working in that area.

Essential Rules (read when relevant)

  • Testing: ~/.agent-tools/rules/agents-environment-config/frameworks/testing/standards.md
  • Typescript: ~/.agent-tools/rules/agents-environment-config/languages/typescript/typing-standards.md
  • Architecture: ~/.agent-tools/rules/agents-environment-config/general/architecture.md
  • Git: ~/.agent-tools/rules/agents-environment-config/topics/git/workflow.md
  • Quality: ~/.agent-tools/rules/agents-environment-config/topics/quality/gates.md

All Rules by Category

  • general/: Core principles (architecture, workflow, documentation) (8 rules)
  • languages/: Language conventions (Python, TypeScript) (2 rules)
  • stacks/: Stack patterns (Next.js, FastAPI, React Native) (3 rules)
  • frameworks/: Framework guides (databases, testing, UI) (10 rules)
  • topics/: Cross-cutting (API, git, security, quality) (12 rules)
  • packages/: Package management (2 rules)

How to Use Rules

  1. When working on TypeScript, read ~/.agent-tools/rules/agents-environment-config/languages/typescript/typing-standards.md
  2. When writing tests, read ~/.agent-tools/rules/agents-environment-config/frameworks/testing/standards.md
  3. When working with databases, read ~/.agent-tools/rules/agents-environment-config/frameworks/database/connection-management.md
  4. When setting up a project, read ~/.agent-tools/rules/agents-environment-config/general/architecture.md
  5. For project-specific info, see AGENTINFO.md

Read the full file on GitHub · 69 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. 14d ago Changed · +5 lines · +140 tokens per session fa33b4900e36
  2. 1mo ago Changed · +14 lines · +436 tokens per session 0b6a4d6bfa38
  3. 2mo ago First seen · 50 lines · 587 tokens per session scan A 097609fbbb1b

Subscribe to this mod's changes

agents-environment-config AGENTS.md is an instructions file published in the GitHub repository bernierllc/agents-environment-config (11 stars, last pushed yesterday), licensed MIT. It adds 1,163 tokens to every session, about $0.0047 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-08-31.

Related

agents-environment-config AGENTS.md compared with instructions from other repositories

agents-environment-config AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agents-environment-config AGENTS.mdbernierllc/agents-environment-configInstructions file11yesterdayMITA1,163Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode