Index of every page on this site: llms.txt
All skills
abdurshd avatar

/claude-review

@b47f145
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/abdurshd/skills/claude-review

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈173 tokens for metadata: the name and description. ≈1.3k when used: this file. ≈650 more on demand in 2 files.

Description uses 8.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈691 characters, or 8.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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.
  3. Run 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 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:

/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:

/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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill automates code reviews using the Claude Code CLI by generating a background execution script and processing user-supplied review briefs. It presents a surface for indirect prompt injection and utilizes dynamic script generation.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: MEDIUM · 1 issue

Signed by skilld at b47f145. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago

README badge

README badge for abdurshd/skills/claude-review