codex-review
Codex code review closeout: local dirty changes, PR branch vs main, parallel tests.
Skill by P1R4N351
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/p1r4n351-codex-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.
About
Use cases: agent-building
Reviews
Write a reviewNo 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-review
What's inside
- Skill name
codex-review- Description
- Codex code review closeout: local dirty changes, PR branch vs main, parallel tests.
- License
- MIT
- Instructions
- 127 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (2)
- SKILL.md
- codex-review · scripts/
SKILL.md (first lines)
# Codex Review Run Codex's built-in code review as a closeout check. This is code review (`codex review`), not Guardian `auto_review` approval routing. Use when: - user asks for Codex review / autoreview / second-model review - after non-trivial code edits, before final/commit/ship - reviewing a local branch or PR branch after fixes ## Contract - Treat review output as advisory. Never blindly apply it. - Verify every finding by reading the real code path and adjacent files. - Read dependency docs/source/types when the finding depends on external behavior. - Reject unrealistic edge cases, speculative risks, broad rewrites, and fixes that over-complicate the codebase. - Prefer small fixes at the right ownership boundary; no refactor unless it clearly improves the bug class. - Keep going until Codex review returns no accepted/actionable findings. - If a review-triggered fix changes code, rerun focused tests and rerun Codex review. - Never switch or override the review model. If the review hits model capacity, retry the same command a few times with the same model. The helper runs nested review in yolo/full-access mode by default; use `--no-yolo` only when intentionally testing sandbox behavior. - Stop as soon as the review command/helper exits 0 with no accepted/actionable findings. Do not run an extra direct `codex review` just to get a nicer "clean" line, a second opinion, or clearer closeout wording. - Treat the helper's successful exit plus absence of actionable findings as the clean review result, even if the underlying Codex CLI output is terse. - If rejecting a finding as intentional/not worth fixing, add a brief inline code comment only when it explains a real invariant or ownership decision that future reviewers should know. - Do not push just to review. Push only when the user requested push/ship/PR update. ## Pick Target Dirty local work: ```bash codex review --uncommitted ``` Use this only when the patch is actually unstaged/staged/untracked in the current checkout. For committed, pushed, or PR work, point Codex at the commit or branch diff instead; do not force `--mode local` / `--uncommitted` just because the helper docs mention dirty work first. A clean `--uncommitted` review only proves there is no local patch. Branch/PR work: ```bash git fetch origin codex review --base origin/main ``` Do not pass an inline prompt with `--base`; current CLI rejects `--base` + `[PROMPT]` even though help text is ambiguous. If custom instructions are needed, run the plain base review first, then do a local/manual follow-up pass. If an open PR exists, use its actual base: ```bash base=$(gh pr view --json baseRefName --jq .baseRefName) codex review --base "origin/$base" ``` Committed single change: ```bash codex review --commit HEAD ``` or with the helper: ```bash /Users/steipete/Projects/agent-scripts/skills/codex-review/scripts/codex-review --mode commit --commit HEAD ``` Use commit review for already-landed or already-pushed work on `main`. Reviewing clean `main` against `origin/main` is usually an empty diff after push. For a small stack, review each commit explicitly or review the branch before merging with `--base`. ## Parallel Closeout Format first if formatting can change line locations. Then it is OK to run tests and review in parallel: ```bash scripts/codex-review --parallel-tests "<focused test command>" ``` Tradeoff: tests may force code changes that stale the review. If tests or review lead to code edits, rerun the affected tests and rerun review until no accepted/actionable findings remain. Once that rerun exits cleanly, stop; do not spend another long review cycle on redundant confirmation. ## Context Efficiency Codex review is usually noisy. Default to a subagent filter when subagents are available. Ask it to run the review and return only: - actionable findings it accepts - findings it rejects, with one-line reason - exact files/tests to rerun Run inline only for tiny changes or when subagents are unavailable. ## Helper Bundled helper: ```bash ~/.codex/skills/codex-review/scripts/codex-review --help ``` If installed from `agent-scripts`, path is: ```bash /Users/steipete/Projects/agent-scripts/skills/codex-review/scripts/codex-review --help ``` The helper: - chooses dirty `--uncommitted` first - otherwise uses current PR base if `gh pr view` works - otherwise uses `origin/main` for non-main branches - use `--mode commit --commit <ref>` for already-committed work, especially clean `main` after landing - should be left in `--mode auto` or forced to `--mode branch` for PR/branch work; do not force `--mode local` after committing - writes only to stdout unless `--output` or `CODEX_REVIEW_OUTPUT` is set - supports `--dry-run`, `--parallel-tests`, and commit refs - runs nested review with `--dangerously-bypass-approvals-and-sandbox` by default - keeps accepting `--full-access`; use `--no-yolo` or `CODEX_REVIEW_YOLO=0` to opt out - prints `codex-review clean: no accepted/actionable findings reported` when the selected review command exits 0 ## Final Report Include:
From P1R4N351/astroclaw, MIT.
More from P1R4N351/astroclaw
- 0.476score
astroclaw-release-ci
P1R4N351
Run, watch, debug, and summarize Astroclaw full release CI, release checks, live provider gates, install/update proofs, and release-secret preflights.
SkillCFreshness: CClaude Code +9 - 0.476score
astroclaw-pr-maintainer
P1R4N351
Use immediately for any pasted Astroclaw GitHub issue or PR URL/number, and for Astroclaw issue/PR review, triage, duplicate search, opener identity/who wrote…
SkillCFreshness: CClaude Code +9 - 0.471score
clawsweeper
P1R4N351
Use for all ClawSweeper work: Astroclaw issue/PR sweep reports, commit-review reports, repair jobs, cloud fix PRs, @clawsweeper maintainer mention commands…
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-debugging
P1R4N351
Debug Astroclaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before…
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-pre-release-plugin-testing
P1R4N351
Plan and run pre-release Astroclaw plugin validation across bundled plugins, package artifacts, lifecycle commands, doctor/fix, config round-trip, gateway…
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-test-performance
P1R4N351
Benchmark, diagnose, and optimize Astroclaw test and plugin-suite runtime, import hotspots, CPU/RSS, heap growth, and slow coverage paths.
SkillCFreshness: CClaude Code +9 - 0.471score
clawdtributor
P1R4N351
Use for Astroclaw clawtributors PR/issue triage: Discrawl discovery, live-open rechecks, deep review, topic grouping, and compact…
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-test-heap-leaks
P1R4N351
Investigate Astroclaw pnpm test memory growth, Vitest OOMs, RSS spikes, and heap snapshot deltas.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-docs
P1R4N351
Write or review high-quality Astroclaw developer documentation.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-ghsa-maintainer
P1R4N351
Inspect, patch, validate, publish, or confirm Astroclaw GHSA security advisories and private-fork state.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-parallels-smoke
P1R4N351
Run, rerun, debug, or interpret Astroclaw Parallels install, onboarding, gateway smoke, and upgrade checks.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-refactor-docs
P1R4N351
Refactor an existing Astroclaw docs page with source-audited preservation, restructuring, and verification.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 16, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/P1R4N351/astroclaw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from P1R4N351
- 0.476score
astroclaw-release-ci
P1R4N351
Run, watch, debug, and summarize Astroclaw full release CI, release checks, live provider gates, install/update proofs, and release-secret preflights.
SkillCFreshness: CClaude Code +9 - 0.476score
astroclaw-pr-maintainer
P1R4N351
Use immediately for any pasted Astroclaw GitHub issue or PR URL/number, and for Astroclaw issue/PR review, triage, duplicate search, opener identity/who wrote…
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-pre-release-plugin-testing
P1R4N351
Plan and run pre-release Astroclaw plugin validation across bundled plugins, package artifacts, lifecycle commands, doctor/fix, config round-trip, gateway…
SkillCFreshness: CClaude Code +9 - 0.471score
clawdtributor
P1R4N351
Use for Astroclaw clawtributors PR/issue triage: Discrawl discovery, live-open rechecks, deep review, topic grouping, and compact…
SkillCFreshness: CClaude Code +9 - 0.471score
clawsweeper
P1R4N351
Use for all ClawSweeper work: Astroclaw issue/PR sweep reports, commit-review reports, repair jobs, cloud fix PRs, @clawsweeper maintainer mention commands…
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-test-performance
P1R4N351
Benchmark, diagnose, and optimize Astroclaw test and plugin-suite runtime, import hotspots, CPU/RSS, heap growth, and slow coverage paths.
SkillCFreshness: CClaude Code +9
Cite this page
codex-review skill. Agent Mart. https://agentmart.dev/skills/p1r4n351-codex-review (last updated 2026-10-24)