codex

Review code diffs via Codex CLI with review, challenge, and consult modes.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/mgher668/surf-ai --skill codex-mgher668
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/mgher668/surf-ai/tree/main/.agents/skills/gstack/codex
Command: npx skills add https://github.com/mgher668/surf-ai --skill codex-mgher668

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide an independent, brutally honest second opinion on code changes and diffs by querying the Codex CLI.

Core Features & Use Cases

  • Three modes: Review for code quality gates, Challenge for adversarial testing, and Consult to ask Codex anything with session continuity.
  • Works with diffs against the base branch, enabling rapid, objective critique and validation of changes.
  • Produces actionable feedback that helps engineers improve designs, reduce risk, and tighten code quality.

Quick Start

Install the Codex CLI and run the /codex command to get a second opinion on your changes.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I get a brutally honest code review on my git diffs?

To get a brutally honest code review, query the Codex CLI to validate diffs and surface edge cases. It analyzes changes against the base branch to push for higher code quality with precise feedback.

Can I use an adversarial testing approach to validate code changes?

Yes, you can use adversarial testing to validate code changes by running the challenge mode. This mode actively critiques modifications to expose design flaws and reduce deployment risk.

What is the best way to ask Codex CLI questions while keeping session continuity?

The best way to ask Codex CLI questions with session continuity is to use the consult mode. It maintains context across interactions to provide consistent, actionable guidance.

Does the Codex CLI workflow support objective critique of code quality gates?

Yes, the Codex CLI workflow supports objective critique of code quality gates through its review mode. It evaluates changes against the base branch to ensure tighter code quality and actionable next steps.

Do I need to install the Codex CLI before running code review commands?

Yes, you need to install the Codex CLI before running code review commands. Once installed, execute the designated command to get an independent second opinion on your code changes.