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

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.

9 min readaicodexagents-md

Published

Aug 15, 2026

Reading time

9 min

Sections

7

On this page7