npx skills add ...
npx skills add coderabbitai/codex-plugin --skill code-review
Reviews code changes using CodeRabbit AI. Use when user asks for code review, PR feedback, code quality checks, security issues, or requests fix-review cycles.
npx skills add coderabbitai/codex-plugin --skill code-review
Use this skill to run CodeRabbit from the terminal, summarize the issues found, and help implement follow-up fixes.
Once coderabbit review has started, wait for the command to complete before resuming the user conversation. Do not send progress commentary about waiting, polling, remote processing, or diff scoping. Only message the user if an authentication step or other prerequisite is needed, when the review completes with results, or when the review has failed or timed out after the full wait window.
coderabbit executable from the user's
normal shell. Do not use a repository- or workspace-controlled executable,
alias, or wrapper. Use the resolved absolute path for all commands below.coderabbit --version. If no trusted host installation exists, ask the
user to install the CLI from https://www.coderabbit.ai/cli. Do not install
it automatically. Commands below use coderabbit for readability; invoke
the resolved absolute path.For local Codex sessions (desktop or CLI, including worktrees), execute the
resolved CodeRabbit CLI with the harness's command-scoped sandbox escalation so
that exact process runs on the host with network access. Network permission
alone is insufficient because it does not expose credentials held by the host
credential store. Apply the same execution context to coderabbit review and
any reactive authentication command. Do not change global sandbox settings or
run repository-provided commands outside the sandbox.
Never query, copy, print, or inject a credential from macOS Keychain or another host credential store. The trusted CodeRabbit CLI must access its credential directly. A Git worktree or repository change does not require a separate login.
Do not proactively check authentication before every review. Start the requested
review directly. Only after an explicit authentication error, run
coderabbit auth status --agent in the same authoritative execution context.
If it reports that authentication is missing, ask the user to run
coderabbit auth login --agent in their host terminal. Do not start the login
flow automatically; retry the review only after the user confirms login
succeeded.
Codex Cloud and other remote environments cannot reuse a local host credential store. In those environments, use only authentication configured inside that environment and direct the user to the official CLI documentation when setup is required. Never ask the user to paste an API key into the conversation.
Default agent review:
CLI defaults to know:
coderabbit review uses plain text output by default.--agent changes output to structured findings for agent workflows.--type defaults to all, which includes committed, staged, unstaged, and untracked changes.Common scopes and comparisons:
If any of AGENTS.md, .coderabbit.yaml, or CLAUDE.md exist in the repo root, pass them with -c to improve review quality.
finding events and group them by severity.status events in the user-facing summary.error event is returned, or the CLI fails for any other reason (auth failure, missing CLI, network error, timeout), do not fall back to a manual review. Report the exact failure and tell the user how to resolve it (e.g. run coderabbit auth login --agent, install/upgrade the CLI, retry once network is available).❗ Critical, ⚠️ Major, and ℹ️ Minor.CodeRabbit raised 0 issues. and do not invent any.