/ask-codex-for-review:ask-codex-for-reviewfrom ask-codex-for-review
Delegates local code review to OpenAI Codex gpt-5.6-sol at high reasoning effort via `codex exec`, enforcing the code-review-and-quality and code-structure skills. Use for local files, working tree changes, branches, commits, or checked-out PRs without posting to GitHub.
Ships in ask-codex-for-review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Delegate a read-only local code review to OpenAI Codex (gpt-5.6-sol, high reasoning effort) using codex exec, enforcing code-review-and-quality and code-structure (in review mode).
code-and-comment-quality as well.ask-codex-for-pr-review.-s read-only, --ephemeral, and -c web_search="disabled". Target branches or commits must be fetched locally beforehand..env files, private keys, binaries, or unrelated paths.OUT="$(mktemp -t codex-review.XXXXXX)"
REPO="/path/to/repo"
if codex exec \
-m gpt-5.6-sol \
-c model_reasoning_effort="high" \
-c web_search="disabled" \
-C "$REPO" \
-s read-only \
--ephemeral \
-o "$OUT" \
"This is a read-only code review.
Do not make code changes, edit files, or run mutating commands.
Do not access the network or search the web.
Do not inspect secrets, credentials, binaries, or unrelated paths.
Load and apply the code-review-and-quality skill and the code-structure skill (in review mode).
If either skill is not available, immediately STOP and report the missing skill name. Do not invent a substitute standard.
Target: <target files, working tree changes, branch comparison, or commit>
Inspect the target and necessary surrounding context, then report findings using the severity levels and format defined in code-review-and-quality."
then
if [ ! -s "$OUT" ]; then
echo "codex returned no review output" >&2
rm -f "$OUT"
exit 1
fi
cat "$OUT"
rm -f "$OUT"
else
status=$?
echo "codex review failed with exit status $status" >&2
rm -f "$OUT"
exit "$status"
fi
For general codex exec flags, skill-loading rules, and the execution failure fallback ladder, follow ask-codex.
Target: ./src/auth.ts and ./src/session.ts. Read the complete files and surrounding callers.Target: Uncommitted working tree changes. Inspect git status and git diff to identify modified files, then read them in context.Target: Current branch against main (or origin/main). Inspect git diff main...HEAD and read modified files in context.Target: Commit <commit-sha>. Inspect git show <commit-sha> and read modified files in context.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dvcrn/skills --plugin ask-codex-for-review