Yes, you can provide custom review guidelines for @codex review mentions and automatic reviews — but the mechanism is AGENTS.md, not an inline prompt parameter.
How to Customize Codex Reviews
Codex searches your repository for AGENTS.md files and follows any Review guidelines section you include. [Use Codex in GitHub]
You would add a section like this to your top-level AGENTS.md:
## Review guidelines
- Enforce strict domain/ ↔ infrastructure/ boundaries.
- Prevent domain/ from importing anything from infrastructure/.
- Verify domain purity (no fetch, Date.now(), process.env, console, etc. inside domain logic).
- No `any` types allowed.
- Explicit return types required for exported functions.
- Functional programming conventions preferred (immutability, avoiding for/while, etc.).
- Review comments must be written in Korean.
- Categorize findings into [Blocker], [Suggestion], or [Question].
- If there is at least one Blocker → Request Changes. Otherwise → Approve.
Codex applies guidance from the closest AGENTS.md to each changed file, so you can also place more specific instructions deeper in the directory tree for packages that need extra scrutiny. [Use Codex in GitHub]
One-Off Focus via Comment
For a one-off custom focus without editing AGENTS.md, you can append instructions directly to the @codex review comment:
@codex review for security regressions and domain boundary violations
However, this is limited to a short inline instruction, not a full structured prompt like your Claude example. [Use Codex in GitHub]
Important Limitation