AGENTS.md 自定义指令

Custom instructions with AGENTS.md agents.md is read before doing any work How codex discovers guidance: The instruction chain: 1.Global scope: in your Codex directory(default~/.codex): u can also use AGENTS.override.md,but only the first non-empty AGENTS.md is read 2.Project scope: At the project root in each directory along the path,it checks for AGENTS.override.md ,then AGENTS.md,then any fallback names in project_doc_fallback_filenames. Codex includes at most one file per directory 3.Merge order: The later ,the higher : because they appear later in the prompt ...

Codex
2026-09-071 分钟237 字chenghaoning51