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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires codex-cli, npm (@openai/codex), node, python3.

What problem does it solve?

It helps you catch bugs, security issues, and fragile logic by getting a second opinion from OpenAI Codex—either reviewing your code changes or trying to break them. It prevents slow “rubber-stamp” reviews by forcing a pass/fail gate for review mode and an attacker mindset for challenge mode.

Core Features & Use Cases

  • Code Review with a gate: Runs a Codex review on your branch diff and flags critical findings as a FAIL, so you can decide whether to proceed.
  • Adversarial Challenge: Tries to break the changes by searching for edge cases, race conditions, failure modes, and security holes.
  • Consult with session continuity: Lets you ask Codex questions about the codebase and keep context for follow-ups (useful when you iterate on fixes).

Quick Start

Use the codex skill by typing /codex review so Codex reviews your current branch changes against the base branch and returns its verdict.

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 adversarial code review for my git diff?

You can get an adversarial code review for your git diff by running the codex skill, which uses OpenAI Codex to challenge your branch changes. It searches for edge cases, race conditions, and security holes to prevent rubber-stamp approvals.

How do I validate code fixes before shipping to catch security issues?

Validate code fixes before shipping by running a Codex review on your branch diff. It acts as a gate, flagging critical security issues and bugs as a FAIL so you can decide whether to proceed with shipping your changes.

Do I need the codex-cli binary installed to review branch changes?

Yes, you need the local codex-cli binary installed to review branch changes. The skill requires this dependency along with npm (@openai/codex), node, and python3 to execute read-only reviews and challenges against your detected base branch.

Can I ask follow-up questions about my codebase after an initial review?

Yes, you can ask follow-up questions about your codebase after an initial review using the session continuity feature. This lets you consult with Codex while keeping context for follow-ups, which is useful when you iterate on fixes based on the findings.

What is the difference between a code review and an adversarial challenge?

A code review acts as a pass/fail gate flagging critical findings in your diff, while an adversarial challenge adopts an attacker mindset to actively search for edge cases, race conditions, and security holes to break your changes.