--- name: council-review description: "Use this skill for multi-model AI code review. Trigger whenever the user asks to review code changes, audit a diff, check code quality, review a PR, review commits, or review uncommitted changes before pushing or merging. Also trigger when they say 'code review', 'review my changes', 'check this before I merge', or want multiple perspectives on code. Runs Codex, Gemini, and Claude reviews in parallel, then synthesizes a unified report. Do NOT use for reviewing documentation, markdown, or non-code files, or for trivial single-line changes." --- # Council Review Run Codex, Gemini, and Claude's own `/review` all in parallel, then cross-validate and synthesize into one unified report — like a review board where three reviewers examine the code independently, and Claude as lead reviewer delivers the final opinion. ## Prerequisites - **Codex CLI**: Install with `npm i -g @openai/codex`, authenticate with `codex login` - **Gemini CLI**: Install and authenticate, ensure `gemini` command is available in PATH If only one CLI is installed, fall back to the available reviewer with a warning — the review still has value with fewer perspectives, so don't fail entirely. ## When to Use - Reviewing uncommitted changes before committing - Auditing a branch diff before opening a PR - Reviewing a specific commit for regressions - Checking a remote PR (Gemini only supports this scope) ## When NOT to Use - Reviewing documentation, markdown, or non-code files - Trivial single-line changes where a full council review would be overkill ## Workflow **DO NOT read script source code.** Run scripts directly and use `--help` for usage. ### Step 1: Determine Review Scope If the scope is not already clear, use AskUserQuestion to ask: - **Uncommitted changes** (default) — staged, unstaged, and untracked changes - **Branch diff** — compare current branch against a base branch - **Specific commit** — audit a single changeset - **Remote PR** — review a GitHub PR by number or URL (Gemini only, skip Codex) ### Step 2: Run All Three Reviews in Parallel All three reviewers read the same diff independently — none depends on another's output. Launch them all at once in a single message to eliminate sequential wait time. Scripts are in `scripts/` relative to this skill's directory and enforce the correct model and read-only mode internally. Run `