git-pr-codex-loop

git-pr-codex-loop is a skill for Claude Code from charlesjones-dev/claude-code-plugins-dev. It costs 75 tokens per session (1,815 once invoked), scanned A, original, MIT.

A workflow for opening a GitHub pull request and repeatedly sending it to Codex Code Review, an automated review bot. It handles review findings and asks for another review until the pass is clean, but leaves merging to a person.

In plain words
What is it for?
Taking a ready feature branch through pull-request creation, automated review, fixing reported issues, replying to findings, and requesting another review.
Why use it?
It keeps review fixes and follow-up requests in one process, reducing the chance that findings are missed before a change is merged.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Part of the ai-git plugin — 4 skills shipped together

Good fit Taking a ready feature branch through pull-request creation, automated review, fixing reported issues, replying to findings, and requesting another review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charlesjones-dev/claude-code-plugins-dev/git-pr-codex-loop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add charlesjones-dev/claude-code-plugins-dev --skill git-pr-codex-loop
Clone the repo
git clone --depth 1 https://github.com/charlesjones-dev/claude-code-plugins-dev

Made for: Claude Code.

Or install ai-git, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-pr-codex-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/git-pr-codex-loop/github.svg)](https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/git-pr-codex-loop)
Your own site
<a href="https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/git-pr-codex-loop"><img src="https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/git-pr-codex-loop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-pr-codex-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/git-pr-codex-loop"><img src="https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/git-pr-codex-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,815 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.01815
Opus 5.5 $0.00030 $0.00726
Sonnet 5.5 $0.00015 $0.00363
Haiku 4.5 $0.00007 $0.00181

Measured 1mo ago against content hash 0e2271fc1244, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-pr-codex-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ai-git/skills/git-pr-codex-loop/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/git-pr-codex-loop - Codex Code Review loop

Positioning: Claude Code's native /code-review command (with --fix, --comment, and the cloud "ultra" mode) now covers automated review-and-fix loops natively, with no external dependencies. This skill is specifically for repositories standardized on OpenAI's Codex Code Review bot, and remains the right tool for that cross-tool workflow.

You drive the current branch's pull request through Codex Code Review until the review is clean. The human makes the final merge decision; you never merge.

Prerequisites

  • The GitHub CLI (gh) is installed and authenticated (gh auth login).
  • Codex Code Review is enabled for the repository in Codex settings. With Automatic reviews on, Codex reviews every new PR; otherwise you trigger a review manually with @codex review. Reviews post as the Codex bot (chatgpt-codex-connector).
  • Codex applies a ## Review guidelines section from your repo's AGENTS.md when present, so project-specific review rules are honored automatically.

Process

Step 1: Open or find the PR

  1. Get the current branch: git branch --show-current. If it is main or master, stop and tell the user to switch to a feature branch.
  2. Look for an existing PR: gh pr view --json number,url,state 2>/dev/null. If none exists, push the branch (git push -u origin HEAD) and open one with gh pr create --fill (write a real title/description if the change warrants it). Match the PR attribution style used by the git-commit-push-pr skill.
  3. Capture the PR number and URL for the rest of the run.

Step 2: Monitor CI

Watch checks with gh pr checks --watch. If any check fails, fix the cause, commit, push, and watch again. Do not continue while checks are red — Codex reviewing a non-compiling PR is wasted.

Step 3: Monitor for the Codex review

When a review is requested — automatically on PR open, or by your @codex review reply — Codex first acknowledges with a 👀 (eyes) reaction on the triggering post, then works. The 👀 means "received the request," not "done" — do not act on it. Poll for the real outcome with gh pr view --comments, the review-thread query below, and the reactions check below.

Read the full file on GitHub · 161 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 161 lines · 75 tokens per session scan A 0e2271fc1244

Subscribe to this mod's changes

git-pr-codex-loop is a skill published in the GitHub repository charlesjones-dev/claude-code-plugins-dev (35 stars, last pushed 6d ago), licensed MIT. It adds 75 tokens to every session and 1,815 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pr

Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.

Yeachan-Heo/oh-my-claudecode · 47 tokens

otto-pr-review-loop

Run Polly and OCR on a PR until all findings settle.

omnigent-ai/omnigent · 17 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

A step-by-step guide for contributing code, tests, documentation, or build changes to open-source projects you do not maintain. It explains how to prepare a pull request that follows the project’s rules and is easier for maintainers to review.

daymade/claude-code-skills · 105 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens