Skip to content
Agent Orchestration
Command

/review

Manage Orchestrator's native code reviewer for a worker's PR.

From plugin
agent-orchestrator
15k25 skills25 commands
$ npx -y skills add OrchestratorInc/agent-orchestrator --agent claude-code

Command definition

review.md

ao review

Manage Orchestrator's native code reviewer for a worker's PR.

Orchestrator's reviewer is an isolated reviewer agent for implementation PRs owned by a worker. To review that worker's PR, use `ao review trigger`. Inside a worker, the review commands default to the calling session (`AO_SESSION_ID`), so `ao review trigger` reviews your own implementation PR. An orchestrator passes the implementation worker's session id.

For a requested review of someone else's PR, spawn a normal worker for that review alone with `ao spawn --claim-pr <pr-ref> --no-takeover --review`. A review claim is a normal claim made with the session's automatic CI and review-comment fixing and native auto-review turned off first, so Orchestrator never sends it the PR's CI failures, merge conflicts, or review comments, and never starts its native reviewer on it. The PR is not the user's: the worker submits the requested provider review and comments directly and changes nothing else unless the user asks. To take the PR over later, the worker runs `ao session claim-pr <pr-ref> --review=false`. Do not run `ao review trigger`, create an ownership-only placeholder, or require an implementation owner just to review the PR.

Orchestrator's review is internal. An Orchestrator approval is not a GitHub approval: it does not satisfy required or independent-account reviews or branch protection, and it does not authorize merging.

Syntax

ao review <subcommand> [args] [flags]

The review loop can be inspected, submitted, cancelled, or triggered again.

Automatic review pauses while a PR is a draft. After Orchestrator observes that it is ready, its head becomes eligible on a later sweep once the worker meets the idle gate. Explicit review triggers can still review drafts.

Subcommands

---

ao review ls

List review runs for a worker session (default: the calling session). Alias: `list`.

**Syntax:**

ao review ls [worker-session-id] [flags]

**Flags:**

| Flag | Meaning | Default / Required | |---|---|---| | `--json` | Output reviews as JSON | - |

**Example:**

ao review ls mer-3

---

ao review submit

Record a reviewer's result for a worker's PR.

**Syntax:**

ao review submit [worker-session-id] [flags]

**Flags:**

| Flag | Meaning | Default / Required | |---|---|---| | `--body string` | Review body: a path to a Markdown file, or `-` to read from stdin | - | | `--review-id string` | Id of the GitHub PR review just posted (the `.id` from the `gh api` POST that created the review) | - | | `--reviews string` | JSON review results array or object: a path, or `-` to read from stdin | - | | `--run string` | Review run id | Required | | `--session string` | Worker session id (or pass it as the positional argument) | - | | `--verdict string` | Review verdict: `approved` or `changes_requested` | Required |

If the local daemon is restarting when a result is submitted, Orchestrator retains the parsed result in memory and retries the same idempotent request for up to 30 seconds. Validation errors return immediately. If the daemon remains unavailable, the command reports failure and can be repeated safely; daemon idempotency handles the case where an earlier connection dropped after committing the result.

**Examples:**

# Submit an approved review for session mer-3
ao review submit mer-3 --run review-run-1 --verdict approved
# Submit a changes-requested review with a body from stdin
echo "Please fix the null check on line 42." | ao review submit --session mer-3 --run review-run-1 --verdict changes_requested --body -

---

ao review cancel

Cancel every running review for a worker's PR (default: the calling session). Alias: `stop`.

**Syntax:**

ao review cancel [worker-session-id] [flags]

**Flags:**

| Flag | Meaning | Default / Required | |---|---|---| | `--session string` | Worker session id (or pass it positionally) | - |

**Example:**

ao review cancel mer-3

---

ao review trigger

Start Orchestrator's reviewer on a worker's open PR heads (default: the calling session). Aliases: `execute`, `restart`. Reviewer panes cannot run it.

**Syntax:**

ao review trigger [worker-session-id] [flags]

**Flags:**

| Flag | Meaning | Default / Required | |---|---|---| | `--session string` | Worker session id (or pass it positionally) | The calling Orchestrator-managed session | | `--pr string` | Review only this session's implementation PR URL, attaching it to the session first if Orchestrator does not track it yet (never from another active session). Do not pass an external review target | Every eligible PR on the session | | `--agent string` | Reviewer agent for this pass only (alias `--harness`); the temporary reviewer retires when its pass ends | Session reviewer, then project reviewer, then the project's default worker agent | | `--model string` | Reviewer model for this pass only | As above | | `--effort string` | Reviewer reasoning effort for this pass only | As above | | `--rerun` | Review a head that already has a review again, or add a reviewer with a different agent alongside one that is still running | - | | `--no-inject` | Leave the session's review auto-inject setting unchanged | Auto-inject is turned on |

Orchestrator fetches the session's PRs fresh from the provider before deciding what is due, so the pass covers the commit really on the PR. Right after opening a PR, pass `--pr <url>`.

A head that is already being reviewed, or already has a review, is not reviewed again: the command exits 1 with `REVIEW_ALREADY_RUNNING` or `REVIEW_HEAD_ALREADY_REVIEWED` and says what to do. Push new commits, or pass `--rerun`. The trigger re-reads the PR from the provider first; if you just pushed and it still says already reviewed, wait a few seconds and retry. The same reviewer agent never runs twice on one head at the same time.

By default the command turns on the worker session's review auto-inject. The reviewer posts an i

Read more
@orchestratorinc
Ships withagent-orchestrator

Plan, run and supervise fleets of agents from task to merged PR. Desktop (macOS, Windows, Linux) + iPhone & Android apps. Supports Claude Code, Codex & 35+ coding agents.

Stars on GitHub

Momentum

stars in total
14.9k
Star history of OrchestratorInc/agent-orchestrator on GitHub, a chart by star-history.com

Other commands on agent-orchestrator.

More commands from other plugins.

COMMAND_COMPLIANCE_REPORT

COMMAND_COMPLIANCE_REP…

Command

Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…

@ruvnet@ruvnetInstall Command
ask

ask

Command

This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…

@yeachan-heo@yeachan-heoInstall Command