codex

Wrap the Codex CLI for code review, adversarial testing, and consult workflows.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/onlypfachi/chief --skill codex-onlypfachi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/onlypfachi/chief/tree/main/codex
Command: npx skills add https://github.com/onlypfachi/chief --skill codex-onlypfachi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codex CLI wrapper provides a structured, automated way to interact with Codex for code review, adversarial testing, and on-demand Q&A, giving developers a faster, independent second opinion on changes and ideas.

Core Features & Use Cases

  • Review mode: runs codex review against the current branch diff to gate quality before merging.
  • Challenge mode: activates adversarial testing to uncover edge cases, failures, and security holes.
  • Consult mode with session continuity: allows asking Codex questions and continuing conversations across prompts.

Quick Start

Invoke the skill by running /codex and specify review, challenge, or consult to get an independent Codex evaluation 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 automate code review on my current branch diff before merging?

Automated code review on your branch diff is performed by running the review mode, which evaluates uncommitted changes against the base branch to gate quality before merging. This provides an independent, brutally honest second opinion on your code.

What is adversarial testing for uncovering security holes and edge cases in code?

Adversarial testing in code review is a mechanism that actively challenges your changes to uncover hidden edge cases, potential failures, and security holes. It operates by running an independent evaluation against your current branch diff.

Do I need Codex CLI and network access to run an independent code review?

Yes, you need Codex CLI availability and network access to run an independent code review. The skill wraps the Codex CLI to execute its review, challenge, and consult workflows.

Can I ask questions and maintain session continuity across multiple prompts?

Yes, you can ask questions and maintain session continuity across multiple prompts. The consult mode enables continuous Q&A sessions, allowing you to gather insights and continue conversations without losing context.

What's the best way to get a brutally honest second opinion on code changes?

The best way to get a brutally honest second opinion on code changes is to invoke a structured workflow that analyzes your diffs and challenges your logic. This approach exposes edge cases and security holes through independent evaluation.

Are there limitations when using an AI assistant for adversarial code testing?

Limitations of using an AI assistant for adversarial code testing include the strict requirement for active network access and the Codex CLI. Without these dependencies, the automated review and challenge workflows cannot execute.