One-click install
npx skills add https://github.com/zhifengzhang-sz/divine-book --skill codex-zhifengzhang-sz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/zhifengzhang-sz/divine-book/tree/main/.claude/skills/gstack/codex
Command: npx skills add https://github.com/zhifengzhang-sz/divine-book --skill codex-zhifengzhang-sz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Codex CLI wrapper gives developers an independent, brutally honest second opinion on code changes by leveraging the Codex CLI in three modes: review, challenge, and consult. It helps catch edge cases, surface design flaws, and validate tradeoffs without contaminating your main workflow.

Core Features & Use Cases

  • Review mode: independent diff review with a pass/fail gate for quick quality checks.
  • Challenge mode: adversarial prompts that attempt to break the change and surface weaknesses.
  • Consult mode: ask Codex questions with session continuity to clarify design decisions or get second opinions.
  • Use Case: You’re about to merge a large refactor; run review for automated checks, challenge for robustness, and consult for governance questions in one flow.

Quick Start

Ask Codex to review your latest changes using the review mode.

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 changes before merging?

To get a second opinion on code changes, use review mode for automated diff checks, challenge mode for adversarial testing to surface weaknesses, and consult mode for ongoing Q&A with session continuity.

How does adversarial testing work for code review?

Adversarial testing works via challenge mode, which generates prompts that attempt to break the change and surface weaknesses, catching edge cases and validating tradeoffs without contaminating your main workflow.

Can I use Codex CLI to review code within my repository context?

Yes, the Codex CLI wrapper operates within your repository context to perform deterministic checks and provide structured feedback on your code changes.

Do I need the Codex binary installed to run automated code reviews?

Yes, you need the Codex binary installed because the wrapper requires it to execute the independent code reviews, adversarial challenges, and consultation queries.

What is the best way to validate tradeoffs in a large refactor?

The best way to validate tradeoffs in a large refactor is to run review mode for automated checks, challenge mode for robustness, and consult mode for governance questions in one continuous flow.

Why does consult mode keep session continuity for design decisions?

Consult mode keeps session continuity for design decisions to allow ongoing Q&A that clarifies architectural tradeoffs and provides structured feedback without losing context between queries.