Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Codex Review

ASecurity

Hand off code review to OpenAI Codex CLI. Use when asked to "review code with codex",

49 stars
0 votes
0 copies
1 views
Added 2/7/2026
code-qualitybashsqlsecurity

Works with

terminalcli

Security Analysis

A100/100

Scanned 2/12/2026

$npx -y skills add ncklrs/startup-os-skills --skill codex-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Review?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Codex Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ncklrs-codex-review/badge)](https://www.skillsdirectory.com/skills/ncklrs-codex-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: codex-review
description: Hand off code review to OpenAI Codex CLI. Use when asked to "review code with codex",
             "codex review", "get a second opinion on code", "review my changes", "review this PR",
             or when you want AI-powered code review from a different model perspective.
argument-hint: [uncommitted|PR #|branch|commit SHA]
---

# Codex Code Review

Hand off code review tasks to OpenAI's Codex CLI for an independent AI perspective on code changes.

## How This Skill Works

When invoked, this skill launches the Codex CLI's `review` command in the terminal to analyze code changes. Codex provides a fresh perspective using OpenAI's models, which can catch different issues than Claude might.

## When to Use This Skill

- Getting a **second opinion** on code changes before committing
- Reviewing **uncommitted work** (staged, unstaged, or untracked files)
- Reviewing a **pull request** against a base branch
- Analyzing a **specific commit** for potential issues
- Cross-validating Claude's own code suggestions

## Review Modes

### 1. Uncommitted Changes (Default)
Review all local changes not yet committed:

```bash
codex review --uncommitted
```

### 2. PR Review (Against Base Branch)
Review changes between current branch and a base branch:

```bash
codex review --base main
```

### 3. Specific Commit
Review changes introduced by a single commit:

```bash
codex review --commit <SHA>
```

### 4. Custom Instructions
Add specific review focus areas:

```bash
codex review --uncommitted "Focus on security vulnerabilities and error handling"
```

## Execution Instructions

**IMPORTANT**: When this skill is invoked, Claude MUST execute the appropriate `codex review` command using the Bash tool. Do not just describe what to do — actually run the command.

### Argument Handling

| User Says | Command to Run |
|-----------|----------------|
| `/codex-review` (no args) | `codex review --uncommitted` |
| `/codex-review uncommitted` | `codex review --uncommitted` |
| `/codex-review PR` or `/codex-review main` | `codex review --base main` |
| `/codex-review PR #123` | First `gh pr checkout 123`, then `codex review --base main` |
| `/codex-review <branch>` | `codex review --base <branch>` |
| `/codex-review <sha>` | `codex review --commit <sha>` |

### Execution Steps

1. **Determine review mode** from arguments (default: uncommitted)
2. **Run the codex review command** using Bash tool
3. **Present the results** to the user with any notable findings highlighted
4. **Offer follow-up actions** (apply suggestions, create issues, etc.)

## Command Reference

```bash
# Full options
codex review [OPTIONS] [PROMPT]

Options:
  --uncommitted          Review staged, unstaged, and untracked changes
  --base <BRANCH>        Review changes against the given base branch
  --commit <SHA>         Review the changes introduced by a commit
  --title <TITLE>        Optional commit title to display in review summary
  -c, --config <k=v>     Override config (e.g., -c model="o3")
  -h, --help             Print help
```

## Example Workflows

### Quick Local Review
```bash
# Review everything you've changed locally
codex review --uncommitted
```

### Pre-PR Review
```bash
# Review your feature branch against main before opening PR
codex review --base main "Check for breaking changes and missing tests"
```

### Focused Security Review
```bash
# Security-focused review of uncommitted changes
codex review --uncommitted "Focus on: SQL injection, XSS, auth bypass, secrets exposure"
```

## Integration Notes

- Codex CLI must be installed and authenticated (`codex login`)
- Reviews run non-interactively and output results to terminal
- Use `codex apply` after review to apply any suggested diffs
- Combine with Claude's own review for comprehensive coverage

Attribution

ncklrsncklrs
View sourceSee grades on GitHubMore from ncklrs →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman Review

Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.

1100021 votes

Caveman Commit

Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.

1100021 votes

Springboot Verification

Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.

2456590 votes

Verification Loop

一个全面的 Claude Code 会话验证系统。

2456590 votes

Django Verification

Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.

2456590 votes
View all in code-quality →