Skip to content
Agentmart
Submit a tool

codex-pr-closeout-review

Run a Codex-native, read-only structured closeout review for a local branch, PR diff, dirty patch, or commit before merge or ship.

Skill by neonwatty

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/neonwatty-codex-pr-closeout-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Run a Codex-native, read-only structured closeout review for a local branch, PR diff, dirty patch, or commit before merge or ship. Use when the user asks for PR review, branch closeout, final review, autoreview, or after non-trivial code edits.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/codex-pr-closeout-review

What's inside

Skill name
codex-pr-closeout-review
Description
Run a Codex-native, read-only structured closeout review for a local branch, PR diff, dirty patch, or commit before merge or ship. Use when the user asks for PR review, branch closeout, final review, autoreview, or after non-trivial code edits.
License
MIT
Instructions
69 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • codex-pr-review · scripts/

SKILL.md (first lines)

# Codex PR Closeout Review

Run the bundled helper as a closeout gate, not as permission to broaden the task.

## Contract

- Freeze scope before review: original request, target base, intended behavior, owner boundary, changed files, and rough non-test LOC.
- Review only the selected diff bundle.
- Treat review output as advisory; verify every finding in the real code before patching.
- Accept only findings introduced or exposed by the current diff and fixable inside the original task boundary.
- Classify broader design, cleanup, hardening, or adjacent-surface issues as follow-up.
- Stop and report scope breakage when the best fix requires a new public API, migration, protocol, storage contract, release-process change, or owner-boundary move.
- Prefer end-to-end proof over isolated unit proof when getting code ready for PR or reviewing a PR. Unit tests are useful for tight logic, but closeout confidence should come from the smallest realistic workflow that exercises the changed behavior.
- If review-triggered edits change code, rerun focused proof and rerun this helper.
- Stop after one clean structured review. Do not rerun just for nicer wording.

## Commands

Use the skill-local helper:

```bash
skills/codex-pr-closeout-review/scripts/codex-pr-review --mode branch --base origin/main
```

For dirty local work:

```bash
skills/codex-pr-closeout-review/scripts/codex-pr-review --mode local
```

For an already-committed change:

```bash
skills/codex-pr-closeout-review/scripts/codex-pr-review --mode commit --commit HEAD
```

Run focused proof in parallel only after formatting is stable:

```bash
skills/codex-pr-closeout-review/scripts/codex-pr-review \
  --mode branch --base origin/main \
  --parallel-tests "python3 scripts/validate-release.py"
```

Optional context must be repo-relative:

```bash
skills/codex-pr-closeout-review/scripts/codex-pr-review \
  --mode branch --base origin/main \
  --prompt-file review-notes.md \
  --evidence proof/summary.json
```

## Helper Behavior

- Builds one sanitized git bundle with safe git diff flags.
- Runs one Codex review in read-only mode with structured JSON output.
- Keeps web search off unless the caller passes `--web-search`.
- Rejects evidence paths that are absolute, escape the repo, point through symlinks, look sensitive, or contain secret-like values.
- Filters findings outside the reviewed changed files.
- Writes only requested output files plus normal stdout/stderr.
- Fails the Codex engine path cleanly if the model call exceeds `--timeout-seconds`.
- Exits `0` for clean review, `1` for actionable findings or incorrect verdict, `2` for parallel proof failure, `3` for unsafe input or target setup failure, and `4` for Codex/JSON/schema failure.

## Final Report

Include the review command, proof command, accepted findings and fixes, rejected or follow-up findings with rationale, and the final clean helper result or the conscious reason a remaining finding was not fixed.

From neonwatty/apple-agent-kit, MIT.

More from neonwatty/apple-agent-kit

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jun 28, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from neonwatty

Cite this page

codex-pr-closeout-review skill. Agent Mart. https://agentmart.dev/skills/neonwatty-codex-pr-closeout-review (last updated 2026-10-24)