codex

Review code diffs via OpenAI Codex CLI with pass/fail verdicts.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Intension-us/attention-diagnostic --skill codex-intension-us
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/Intension-us/attention-diagnostic/tree/main/.claude/skills/gstack/codex
Command: npx skills add https://github.com/Intension-us/attention-diagnostic --skill codex-intension-us

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenAI Codex CLI wrapper — three modes. Code review: independent diff review via codex review with pass/fail gate. Challenge: adversarial mode that tries to break your code. Consult: ask codex anything with session continuity for follow-ups.

Core Features & Use Cases

  • Independent second opinion on code changes and diffs using Codex CLI.
  • Supports review, challenge, and consult modes with session continuity and telemetry.
  • Enforces project context and safety boundaries with a strict prompt boundary and lifecycle hooks.

Quick Start

Invoke /codex review to get an independent second opinion on your latest diff.

Frequently Asked Questions about codex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get an independent second opinion on my code diff?

To get an independent second opinion on a code diff, invoke the codex review mode to analyze changes and return a pass/fail verdict. It operates as a strict, adversarial code review gate using the OpenAI Codex CLI.

What is adversarial code review and how does it work?

Adversarial code review is a challenge mode that actively tries to break your code logic and find edge cases. It operates by analyzing your diff or prompt against project context to return a precise verdict and cost estimate.

Can I ask follow-up questions after an initial code review?

Yes, you can ask follow-up questions using consult mode. It provides session continuity, allowing you to ask the codex anything with context preserved from previous interactions while enforcing strict safety boundaries.

Does the codex CLI wrapper enforce filesystem boundaries during code analysis?

Yes, the codex CLI wrapper enforces filesystem boundaries during code analysis. It reads project context safely by applying a strict prompt boundary and telemetry hooks to preserve system security.

What are the limitations of using an automated code review gate?

Limitations of using an automated code review gate include relying entirely on the OpenAI Codex CLI's understanding of your project context. While it provides brutally honest verdicts, complex architectural flaws may exceed its diff analysis scope.