Run Codex code review (read-only, cheaper). Uses GPT model for analysis.
Runs a fast, read-only code review using the Codex MCP server for cost-conscious workflows.
/plugin marketplace add GGPrompts/TabzChrome/plugin install conductor@tabz-chromeRun a fast, read-only code review using the Codex MCP server. Cheaper and faster than Opus review, but no auto-fixes.
/conductor:codex-review
/conductor:codex-review <issue-id>
For thorough review with auto-fix: Use /conductor:code-review instead.
echo "=== Codex Code Review ==="
# Get the diff
DIFF=$(git diff HEAD --stat && echo "---" && git diff HEAD)
if [ -z "$DIFF" ] || [ "$DIFF" = "---" ]; then
DIFF=$(git diff --cached --stat && echo "---" && git diff --cached)
fi
if [ -z "$DIFF" ] || [ "$DIFF" = "---" ]; then
echo "No changes to review"
echo '{"passed": true, "skipped": true, "reason": "no changes"}'
exit 0
fi
echo "Changes to review:"
git diff HEAD --stat 2>/dev/null || git diff --cached --stat
echo ""
Then call Codex MCP (check schema first with mcp-cli info codex/review):
# Review uncommitted changes in current directory
mcp-cli call codex/review '{
"uncommitted": true,
"prompt": "Check for bugs, security issues, and code quality problems. Focus on the diff only.",
"title": "Review for '"${ISSUE_ID:-unknown}"'"
}'
Note: The codex/review tool accepts:
uncommitted: true - Reviews working tree changesbase: "main" - Reviews against a branchcommit: "abc123" - Reviews a specific commitprompt - Custom review instructionsworkingDirectory - Path to repositoryReturns JSON:
{
"passed": true,
"issues": [],
"summary": "No issues found"
}
Or with issues:
{
"passed": false,
"issues": [
{"severity": "critical", "file": "src/api.ts", "line": 42, "issue": "SQL injection risk"}
],
"summary": "1 critical issue found"
}
If passed: false:
/conductor:codex-reviewUnlike /conductor:code-review:
/conductor:verify-build - Run build before review/conductor:run-tests - Run tests before review/conductor:commit-changes - Run after review passes/conductor:worker-done - Can use this instead of code-review