with one click
pr-review
Initiate autonomous PR review process with Codex agent
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Initiate autonomous PR review process with Codex agent
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Process autonomous task queue from do-work/ folder
Enter plan mode for complex tasks (pour energy into the plan for 1-shot implementation)
Run comprehensive repo assessment with Codex (every 3 PRs)
Comprehensive security audit covering 10 threat categories
Install all automation for a new repo (git hooks + GitHub Actions)
Automated PR submission - runs pre-checks, creates PR, and starts review
| name | pr-review |
| description | Initiate autonomous PR review process with Codex agent |
Created: 2026-02-09-00-00 Last Updated: 2026-02-26-00-00
This command automates the multi-agent PR review process between Codex and Codex.
Before starting the review:
Verify code assessment completed
Verify documentation updated
Get PR number
gh pr list --head $(git branch --show-current)
If checklist incomplete, stop and complete it first.
PR review = running codex exec --full-auto locally (this skill).
Do NOT treat GitHub PR comments from bots (e.g., chatgpt-codex-connector) as the PR review.
Those are legacy artifacts from a removed integration — completely unrelated to this process.
Similarly, the codex-commit-reviews.log (post-commit hook) is a commit-level log, not a PR review.
The only valid Codex review is the codex exec output from Step 2 below.
Run Codex directly — no separate terminal needed:
codex exec --full-auto "You are an expert in reviewing code for bugs, usability, and merge suitability. An agent has just performed work in this repo and submitted PR {PR_NUMBER}. Please use GitHub CLI to review this PR and assess its suitability to be merged into the branch it came from or to main. You are connected directly to the agent so speak directly to it. Your only responsibility is to find and report issues so you should not offer to perform any coding on behalf of the agent. If the code is allowed to be merged please say so. The other agent will only proceed with merging the code if you explicitly tell it to merge and where to merge it." 2>&1
Replace {PR_NUMBER} with actual PR number from Step 1. Capture the full output.
Tell the user:
A review agent completed its pass. I will now critically assess the feedback and make changes as needed. I will only merge when explicitly told the PR can be merged and where to merge it.
Then review the Codex output and:
If you made changes based on Codex feedback, run another Codex pass:
codex exec --full-auto "The other agent made updates based on your feedback and shared the following comments. Please evaluate if the code actually resolves the issues you shared. The other agent also shared the below comments which may provide context on their decisions. If the code is allowed to be merged please say so. The other agent will only proceed with merging the code if you explicitly tell it to merge and where to merge it. Response: {your complete response explaining changes}" 2>&1
Repeat Steps 3-4 until Codex explicitly approves merge with destination.
When Codex explicitly approves:
gh pr merge {PR_NUMBER} --squash # GitHub ruleset enforces squash-only merges
After merge, return to the roadmap/priorities and continue with next feature.
/submit-pr is the full workflow: techdebt → pre-check → create PR → this skill (review loop).
Use /submit-pr when starting from scratch. Use /pr-review directly when a PR already exists and just needs review.
This process can be enhanced with: