gh-pr-codex-review-loop
Installation
SKILL.md
GH PR Codex Review Loop
Overview
Use this skill to drive a current-branch PR review loop with gh and GITHUB_BOT_TOKEN. Run one blocking script that polls the PR every 60 seconds. chatgpt-codex-connector[bot] +1 means pass. eyes means Codex is still reviewing, so keep waiting. The script exits only in two cases: +1 is present, or actionable review feedback is present and needs handling.
Requirements
- Run inside the git worktree for the PR branch.
- Require
ghonPATH. - Require
nodeonPATH. - Require
GITHUB_BOT_TOKENto be set and authorized for the repository. - This skill uses its own bundled script. Do not look for a repo-local
scripts/pr-review-loop.mjs. - This skill does not depend on any repository preset, workflow preset, or repo-local entry script.
- Run all
ghreads and writes withGH_TOKEN="$GITHUB_BOT_TOKEN". - Before any GitHub write, bot-authored commit, or push, invoke
$git-github-write-as-botif that skill is available. - Do not configure poll interval or timeout for this skill. Use the built-in defaults: 60-second polling and no timeout.
- Do not ask the skill for status updates while it is running. Start the loop and wait for it to finish.