codex

Orchestrates the OpenAI Codex CLI to review, challenge, and consult on code changes.

1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/shhubbh/flowstate --skill codex-shhubbh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/shhubbh/flowstate/tree/main/.claude/skills/gstack/codex
Command: npx skills add https://github.com/shhubbh/flowstate --skill codex-shhubbh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenAI Codex CLI is powerful, but teams often need an independent, blunt critique of their code changes or prompts. This Skill wraps Codex to provide a second opinion that challenges assumptions, surfaces edge cases, and helps prevent shipping fragile or risky changes.

Core Features & Use Cases

  • Three modes: Review for independent diff review with pass/fail gates, Challenge for adversarial testing, Consult for ask-anything with session continuity.
  • Brutal, objective critique: Delivers direct feedback that helps you tighten logic, improve prompts, and catch corner cases before shipping.
  • Session-aware workflow: Maintains context across follow-ups to build a coherent critique over time.

Quick Start

Run the codex CLI in one of the modes (review, challenge, or consult) to get a brutal second opinion on your code, diff, or prompt.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I get an AI second opinion on a code diff?

To get an AI second opinion on a code diff, use a CLI wrapper that orchestrates the OpenAI Codex CLI in review mode to independently evaluate your changes with pass/fail gates. This surfaces edge cases before shipping.

What is adversarial code review and how does it improve code quality?

Adversarial code review challenges assumptions by applying direct critique to your logic. It surfaces corner cases and tightens prompts to prevent shipping fragile changes during development.

Can I use Codex CLI to debug and strengthen my AI prompts?

Yes, you can use Codex CLI in consult mode to debug and strengthen prompts. It provides ask-anything functionality with session continuity to build a coherent critique over time.

Does the Codex CLI wrapper maintain context across follow-up questions?

Yes, the Codex CLI wrapper maintains context across follow-up questions. It uses a session-aware workflow to ensure continuity while building a critique of your code or prompts.

What is the best way to run a security check on code changes before shipping?

The best way to run a security check on code changes is using a CLI wrapper in challenge mode to adversarially test your code, catching risky modifications before deployment.