codex

Execute Codex review, challenge, or consult modes on project changes.

46|13|Updated Jul 30, 2025
One-click install
npx skills add https://github.com/aimasteracc/tree-sitter-analyzer --skill codex-aimasteracc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/aimasteracc/tree-sitter-analyzer/tree/main/.claude/skills/codex
Command: npx skills add https://github.com/aimasteracc/tree-sitter-analyzer --skill codex-aimasteracc

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

  • Brutally honest second opinion on code changes via Codex CLI in review/challenge/consult modes.
  • Automatically detects diffs and plan files to offer the most relevant workflow.
  • Provides raw Codex outputs, gate verdicts, and telemetry-ready data for integration.

Quick Start

Start the Codex-based workflow by invoking the /codex skill with your project changes or plan, then choose a 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?

To get a second opinion on code changes, use the review mode to independently evaluate your diffs and return a pass/fail gate verdict. It automatically detects project changes to trigger the workflow.

What is adversarial code review and how does it challenge my code?

Adversarial code review is a challenge mode that attempts to break your code by identifying vulnerabilities and weaknesses. It returns raw reasoning traces and gate verdicts indicating whether the code survived the adversarial test.

Can I ask follow-up questions during a code review session?

Yes, you can ask follow-up questions during a code review session using the consult mode. This mode provides session continuity, allowing you to query anything about your code while maintaining context.

Does the Codex CLI wrapper support automatic diff detection?

Yes, the Codex CLI wrapper supports automatic diff detection by identifying the requested operation against current project changes. It automatically detects diffs and plan files to offer the most relevant workflow.

What is the best way to integrate AI code review results into my workflow?

The best way to integrate AI code review results is to use the raw verbatim output, including reasoning traces, gate verdicts, and token cost estimates. This telemetry-ready data is returned directly for integration into your pipeline.

When should I not use an AI assistant for code review?

You should not use an AI assistant for code review if you need modified or summarized outputs instead of raw verbatim traces. The tool returns exact Codex output, including reasoning and cost estimates, without filtering.