Allow pointing codex to specific AGENTS.md / prevent reading AGENTS.md file from folder above where codex-cli started

Resolved 💬 3 comments Opened Nov 3, 2025 by bornio Closed Feb 23, 2026

What version of Codex is running?

codex-cli 0.53.0

What subscription do you have?

Pro

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What issue are you seeing?

Agents.md:        ../../../AGENTS.md, AGENTS.md

I would like to prevent it auto loading the first AGENTS.md file

What steps can reproduce the bug?

Uploaded thread: 019a4943-0eac-72e2-a0fe-adcd4d0a8eac

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗