codex icon indicating copy to clipboard operation
codex copied to clipboard

readme points to wrong file for personal global guidance

Open christophkogler opened this issue 1 year ago • 1 comments

What is the type of issue?

Documentation is incorrect

What is the issue?

The readme states:

You can give Codex extra instructions and guidance using AGENTS.md files. Codex looks for AGENTS.md files in the following places, and merges them top-down:

  1. ~/.codex/AGENTS.md - personal global guidance
  2. AGENTS.md at repo root - shared project notes
  3. AGENTS.md in the current working directory - sub-folder/feature specifics

This is incorrect. Personal global guidance is pulled from ~/.codex/instructions.md.

Documentation should be fixed first, but this makes it pretty clear that instruction file naming convention should be unified across all levels. They should probably either all be instructions.md or all be AGENTS.md.

Where did you find it?

https://github.com/openai/codex/blob/main/README.md#memory--project-docs

christophkogler avatar May 16 '25 18:05 christophkogler

Thank you for the feedback! Please try again on the latest version of Codex CLI. If the issue persists, feel free to open a new issue or contribute a PR to the codex-rs/ implementation.

codex-maintainers avatar Aug 07 '25 18:08 codex-maintainers