/kitchen-sink:codex-review [on|local|off|default|status]from kitchen-sink
Switches this repo's Codex review mode between local, github, and off, or reports the current mode and sandbox status.
Ships in kitchen-sink. Installing the plugin adds it to Claude Code.
Show or change how the codex-review-loop skill behaves in this repository. The setting is the per-clone git config key kitchen-sink.codexReview. It is written with --local, so it is never committed and never affects other repos.
Argument: $ARGUMENTS (empty means status)
| Argument | Sets kitchen-sink.codexReview to | Effect |
|---|---|---|
on / github | github | Local Codex loop, plus a mandatory @codex review gate from the GitHub bot before the PR is marked ready |
local | local | Local Codex loop only. Never comments on the PR. |
off | off | Skips Codex entirely, even when codex is installed |
default | (key removed) | Back to the default: off |
status / empty | (unchanged) | Reports the effective mode |
Steps:
Map the argument to a value using the table. If the argument is anything else, show the table and stop without changing anything.
Apply it, running only the line that matches the argument:
git config --local kitchen-sink.codexReview github # on / github
git config --local kitchen-sink.codexReview local # local
git config --local kitchen-sink.codexReview off # off
git config --local --unset kitchen-sink.codexReview # default (exit code 5 = already unset; that's fine)
Report the effective mode. Run python3 <skill base dir>/codex_loop.py mode, where the base directory is the codex-review-loop skill's, and read mode, source, codex, codex_version and outer_sandbox from its JSON.
Say whether the mode came from config or from the default (unset means off). When the mode isn't off and codex runs, codex_version shows the version that actually runs. Otherwise, for github or local, the command exits 2 with an error field (codex missing or unable to run): warn the user that every codex-review-loop run in this repo will stop with an error until they install or fix codex or change the mode. For off there is no version check.
Also report the outer-sandbox state: outer_sandbox.enabled shows whether Codex's own sandbox is bypassed, and outer_sandbox.source says why: git-config (set via kitchen-sink.codexOuterSandbox), nono (on by default under nono), or default (off; no outer sandbox detected). Never change kitchen-sink.codexOuterSandbox or NONO_CAP_FILE yourself.
Also report bot_wait: the wait in minutes and whether a timeout stops or proceeds (source shows whether it's configured), and rounds: the fix-round cap. Invalid codexTimeout* or codexRounds config also exits 2: report the error.
When the mode is github, remind the user that the repo needs the Codex GitHub integration set up to review PRs. Without it, @codex review gets no answer and the gate times out.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
27 commands in this plugin
/address-gh-reviewAddress Gh ReviewUse when addressing review feedback on the current branch's PR — fixing actionable comments now and filing issues for anything deferred./agent-instructions-reviewAgent-Instructions ReviewUse when a diff touches CLAUDE.md or AGENTS.md (root or nested), .cursor/rules/** or .cursorrules, .github/copilot-instructions.md, .claude/**/*.md, or a Claude Code plugin's commands/**/*.md, skills/**/*.md, or agents/**/*.md — or when adding/editing any file meant to steer an AI agent's behavior./audit-claude-mdAudit CLAUDE.md FilesUse periodically (monthly, or after a major refactor) to check CLAUDE.md files for token efficiency, clarity, and accuracy against the codebase./break-into-gh-issuesDecision CriteriaUse when deciding how to split a feature or body of work into GitHub issues — sizing changes against the 400-line threshold, and choosing single-issue vs. an umbrella-plus-sub-issues breakdown./codebase-healthCodebase Health CheckUse when running a periodic (e.g. monthly) or pre-release codebase health check for AI-friendliness: dead code, file organization, discoverability, duplication, and dependency health./code-review-intense-flowCode Review Intense FlowUse when about to open or merge a PR with non-trivial changes, when a branch touches multiple concerns (UI, routes, content), when returning to a long-running branch, when new routes need an e2e-coverage check, or before the PR on a fix-gh-issue fix-NNN branch.npx claudepluginhub oalders/kitchen-sink --plugin kitchen-sinkOther plugins' commands for the same job