Skip to content
Back to skills

Claude Codex Review

ASecurity

Parallel dual-reviewer code review & fix loop: read-only Claude CLI + Codex CLI audit while Antigravity fixes and verifies. Use for `claude-codex-review` or strict dual review with Claude and Codex; not feature builds (`claude-codex`).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgit

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add hothiennhan021/ai-review-skills --skill claude-codex-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude Codex Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claude Codex Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hothiennhan021-claude-codex-review/badge)](https://www.skillsdirectory.com/skills/hothiennhan021-claude-codex-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: claude-codex-review
description: >-
  Parallel dual-reviewer code review & fix loop: read-only Claude CLI + Codex
  CLI audit while Antigravity fixes and verifies. Use for `claude-codex-review`
  or strict dual review with Claude and Codex; not feature builds
  (`claude-codex`).
---

# Claude + Codex Dual-Reviewer Loop v3 (`claude-codex-review`)

Engine: `$af = "$env:USERPROFILE\.gemini\config\ai-flow.ps1"` (fallback `"D:\ai-review-skills\scripts\ai-flow.ps1"`).

## 1. Core Mechanics (`MAX_CODEX_ROUNDS = 8`)
- **`parallel-review`**: Runs UTF-8 No-BOM `claude.exe` (`--permission-mode plan --tools="Read,Grep,Glob"` or `--tools=""` in Clean-CWD) and plugin-stripped `codex.exe` (`exec -s read-only`) simultaneously (~50% faster R1).
- **4-Scope Secret-Safe Slicing (`slice-diff`)**: Uncommitted, `-Base <branch>`, `-Commit <sha>` (ancestor-safe), or ahead-of-default; excludes `.env*` secrets from `.git/objects/`.
- **Static-Prefix + JSONL**: `[Reviewer Contract] -> [EOF ISSUES_LEDGER.md] -> [DIFF_SLICE.md]`; emit `APPROVED_NO_ISSUES` or JSONL `{"id":"F-01","s":"P0","f":"path:line","w":"trace","x":"fix"}`.
- *(PS 5.1 fallbacks: `cmd --% /d /s /c ""claude.exe" -p --permission-mode plan --tools="Read,Grep,Glob" --disable-slash-commands --strict-mcp-config --no-chrome --exclude-dynamic-system-prompt-sections --no-session-persistence --effort medium < in.md > c.md 2> c.err"` + `cmd --% /d /s /c ""codex.exe" exec -s read-only --ephemeral -c "mcp_servers={}" -c "plugins={}" -c "notify=[]" --disable plugins --disable apps --disable browser_use --disable computer_use --disable image_generation -o x.md - < in.md > log.txt 2> x.err"`)*.

## 2. Autonomous Workflow
1. **Phase 1 (Parallel Council)**:
   - Run `& $af -Action init`, `slice-diff -Round 1 [-Base $b] [-Commit $c]` (stop if `(no changes)`), `pack`, and `& $af -Action parallel-review -Profile review -InFile .ai-workflow/PROMPT_PACK.md -ClaudeOutFile .ai-workflow/CLAUDE_R1.md -CodexOutFile .ai-workflow/CODEX_R1.md`.
   - If **BOTH** emit `APPROVED_NO_ISSUES` → done!
   - Deduplicate valid `[P0]`–`[P2]` items (`ledger-append`), batch-fix, and run `& $af -Action verify -CommandLine "<cmd>"`.
   - **Fast `[P2]`-Only Collapse**: If Phase 1 found **only `[P2]` nits** and fix diff `<= 15` lines, run **1 `low`-effort check** (`slice-diff -FullCumulative` → `ask-codex -Mode readonly -Effort low`) and finish!
2. **Phase 2 (Codex Loop, `r = 2..8`)**: `slice-diff -Round $r` + `pack` → `ask-codex -Mode readonly`. Exit to Phase 3 on `APPROVED_NO_ISSUES`; else `ledger-append` (`FIXED`/`REJECTED`), batch-fix, and `-Action verify`.
3. **Phase 3 (Claude Sign-Off)**: `slice-diff -FullCumulative` + `pack` → `ask-claude -Profile brain|review` (`-Profile brain` when diff + callers are self-contained, `-Profile review` whenever surrounding file lines outside `-U5` hunks need verification). Apply at most 1 final local fix + `verify` (fail-fast on quota/auth error or `A → B → A`).

**Report**: Phase 1 Council findings, Phase 2 rounds, Phase 3 sign-off, rejections, and passing checks.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.