All posts

Does a global AGENTS.md really eat into the project-doc budget?

, 9 min, ai, codex, agents-md

I understood project_doc_max_bytes to apply to the combined size of global and project documents, and wrote the same thing in my wiki. Measuring the model-visible prompt with codex debug prompt-input produced a different result. This post traces how I varied the limit, identified its scope, and retested the finding after the files changed.

On this page7
  1. What counts toward the 32 KiB limit?
  2. Inspecting the model-visible prompt input
  3. Experiment setup
  4. Results
  5. Retesting three days later with different inputs
  6. What actually needed trimming
  7. What one measurement changed