Skip to content
Back to skills

Claude Codex

ASecurity

Zero-touch dual-model build & parallel review pipeline: Claude plans, Codex builds, Claude+Codex review concurrently (Gemini never edits code). Use for `claude-codex` or "gọi claude codex"; not review-only (`claude-codex-review`).

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

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned December 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Claude Codex?

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

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

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
description: >-
  Zero-touch dual-model build & parallel review pipeline: Claude plans, Codex
  builds, Claude+Codex review concurrently (Gemini never edits code). Use for
  `claude-codex` or "gọi claude codex"; not review-only (`claude-codex-review`).
---

# Claude Plans → Codex Builds → Parallel Review v3 (`claude-codex`)

Engine: `$af = "$env:USERPROFILE\.gemini\config\ai-flow.ps1"` (fallback `"D:\ai-review-skills\scripts\ai-flow.ps1"`). **Gemini NEVER edits/creates/deletes project source files.**

## 1. Roles & Bindings
- **Gemini (YOU)**: Zero-touch context slicer (`map`, `slice-diff`, `pack`, `ledger-append`) and parallel launcher inside `.ai-workflow/`.
- **Claude (`ask-claude`)**: `-Profile brain` (`--tools=""` in Clean-CWD) or `-Profile review` (`--permission-mode plan --tools="Read,Grep,Glob"`).
- **Codex (`ask-codex`)**: Plugin/MCP-stripped `-Mode write` (`-s workspace-write -c "approval_policy='never'"`, replacing removed `--full-auto`) and `-Mode readonly`.
- *(PS 5.1 fallbacks: `cmd --% /d /s /c ""claude.exe" -p --tools="" --disable-slash-commands --strict-mcp-config --no-chrome --exclude-dynamic-system-prompt-sections --no-session-persistence --effort medium < in.md > out.md 2> err.log"`; `cmd --% /d /s /c ""codex.exe" exec -s workspace-write -c "approval_policy='never'" --ephemeral -c "mcp_servers={}" -c "plugins={}" -c "notify=[]" --disable plugins --disable apps --disable browser_use --disable computer_use --disable image_generation -o out.md - < in.md > log.txt 2> err.log"`)*.

## 2. Autonomous Workflow
1. **Phase 0 (Context & Map)**: Run `& $af -Action init` and `map -Targets <files>` (`REPO_MAP.md` + `TARGET_SLICE.md`; `ask-codex -Mode readonly -Effort low` scout only if `> 3` files have hidden cross-module dataflow). Write `.ai-workflow/CONTEXT_AND_PROMPT.md` (`## Conversation Context` + `## User Request (Verbatim)`).
2. **Phase 1 (Grounded 1-Call Plan)**: Pack `[Planner Rules: exact files, interfaces/contracts, edge cases, explicit DO-NOTs, ordered steps, verification commands] + [CONTEXT_AND_PROMPT.md] + [REPO_MAP.md + TARGET_SLICE.md]` → `& $af -Action ask-claude -Profile brain|review -InFile .ai-workflow/PLAN_IN.md -OutFile .ai-workflow/CLAUDE_PLAN.md` (`-Profile brain` when `truncated=False`, else `-Profile review`).
3. **Phase 2 (Pre-Sliced Codex Build)**: Pack `[CLAUDE_PLAN.md] + [CONTEXT_AND_PROMPT.md] + [REPO_MAP.md + TARGET_SLICE.md]` (eliminates 15+ exploratory shell turns) → `& $af -Action ask-codex -Mode write -Effort medium -InFile .ai-workflow/IMPL_IN.md -OutFile .ai-workflow/CODEX_IMPL_REPORT.md`.
4. **Phase 3 (Parallel Dual Review, `MAX_ROUNDS = 6`)**:
   - Run `slice-diff -Round $r` (`-FullCumulative` on final check) and `pack -Header "<Reviewer Rules: APPROVED_NO_ISSUES or JSONL {id,s,f,w,x}>" -SpecFile .ai-workflow/CLAUDE_PLAN.md -TailFile .ai-workflow/DIFF_SLICE.md -OutFile .ai-workflow/REVIEW_IN.md`.
   - Launch handle-safe UTF-8 parallel review: `& $af -Action parallel-review -Profile review -InFile .ai-workflow/REVIEW_IN.md -ClaudeOutFile .ai-workflow/CLAUDE_REVIEW.md -CodexOutFile .ai-workflow/CODEX_REVIEW.md`.
   - If **BOTH** emit `APPROVED_NO_ISSUES` (verified on `-FullCumulative` if `r >= 2` used delta) → write `PROJECT_COMPLETE` in `STATE.md` and report!
   - Otherwise `ledger-append` deduplicated items, pack `CLAUDE_PLAN.md + ISSUES_LEDGER.md + reviews`, run `ask-codex -Mode write`, and repeat (fail-fast to `STATE.md` on quota/auth error or deadlock).

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.