codex-advisor

Invoke OpenAI Codex MCP for second-opinion code review with categorized feedback.

8|2|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/cuipengfei/prompts --skill codex-advisor-cuipengfei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-advisor
Source: https://github.com/cuipengfei/prompts/tree/main/plugins/codex/skills/codex-advisor
Command: npx skills add https://github.com/cuipengfei/prompts --skill codex-advisor-cuipengfei

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you obtain a second opinion on code changes by calling OpenAI Codex, then presenting every feedback item in a structured way so you can decide what to do without losing important warnings.

Core Features & Use Cases

  • Second-opinion code review via Codex: Detects intent (file review, diff review, or general assessment) and sends the right context to Codex.
  • Critical evaluation with non-silent tagging: Forces all Codex feedback to be shown, while tagging each suggestion as ✅采纳, 💬讨论, 🎨风格, or 🔧过度 to guide user judgment.
  • Structured decision support UI: Uses AskUserQuestion with multi-select options (recommended first) and then helps implement, further analyze, or conclude based on user choices.

Quick Start

Ask your AI to run codex-advisor with your current file or git diff context so it returns categorized Codex feedback and prompts you to select what to act on.

Frequently Asked Questions about codex-advisor

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

FAQPage Schema
How do I get a second opinion on my code changes using OpenAI Codex?

To get a second opinion on code changes, this Skill invokes OpenAI Codex with your repository context and git diff. It returns unfiltered critical feedback so you can review suggestions without losing important warnings before deciding what to do next.

Can I use Codex to review a git diff before committing?

Yes, you can use Codex to review a git diff before committing. The Skill detects your intent to review changes, sends the diff context to OpenAI Codex, and presents structured critical feedback to help you evaluate your modifications.

How does the code review feedback get categorized for actionable steps?

Code review feedback gets categorized by tagging each Codex suggestion with actionable labels like adopt, discuss, style, or over-engineered. This structured categorization helps you quickly judge which critical comments require immediate implementation and which are optional.

What's the best way to handle critical code review suggestions from Codex?

The best way to handle critical code review suggestions is through the interactive selection UI. After Codex provides categorized feedback, you select which suggestions to act on, and the Skill helps you implement, further analyze, or conclude based on your choices.

Does Codex code review work with general file-based assessments?

Yes, Codex code review works with general file-based assessments. The Skill detects whether you need a file review, git diff change review, or a general assessment, then sends the appropriate context to Codex for critical evaluation across software engineering tasks.

Are there limitations to using Codex for automated code review?

A limitation of using Codex for automated code review is that it requires read-only sandboxed Codex calls. While it provides critical second opinions on code changes, all feedback is unfiltered and requires user judgment to decide which suggestions to implement.