CLAUDE_CODE_ULTRAREVIEW_REVIEW_MD_FILE
Updated by Alex Sorokoletov
CLAUDE_CODE_ULTRAREVIEW_REVIEW_MD_FILE is a Claude Code environment variable: Points to a draft REVIEW.md file for ultrareview; it is accepted only when a pull request is reviewed as merged with no findings posted or applied, otherwise the launch is refused. Added between v2.1.321 and v2.1.323 and still present in v2.1.324. It is not in the official reference.
| Status | Present in v2.1.324 |
|---|---|
| Added | Added between v2.1.321 and v2.1.323 |
| Category | Other |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_ULTRAREVIEW_REVIEW_MD_FILE=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_ULTRAREVIEW_REVIEW_MD_FILE": "<value>"
}
}Related variables
CLAUDE_CLIENT_PRESENCE_FILECLAUDE_CODE_DIAGNOSTICS_FILE: Path to write diagnostics output.CLAUDE_CODE_FILE_READ_MAX_PDF_PAGES_PER_MESSAGE: Caps how many PDF pages the Read tool loads within a single message.CLAUDE_CODE_FILE_READ_MAX_PDF_PAGES_PER_TURN: Caps the running total of PDF pages the Read tool loads across a turn, working with the per-message cap above.CLAUDE_CODE_HOST_CREDS_FILE: Path to the host's credentials file; it is treated as an allowed credential path and, together with host gateway lineage, enables host-managed authentication.CLAUDE_CODE_ULTRAREVIEW_LAUNCH_RECORD: Path where the ultrareview launch writes the session ID, created as a new file with mode 0600; when set, it also collapses newlines in the command's output.CLAUDE_CODE_ULTRAREVIEW_PR_AS_MERGED: When set, reviews a pull request as it was merged rather than as it currently stands; if that mode is unavailable, nothing is launched and an error is shown.CLAUDE_CODE_ULTRAREVIEW_PREFLIGHT_FIXTURE: Points to a test fixture file used during the preflight phase of UltraReview — Claude Code's automated PR review pipeline.
Frequently asked questions
What does CLAUDE_CODE_ULTRAREVIEW_REVIEW_MD_FILE do?
Points to a draft REVIEW.md file for ultrareview; it is accepted only when a pull request is reviewed as merged with no findings posted or applied, otherwise the launch is refused.
Which Claude Code version has CLAUDE_CODE_ULTRAREVIEW_REVIEW_MD_FILE?
Added between v2.1.321 and v2.1.323 and still present in v2.1.324.
How do I set CLAUDE_CODE_ULTRAREVIEW_REVIEW_MD_FILE?
Export it before starting Claude Code (export CLAUDE_CODE_ULTRAREVIEW_REVIEW_MD_FILE=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.