---
source_url: https://developers.openai.com/codex/app/config/agents-md
title: Codex - AGENTS.md / Project docs
fetched_at: 2026-02-05T23:26:33+08:00
version_or_last_updated: unknown
---

## “项目文档”回退文件名列表（原文摘录）

> project_doc_fallback_filenames:
>
> - "AGENTS.md"
> - "CLAUDE.md"
> - "README.md"
> - "CONTRIBUTING.md"
> - "SECURITY.md"
> - "LICENSE"
> - "CHANGELOG.md"
> - "docs/index.md"
> - "llms.txt"

## 项目文档大小限制（原文摘录）

> project_doc_max_bytes: 32768

## 指定项目文档的方式（原文摘录）

> You can override the default project doc behavior by:
>
> - Passing `--project-doc path/to/file.md`
> - Setting `CODEX_PROJECT_DOC=path/to/file.md`
