codex-review

Automate Codex code-review gates by generating the trail/dod/.codex-reviewed stamp.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/JayJihyunKim/rein --skill codex-review-jayjihyunkim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-review
Source: https://github.com/JayJihyunKim/rein/tree/main/plugins/rein-core/skills/codex-review
Command: npx skills add https://github.com/JayJihyunKim/rein --skill codex-review-jayjihyunkim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the Codex code-review gate by generating the trail/dod/.codex-reviewed stamp, ensuring that the stamp is present before commits and tests pass through pre-bash-guard checks.

Core Features & Use Cases

  • Generates trail/dod/.codex-reviewed on PASS to gate code commits and tests.
  • Supports interactive and non-interactive review modes, same-cycle resume, and a separate path for spec reviews.
  • Provides escalation and fallback options (Sonnet fallback) and clearly separates spec-review flow to prevent gate contamination.

Quick Start

Start a code-review session with the Codex wrapper by invoking the script at scripts/rein-codex-review.sh.

Frequently Asked Questions about codex-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a code-review gate to block commits before a stamp is present?

Automating a code-review gate involves generating a stamp like trail/dod/.codex-reviewed and enforcing pre-bash-guard checks. This skill automates that workflow, ensuring commits and tests are blocked until the review stamp is created on PASS.

How do I resume an interrupted code-review session within the same cycle?

Resuming a code-review session within the same cycle is supported natively by this skill. It handles same-cycle resume functionality for both interactive and non-interactive review modes, preserving gate semantics throughout the process.

Can I use Sonnet as a fallback when a code review times out or fails?

Sonnet fallback is supported for code review escalation and timeout handling. When the primary review process encounters issues, the skill provides escalation options and triggers the Sonnet fallback to maintain workflow continuity.

How do I separate spec reviews from code reviews to prevent gate contamination?

Preventing gate contamination requires a dedicated spec-review pathway. This skill clearly separates the spec-review flow from the standard code-review gate, ensuring that specification evaluations do not interfere with commit validation semantics.

What metadata does an automated code-review stamp record when a review passes?

The code-review stamp records metadata fields including reviewer, timestamp, cycle, scope, files_reviewed, and review_round. This metadata is generated on PASS and stored in the trail/dod/.codex-reviewed stamp for audit purposes.