Codex

OpenAI Codex second opinion via the codex CLI — three modes. Review: independent diff review with a pass/fail gate. Challenge: adversarial pass that tries to break the code. Consult: ask Codex anything, with session continuity for follow-ups. Use when the user says "codex review", "codex challenge", "ask codex", or wants a second opinion from Codex.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add bolasblack/claude-skills --skill codex
Manual install
git clone --depth 1 https://github.com/bolasblack/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/codex ~/.claude/skills/codex

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# /codex — Second Opinion (OpenAI Codex)

Codex is the outside voice: an independent AI system with no stake in the plan, reviewing with fresh eyes. Brutally direct, terse, technically precise — it challenges assumptions and catches what you missed. Present its output verbatim, never summarized.

## Step 0: Preflight

```bash
command -v codex >/dev/null && echo "FOUND: $(command -v codex)" || echo "NOT_FOUND"
if [ -n "${CODEX_API_KEY:-}${OPENAI_API_KEY:-}" ] || [ -f "${CODEX_HOME:-$HOME/.codex}/auth.json" ]; then echo "AUTH_OK"; else echo "AUTH_MISSING"; fi
_BASE=$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's|^origin/||')
[ -n "$_BASE" ] || _BASE=$(git rev-parse -q --verify origin/main >/dev/null 2>&1 && echo main || echo master)
git rev-parse -q --verify "origin/$_BASE" >/dev/null 2>&1 || git rev-parse -q --verify "$_BASE" >/dev/null 2>&1 || _BASE=UNRESOLVED
case "$_BASE" in *[!A-Za-z0-9./_-]*) _BASE=UNRESOLVED;; esac
echo "BASE: $_BASE"
```

- `NOT_FOUND` → stop: "Codex CLI not found. Install it with `npm install -g @openai/codex`, then run `codex login`."
- `AUTH_MISSING` → stop: "Not authenticated. Run `codex login` or set `OPENAI_API_KEY` / `CODEX_API_KEY`."
Read the full skill on GitHub

Details

Skill name
codex
Path
skills/codex/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Codex skill do?

OpenAI Codex second opinion via the codex CLI — three modes. Review: independent diff review with a pass/fail gate. Challenge: adversarial pass that tries to break the code. Consult: ask Codex anything, with session continuity for follow-ups. Use when the user says "codex review", "codex challenge", "ask codex", or wants a second opinion from Codex.

How do I install the Codex skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add bolasblack/claude-skills --skill codex. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Codex popular?

It lives in bolasblack/claude-skills, which has 5 GitHub stars and 0 forks.

Related skills

Caveman

5

bolasblack/claude-skills

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

Images, Video & Audio

Agent Centric

5

bolasblack/claude-skills

Track decisions (AGD) with validation and indexing. Use when making design decisions, recording important choices, discussing trade-offs, or when user mentions AGD or decision record.

AI, LLMs & Agents

Command Creator

5

bolasblack/claude-skills

Guide for creating Claude Code slash commands. Use when the user wants to create a new slash command, custom prompt shortcut, or workflow automation command for Claude Code. Helps define command structure, frontmatter, arguments, and best practices.

AI, LLMs & Agents

Command Development

8

Freddy-CHEN-ux/00_claude_skills

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.

Software Development

Codebase Conventions

8

Freddy-CHEN-ux/00_claude_skills

Load when starting work in 10x-Mapmaster or when unsure about project standards. Covers file organization, naming conventions, type constraints, SQL style, and project-specific limits (200-char descriptions, answer enums). Use to understand how the codebase is structured and what standards to follow.

Software Development

Create Master Skill

8

Freddy-CHEN-ux/00_claude_skills

Create a master system skill (shared resource library) for any integration. Load when user mentions "create master skill", "new master skill", "shared skill library", "integration master", or wants to build a reusable skill foundation for multiple related skills.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.