Codex Review logo

Codex Review

Community
yongmmin
codex-review

Independent adversarial code review via Codex CLI to eliminate Claude self-review bias

Overview

Publisheryongmmin
Repositoryfront-agent
Skill namecodex-review
Stars
3
Forks
0
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by yongmmin on GitHub. Read the source before you install it.

Installation

Install the Codex Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/yongmmin/front-agent/tree/main/skills/codex-review
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yongmmin/front-agent.git /tmp/front-agent
mkdir -p .claude/skills
cp -r /tmp/front-agent/skills/codex-review .claude/skills/codex-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Codex Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Codex Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Codex Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill: codex-review

Trigger: called by front-agent after reviewer PASS Purpose: Run an independent review using Codex (OpenAI) to catch issues Claude's self-review may have missed.


Why This Exists

Claude reviews code it just wrote. Same model, same biases, same blind spots. Codex is a different model with no shared context — it will catch different things.


How To Run

Build the review prompt from two sources:

FieldSourceInclude
Task goalplan.md → ## GoalAlways — one-line summary
Previous reviewer notesreviewer output → ### NotesOnly when present
constraints.md—Never — Codex judges independently
Full file contents—Never — git diff is sufficient

Scoped diff — only the current task's files

--uncommitted and --base main both review ALL changes in the repo, not just the current task. Instead, generate a diff scoped to changed_files from the handoff and pass it directly to codex:

bash
# 1. Generate diff for only the files changed in this task
#    Route through rtk-wrap so `rtk git diff` compresses output when the mode is on.
DIFF=$(bash hooks/rtk-wrap.sh git diff HEAD -- src/features/login/LoginForm.tsx src/features/login/LoginForm.test.tsx)

# 2. Pass scoped diff inline to codex
codex -m o3 "
Task: [plan.md Goal in one line]
Previous reviewer (Claude opus) PASS notes: [reviewer Notes section, or 'none']

Files changed in this task:
- src/features/login/LoginForm.tsx
- src/features/login/LoginForm.test.tsx

Diff:
\`\`\`diff
$DIFF
\`\`\`

Review independently. Be adversarial. Focus on: correctness, security, type safety, and edge cases. Look for what the previous reviewer missed."

If o3 is unavailable or rate-limited, omit -m to fall back to the user's default model.

No git repository or empty diff: If the working directory is not a git repo, or changed_files is empty, skip codex-review and warn the orchestrator — do not block the workflow.


Verdict Rules

FAIL if any of the following:

  • Security vulnerability
  • Incorrect logic or broken edge case
  • Type unsafety that could cause a runtime error
  • Behavior change not covered by existing tests

PASS for everything else. Style preferences, minor suggestions, and non-blocking observations do not cause FAIL.


On FAIL

Do not auto-fix. Surface the issues to the user with a clear decision prompt:

"Codex review found blocking issues:

  1. [file:line] — [issue]

Options: a) Fix — send issues to the implementation agent and re-review b) Override — proceed to git-commit as-is"

If user chooses Fix

  1. Send the codex issue list to the implementation agent (developer / ui-builder)
  2. Re-run reviewer
  3. Re-run codex-review (one attempt only)
  4. If still FAIL → create a git-issue and report to user — do not retry again

If user chooses Override

Proceed to git-commit as-is. Record the override decision in the handoff block:

- decisions: codex-review FAIL overridden by user — [issue summary]

Output Format

## Codex Review Verdict: PASS / FAIL

### Blocking Issues (if FAIL)
1. [file:line] — [issue] → [suggested fix]

### Notes (non-blocking)
- [observation]

Constraints

  • Run only after reviewer (opus) has already given PASS
  • Always scope diff to changed_files from the handoff — never use --uncommitted or --base main (those include unrelated changes)
  • Pass only task goal + previous reviewer notes + scoped diff — never pass constraints.md or full file contents
  • If codex is not installed, not authenticated, or the working directory is not a git repo: skip and warn the orchestrator — do not block the workflow
  • On FAIL: surface to user — do not auto-fix without user approval
  • On PASS or user override: signal orchestrator to proceed to git-commit
  • Max one fix-retry cycle per task
  • Route git diff through bash hooks/rtk-wrap.sh git diff ... (see CLAUDE.md → RTK Wrapping)

Frequently asked questions

What does the Codex Review AI skill do?

Independent adversarial code review via Codex CLI to eliminate Claude self-review bias

Why use Codex Review on TypingMind?

Because you install it once and use it with any model. Codex Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Codex Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yongmmin/front-agent/tree/main/skills/codex-review. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Codex Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Codex Review?

As many as you like. As long as a model supports skills, you can use Codex Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Codex Review AI skill free?

It is published on GitHub by yongmmin. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇