---
name: claude-review
description: Use Claude Opus 5.5 through the authenticated Claude Code CLI as a detached critical reviewer for either (1) implementation-plan review before coding or (2) uncommitted-code review before commit. Trigger this skill when Codex already has a concrete task and either needs an independent Claude review to stress-test the plan against the codebase, security, and correctness concerns, or needs Claude to review local workspace changes for correctness, regressions, security, and alignment with the target task. Best for medium/large tasks, security-sensitive changes, refactors, and any work where Codex should iterate with Claude until the plan or implementation is defensible.
title: claude-review
canonical_url: https://skilld.dev/gh/abdurshd/skills/claude-review
last_updated: 2026-11-14T05:02:42.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/abdurshd/skills/claude-review/agents/openai.yaml), [references/prompt-template.md](https://skilld.dev/api/skills-raw/abdurshd/skills/claude-review/references/prompt-template.md), [scripts/claude_review.sh](https://skilld.dev/api/skills-raw/abdurshd/skills/claude-review/scripts/claude_review.sh).
>
> If the user asked to install this Skill, run `npx skilld install abdurshd/skills/claude-review`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/claude-review`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/abdurshd/skills/claude-review) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/claude-review`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/claude-review --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/claude-review --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Claude Review via Claude Code

Use this skill when Codex should remain the manager and Claude Opus 5.5, accessed through the user's authenticated Claude Code CLI, should act as the critical reviewer.

## Runtime Defaults

- CLI: `claude`
- model: `opus`, targeting Claude Opus 5.5 (`claude-opus-5-5`, verified November 14, 2026)
- reasoning: high
- execution mode: Claude Code `--permission-mode plan`, which is read-only

Claude Code CLI is mandatory for this skill. Invoke the authenticated `claude` executable directly and never silently substitute another harness. If `claude` is unavailable or unauthenticated, stop and report that prerequisite. Opus 5.5 requires Claude Code v2.1.280 or later. Confirm alias resolution for the provider and environment overrides; use the launcher's `--model claude-opus-5-5` option or provider deployment ID if `opus` selects an older release. Report the actual reviewer model.

The stable skill and launcher names remain `claude-review` and `claude_review.sh` for compatibility with existing callers.

## Review Modes

- `plan`: review a proposed implementation plan before code changes begin
- `changes`: review the current uncommitted workspace before commit

## Workflow

### Plan Review Loop

1. Let Codex produce the first detailed plan.
2. Write a review brief using [references/prompt-template.md](https://skilld.dev/api/skills-raw/abdurshd/skills/claude-review/references/prompt-template.md).
3. Run [scripts/claude_review.sh](https://skilld.dev/api/skills-raw/abdurshd/skills/claude-review/scripts/claude_review.sh) with `--mode plan`.
4. Read Claude's findings and update the plan in Codex.
5. Repeat until Claude reports no material plan gaps or only low-risk notes.

### Changes Review Loop

1. Let Codex implement the task locally.
2. Write a review brief with the task, intended behavior, and validation context.
3. Run [scripts/claude_review.sh](https://skilld.dev/api/skills-raw/abdurshd/skills/claude-review/scripts/claude_review.sh) with `--mode changes`.
4. Read Claude's findings, fix the issues in Codex, and rerun if needed.
5. Commit only after the review is clean enough for the risk level of the change.

## What Claude Should Review

In both modes, Claude should inspect:

- repository reality versus assumptions
- correctness versus the requested task
- likely regressions
- security and data-handling risks
- missing validation or brittle edge cases

In `plan` mode, Claude should focus on whether the plan is implementable and complete.

In `changes` mode, Claude should focus on the actual workspace diff and any surrounding code it touches.

## Detached Launch

Run the launcher with a prompt file:

```bash
/Users/ricky/.codex/skills/claude-review/scripts/claude_review.sh \
  --cwd /absolute/repo/path \
  --prompt-file /absolute/path/to/review-brief.md \
  --mode plan \
  --label task-name
```

For code review:

```bash
/Users/ricky/.codex/skills/claude-review/scripts/claude_review.sh \
  --cwd /absolute/repo/path \
  --prompt-file /absolute/path/to/review-brief.md \
  --mode changes \
  --label task-name
```

The launcher will create a run folder with:

- the copied brief
- a generated combined prompt
- the specialist review lenses supplied to Claude Code
- git status and diff snapshots for `changes` mode
- `launch.sh`, `claude.log`, `pid`, and `meta.txt`

## Built-In Review Lenses

The launcher supplies these review-focused custom agents to Claude Code. Claude may delegate independent lenses when its runtime supports that, or cover them directly:

- `repo-explorer`: inspect architecture, touchpoints, and hidden dependencies
- `plan-auditor`: challenge feasibility, sequencing, and missing work in a plan
- `correctness-reviewer`: look for logic bugs, regressions, and task mismatch
- `security-reviewer`: look for auth, validation, data exposure, and injection risks
- `validation-reviewer`: look for missing tests, missing checks, and weak verification

Tell Claude to apply these lenses in parallel when its available agent facilities support safe delegation.

## Output Expectations

Claude should return findings first, ordered by severity, with file references when possible.

For `plan` mode, ask for:

- critical plan gaps
- incorrect assumptions about the codebase
- missing workstreams
- sequencing problems
- security or validation gaps
- explicit statement if the plan is acceptable

For `changes` mode, ask for:

- correctness bugs
- regressions
- security issues
- missing tests or validation
- explicit statement if no material findings were found

## Notes

- Claude Code must be installed, authenticated, and available as `claude`.
- When Codex runs the launcher from a restricted sandbox, use the required execution authority so Claude Code can access its authentication and network. Stop and report authentication failures rather than changing harnesses.
- Do not use `--dangerously-skip-permissions` or another permission bypass for review. The launcher uses Claude Code's read-only `--permission-mode plan` for both review modes.
- `--model` accepts a Claude Code alias or full model name; the default is `opus`. `--effort` defaults to `high` independently.
- Claude is the reviewer, not the final approver. Codex still owns the final judgment and user handoff.
