AI Help
How do I check which AGENTS.md instructions Codex is using in a folder?
Trace applicable instruction files from the global configuration through the repository and working directory. Ask Codex to identify what it loaded.
Steps to follow
- Confirm the current directory and repository root. Inspect relevant AGENTS.md and supported override files in the directory chain.
- Read the instructions closest to the files being changed and check the documented precedence and size limits.
- Ask the agent to list the applicable guidance and required commands, then verify its actions against those files.
Example in practice
Illustrative example. A frontend folder's AGENTS.md can supply a package-specific test command in addition to repository-wide guidance.
Related AI help
- Why isn’t Claude Code discovering my project’s SKILL.md file?
- How do I work on two coding tasks at once without mixing their Git changes?