/redline:reviewfrom redline
Runs a Codex code review on uncommitted changes or a specified diff (last N commits, against main, or a specific commit). Accepts optional arguments to define the review scope.
Ships in redline. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Run a Codex code review as a background task.
Parse $ARGUMENTS to decide what to review. If no arguments are provided, default to --uncommitted.
| User says | Codex flag |
|---|---|
| (nothing) | --uncommitted |
last N commits or N commits | --base HEAD~N |
commit <sha> | --commit <sha> |
against main / vs main / any branch name | --base <branch> |
--uncommitted, --base ..., --commit ... | Pass through as-is |
For last N commits, use --base HEAD~N so Codex reviews the cumulative diff of those N commits against their common ancestor.
Invoke the wrapper script with the diff flag — it reads the user's provider/model/effort/api-key from the plugin config and builds the correct codex exec command:
node "${CLAUDE_PLUGIN_ROOT}/scripts/exec.mjs" review <diff-flag>
When the review completes, assess the findings and inform the user of any issues found.
$ARGUMENTS
7-day visitors to each command page
5 commands in this plugin
/adversarialDetermine the diff flagRun an adversarial code review — challenge design decisions, probe assumptions, test failure modes/checkDecide whether to run a background redline review after each response/rescueDelegate a task to Codex as a smart friend when you need help or are stuck/setupStep 1: ProviderConfigure Redline — set provider, API key, review model, and effort levelnpx claudepluginhub alexanderatallah/redline --plugin redlineOther plugins' commands for the same job