skills/codex-custom-review/SKILL.md
Run the Codex custom review feature from the CLI for arbitrary review instructions. Use when the user asks to use /review, custom review, or Codex review without tying the review to commits, uncommitted changes, or a base branch; prefer multicodex exec review with no explicit account and fall back to codex exec review only when multicodex is unavailable.
npx skillsauth add olliecrow/codex codex-custom-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
rg -> find/grep, python -> python3, alternate repo-native scripts).plan/, ensure required plan directories exist before reading/writing them (create when edits are allowed; otherwise use an in-memory fallback and call it out).organise-docs frequently during execution when durable review-routing decisions or reusable prompt patterns appear.git-commit when changes are commit-eligible, checks are green, and repo policy permits commits.git-commit to create a small logical checkpoint commit once relevant checks are green and repo policy permits commits.organise-docs whenever durable learnings/decisions appear, and prune stale plan/ scratch artifacts.The skill is complete only when all of the following are true:
blocked with concrete blocker evidence.done, blocked, or not-applicable, with brief evidence or rationale.done: multicodex exec review - or fallback codex exec review - exited successfully, and the custom review result has been summarized.blocked: neither multicodex nor codex is available, auth fails after bounded retry, or the CLI exits repeatedly with a non-transient error; include the exact command and failure.not-applicable: the user explicitly wanted a branch/commit/uncommitted diff review rather than custom review; route to git-review or the relevant Codex diff-review command instead.Stop only after this terminal contract is satisfied; otherwise continue iterating.
Use this skill for Codex's custom review mode: a free-form review prompt supplied directly to the review subcommand.
This is different from diff-bound review modes:
--commit.--uncommitted.--base./review ... prompt to codex exec; in non-interactive CLI use, that arrives as normal prompt text, not as the slash command.The default command must be profile-neutral:
multicodex exec review - <<'EOF'
<custom review instructions>
EOF
If multicodex is unavailable, fall back to:
codex exec review - <<'EOF'
<custom review instructions>
EOF
Use this skill when the user asks for intents like:
use /reviewcustom reviewrun Codex review with these instructionsuse the custom review featurereview this with a custom promptdo not review a commit/diff; use custom reviewcodex-custom-review for free-form Codex review instructions.git-review for branch-vs-main readiness reviews, merge-risk reviews, or severity-first repo review that should be performed by the current agent.deepreview only when the user asks for DeepReview or a monitored DeepReview run./review or custom Codex review, use this skill.Preflight:
command -v multicodex.command -v codex.blocked.codex exec review --help and confirm the prompt argument supports - for stdin.Build the custom review prompt:
--commit, --uncommitted, or --base unless the prompt explicitly asks to inspect such a diff."Execute the review:
multicodex exec review - with the prompt on stdin.codex exec review - only when multicodex is not available or cannot launch after a bounded retry.multicodex run <profile> -- ... unless the user explicitly asks for a specific account/profile.--commit, --uncommitted, --base, or --title for custom review.Monitor to completion:
multicodex is missing or unavailable, retry once with codex exec review -.Report:
multicodex exec review or codex exec review.Use stdin for robust quoting:
multicodex exec review - <<'EOF'
Custom review task:
- Scope: <files, repo area, artifact, or question>
- Review for: <correctness, security, realism, race conditions, data leakage, etc.>
- Output: findings first, ordered by severity, with file/line evidence where applicable.
- This is custom review mode. Do not bind the review to --commit, --uncommitted, or --base.
EOF
Fallback only when multicodex is unavailable:
codex exec review - <<'EOF'
Custom review task:
- Scope: <files, repo area, artifact, or question>
- Review for: <correctness, security, realism, race conditions, data leakage, etc.>
- Output: findings first, ordered by severity, with file/line evidence where applicable.
- This is custom review mode. Do not bind the review to --commit, --uncommitted, or --base.
EOF
data-ai
Use automatically for Sentinel repo sessions, trading research questions, market/company/ticker/source questions, or any request that should use Sentinel's read-only data sources and reference context. Enforces Sentinel's high-confidence, read-only, no-local-query-trace research posture.
documentation
Compact the current conversation into a handoff document for another agent to pick up.
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
development
Wait for long-running external tasks from waiting or queued state through running to validated completion before continuing work. Use when Codex must block on cluster jobs, batch pipelines, CI runs, or other asynchronous operations by polling status every N seconds (default 120), checking the best available logs/outputs/results while the work is active, and proceeding only after completion is confirmed, with a hard timeout cap of 8 hours.