Skip to content
coderabbitaiPublic

Repository files navigation

CodeRabbit Skills and Plugins

Standalone release License: MIT Agents

The canonical home for CodeRabbit's agent-native skills and plugin packaging. Use it to install AI-powered code review into 35+ coding agents, Gemini CLI, Antigravity CLI, Claude Code, Cursor, and other supported agent environments.

CodeRabbit detects bugs, security issues, and quality risks before you merge.

Quickstart

Antigravity 1.4.0 candidate: install the local source candidate, then ask “Set up CodeRabbit” to connect remote tools and check local review readiness with the native coderabbit-config skill. Authenticate the hosted connection through Antigravity's CodeRabbit account settings, then ask “Check my CodeRabbit connection and selected organization.” See the Antigravity setup guide.

Claude source package (1.4.0): run /coderabbit-config for the same two readiness checks. See the Claude MCP setup guide. For a published marketplace copy, follow its integration guide.

Both packages connect remote tools through MCP and use the standalone CodeRabbit CLI for local reviews. MCP and CLI sign-ins are separate. Reuse an existing CLI installation and login, then ask “Review my uncommitted changes. Review only; do not edit.” Antigravity, Claude and Codex show local findings in chat. On a local host with a compatible CLI, ask “Set up inline CodeRabbit review cards.” Setup can register the CLI as a local stdio server. In a session that confirms Apps for this connection, the agent passes only the finished review's card ID to the local presenter. There is no automatic review hook; local reviews do not reserve MCP reviews or pass review handoffs through shell commands. A hosted connector alone cannot collect local files.

The Antigravity connection is in mcp_config.json; Claude's is in its own manifest. Other host packages retain their documented workflows. See distribution status for publication: source availability and matching version numbers do not establish marketplace parity.

EU accounts: change the CodeRabbit MCP server URL from https://mcp.coderabbit.ai/ to https://mcp.eu.coderabbit.ai/ in your host's MCP settings. For a source-installed package, edit mcpServers.coderabbit.url in .claude-plugin/plugin.json (Claude) or mcpServers.coderabbit.serverUrl in mcp_config.json (Antigravity). Reconnect through the host's browser sign-in; US connections do not transfer to EU. Local CLI login remains separate: coderabbit auth login --region eu.

Released CLI integration: install the CodeRabbit CLI via the CLI docs, then tell your agent: “Review my code.” If sign-in is needed, the agent hands off the CLI's browser login to you.

Installation

The standalone integration paths below remain available. Native MCP package availability follows each host's release and marketplace process.

1. Install the CodeRabbit CLI

Use the CLI docs for the primary install path. They cover Homebrew, the install script, and CLI usage.

2. Install the agent integration

Choose the path that matches your coding agent.

Skills installer

For agents that support portable SKILL.md files, use the skills docs.

npx skills add coderabbitai/skills

Installation options for the skills installer:

Flag Purpose
-g, --global Install to user directory instead of project
-a, --agent Target specific agents (for example claude-code)
-s, --skill Install particular skills by name
--all Install all skills to all agents without prompts

OpenCode V2 skills and MCP

The OpenCode source candidate loads the four shared skills directly from this repository's HTTP catalog and connects the hosted MCP through OpenCode's native OAuth. Choose the US or EU configuration in that guide. The main catalog URL becomes available after the source change is merged; this is not an OpenCode marketplace listing.

Kiro hosted MCP

Add CodeRabbit's hosted connection to Kiro, then complete its browser sign-in:

Add CodeRabbit to Kiro (US) · Add CodeRabbit to Kiro (EU)

These links request the same OAuth scopes as the canonical Claude plugin, including the required connection scope. Choose the US or EU endpoint for your organization and review the requested permissions before connecting. The scopes permit actions that may consume usage; no tools are auto-approved. This setup targets Kiro IDE and CLI; Web, Mobile, Crew and MCP Apps rendering are not qualified by this configuration.

The hosted connection uses your connected repository data. Install the shared skills using the skills installer above; local CLI reviews require separate CLI installation and authentication. See the MCP guide, Privacy Policy, and support.

Claude Plugin

In Claude Code, install the plugin from the official marketplace:

/plugin marketplace update
/plugin install coderabbit@claude-plugins-official

CodeRabbit is also listed in the Claude directory. Add it from Customize > Plugins > Discover in claude.ai or the Claude desktop app, and it will sync to Claude Code sessions where you're signed in with the same claude.ai account. If you install from both places, Claude Code loads the marketplace copy.

For the MCP candidate from this source, use /coderabbit-config and the MCP setup guide. Published marketplace copies may still use the Claude Code integration guide.

Cursor Plugin

This repository now includes Cursor marketplace metadata in /.cursor-plugin/plugin.json.

After publication, Cursor marketplace installs use:

/add-plugin coderabbit

For the current recommended setup, see the Cursor integration guide.

Gemini CLI Extension

Gemini CLI users can install the native extension from the published standalone v1.2.2 tag:

gemini extensions install https://github.com/coderabbitai/skills --ref v1.2.2
gemini extensions list

For this published tag, use /skills list, then ask “Use code-review to review my changes.” It retains the earlier names and command wrappers.

To test this source candidate, install from a local checkout of this branch:

gemini extensions uninstall coderabbit
gemini extensions install /absolute/path/to/skills

The repository-root gemini-extension.json packages the four portable skills and four matching delegates in the source candidate. Gemini discovers the extension's skills/ and agents/ directories natively; there are no packaged command wrappers. Use /skills list to inspect the skills, then ask for a task or name a skill, for example “Use coderabbit-review to review my changes.” See Gemini skill activation. This native extension is separate from the generic skills-installer path above.

Antigravity CLI Plugin

Install the published plugin from Customizations > Marketplace > CodeRabbit in Antigravity, or use agy plugin install coderabbit in the CLI. To test the source candidate directly from this repository:

agy plugin install /absolute/path/to/skills
agy plugin list

The source candidate includes hosted MCP with native OAuth discovery through mcp_config.json, four shared skills and four matching agents. Ask “Set up CodeRabbit” to use coderabbit-config and check connection and review readiness. Local reviews still require the separately installed and authenticated CodeRabbit CLI. See the Antigravity setup guide. Google's weekly crawler publishes versioned updates from main; source readiness does not establish the version currently served by the Marketplace.

Codex App

Codex users can install the official CodeRabbit plugin by following the Codex app integration guide.

Native Codex metadata in .codex-plugin/plugin.json loads the shared skills. To use Deep Scan findings in the source plugin, connect CodeRabbit MCP in Codex. Marketplace publication is a separate step.

For an at-a-glance inventory of active and repo-packaged distribution paths, see DISTRIBUTION_CHANNELS.md.

What Lives Here

Path Purpose
skills/ Portable CodeRabbit skills for agents that support SKILL.md.
.claude-plugin/ Native Claude manifest with its remote MCP connection; no review hook.
agents/ Four thin delegates using their matching canonical skills: Review, Autofix, Config and Secure.
.cursor-plugin/ Cursor marketplace metadata.
.codex-plugin/ Codex metadata referencing the shared skills.
gemini-extension.json Gemini CLI extension manifest.
plugin.json Antigravity CLI plugin manifest.
mcp_config.json Antigravity's hosted MCP connection with native OAuth discovery.
.antigravity-plugin/README.md Antigravity Marketplace overview and setup guidance.
skills/coderabbit-config/ Connection, local readiness, presenter setup, and repository configuration.
assets/ Shared marketplace and brand assets.
DISTRIBUTION_CHANNELS.md Maintainer inventory of live, packaged, and in-development channels.

Usage

Once installed, just ask your agent:

Review my code
Check for security issues
What's wrong with my changes?
Run a code review
Review my PR
Review the directory at ../my-service

For standalone installs, the agent will automatically:

  1. Check if CodeRabbit CLI is installed
  2. Run the review on your changes
  3. Present findings grouped by severity
  4. Optionally fix issues and re-review

When you ask for a specific review directory, the agent can pass CodeRabbit CLI --dir <path> after confirming that path is inside an initialized Git working tree.

Supported Agents

CodeRabbit supports 35+ coding agents.

Agent Project Path Global Path
Amp, Kimi Code CLI .agents/skills/ ~/.config/agents/skills/
Antigravity CLI .agents/skills/ ~/.gemini/config/skills/
Claude Code .claude/skills/ ~/.claude/skills/
Cline .cline/skills/ ~/.cline/skills/
CodeBuddy .codebuddy/skills/ ~/.codebuddy/skills/
Codex .codex/skills/ ~/.codex/skills/
Command Code .commandcode/skills/ ~/.commandcode/skills/
Continue .continue/skills/ ~/.continue/skills/
Crush .crush/skills/ ~/.config/crush/skills/
Cursor .cursor/skills/ ~/.cursor/skills/
Droid .factory/skills/ ~/.factory/skills/
Gemini CLI .gemini/skills/ ~/.gemini/skills/
GitHub Copilot .github/skills/ ~/.copilot/skills/
Goose .goose/skills/ ~/.config/goose/skills/
Junie .junie/skills/ ~/.junie/skills/
Kilo Code .kilocode/skills/ ~/.kilocode/skills/
Kiro CLI .kiro/skills/ ~/.kiro/skills/
Kode .kode/skills/ ~/.kode/skills/
MCPJam .mcpjam/skills/ ~/.mcpjam/skills/
Moltbot skills/ ~/.moltbot/skills/
Mux .mux/skills/ ~/.mux/skills/
Neovate .neovate/skills/ ~/.neovate/skills/
OpenClaude IDE .openclaude/skills/ ~/.openclaude/skills/
OpenCode .opencode/skills/ ~/.config/opencode/skills/
OpenHands .openhands/skills/ ~/.openhands/skills/
Pi .pi/skills/ ~/.pi/agent/skills/
Pochi .pochi/skills/ ~/.pochi/skills/
Qoder .qoder/skills/ ~/.qoder/skills/
Qwen Code .qwen/skills/ ~/.qwen/skills/
Replit .agent/skills/ N/A (project-only)
Roo Code .roo/skills/ ~/.roo/skills/
Trae .trae/skills/ ~/.trae/skills/
Trae CN .trae/skills/ ~/.trae-cn/skills/
Windsurf .windsurf/skills/ ~/.codeium/windsurf/skills/
Zencoder .zencoder/skills/ ~/.zencoder/skills/

Available Skills

Review local changes, inspect existing CodeRabbit PR feedback or saved findings, and apply independently validated fixes when requested. New reviews use the standalone CLI; existing PR feedback keeps its thread identity and state.

  • “Review my uncommitted changes. Review only; do not edit.”
  • “Show unresolved CodeRabbit feedback on PR #123 and propose fixes.”
  • “Fix the valid findings from this review and run the relevant checks.”

A review-only request makes no code changes. A fix request authorizes the selected local fixes, with guided per-finding decisions when requested. Commits, pushes, comments and thread resolution follow the user's requested scope. Original severities, scope, skipped files and incomplete results stay visible.

Fix existing CodeRabbit PR feedback or saved review findings without starting a new review. For example: “Autofix all valid CodeRabbit findings on PR #123.” The skill shares the review procedures for retrieval, independent validation, authorized edits and checks. Each skill includes its required references and can be installed individually. An authorized batch does not require per-fix approval; preview requests remain report-only. Publishing and resolving threads require the requested scope.

Set up or reconnect CodeRabbit, check the selected account and local review readiness, enable optional inline review cards, and inspect or change repository settings. Connection checks and repository settings are routes within one skill.

  • “Set up CodeRabbit for this repository.”
  • “Check my CodeRabbit connection and selected organization.”
  • “Make CodeRabbit reviews more thorough.”
  • “Validate .coderabbit.yaml.”

MCP and CLI sign-ins remain separate. Repository settings require an official CLI supporting config protocol v2 (verified with 0.9.3), but no login. The CLI owns defaults, schema validation, previews and writes. Validation alone never changes files; saves follow the approved preview. Setup alone starts no review.

The source package now contains four skills. Published releases and cached marketplace copies keep their existing names until separately updated; see distribution status.

The Secure capability guide maps plain-language requests to hosted tools across scan history and recovery, cost and scheduling, findings and secrets, runtime evidence, fixes, tickets, CSV exports and Security learnings. It also shows where the web app is needed.

Ask “Which findings from the latest Deep Scan of owner/repo should we fix first, and why?” The skill uses your CodeRabbit MCP connection to read the scan, rank the findings and show what evidence supports the first fix. Follow up with “Draft a Linear ticket for the first one,” “Request a fix for it,” or “What would a full scan cost?” A ticket preview is a draft. A fix request starts work only when you ask.

The portable skill name is coderabbit-secure; in Claude Code, invoke /coderabbit-secure (or /coderabbit:coderabbit-secure if its short alias conflicts). Use the source plugin or select --skill coderabbit-secure in the skills installer on a revision containing the skill. A skills-only install needs a separately connected hosted MCP server. See connection and permissions.

Invocation and plugin components

Use the same four skill names on every host. Setup belongs to configuration; autofix has its own entry point. The plugin packages skills and agents, with no separate command components or cr- aliases. Slash and dollar invocations below select native skills.

Host Review Autofix Configuration Deep Scan
Claude Code (short aliases) /coderabbit-review /coderabbit-autofix /coderabbit-config /coderabbit-secure
Codex plugin $coderabbit:coderabbit-review $coderabbit:coderabbit-autofix $coderabbit:coderabbit-config $coderabbit:coderabbit-secure
Codex standalone skills $coderabbit-review $coderabbit-autofix $coderabbit-config $coderabbit-secure
Antigravity /coderabbit-review /coderabbit-autofix /coderabbit-config /coderabbit-secure
Gemini CLI skills Ask for coderabbit-review Ask for coderabbit-autofix Ask for coderabbit-config Ask for coderabbit-secure

Claude's short aliases work when no other command uses the same name. Fully qualified invocations are /coderabbit:coderabbit-review, /coderabbit:coderabbit-autofix, /coderabbit:coderabbit-config and /coderabbit:coderabbit-secure. See Claude's naming rules. In Codex, type $ and select the CodeRabbit skill. The native plugin loader adds the coderabbit: namespace; an individually installed skill keeps its bare name. Enabled skills can also appear in the slash picker. Bare /review is Codex's built-in review mode. See Codex invocation. Natural-language requests also select the relevant skill.

Skills own the workflows and user-facing entry points. Each has a thin matching agent that reads the skill and returns its result to the caller:

Agent Delegated work
coderabbit-review Reviews and validated findings; report-only, with proposed fixes.
coderabbit-autofix Authorized fixes from existing findings and relevant checks.
coderabbit-config Readiness checks and authorized configuration inspection, validation or changes.
coderabbit-secure Deep Scan investigation, prioritization and explicitly authorized follow-up.

The caller passes the target, revision or finding source, requested actions and authorization already given by the user. It handles missing user decisions, browser sign-in, host consent and final presentation. Agents do not duplicate the skill procedures or expand the delegated scope.

In Claude Code, mention a delegate as @agent-coderabbit:coderabbit-review (substitute any of the four names). Claude, Gemini CLI and Antigravity package the agents/ directory. Codex packages all four shared skills; its native plugin loader has no equivalent packaged-agent registration in the qualified version. Do not expect these Markdown delegates in Codex's agent picker.

Claude declares hosted MCP in .claude-plugin/plugin.json; Antigravity uses root plugin.json and mcp_config.json. Cursor and Codex manifests point to skills/. Gemini discovers extension skills from skills/ and delegates from agents/, as described in its extension reference.

Local review uses the installed CodeRabbit CLI and its own authentication. The source package has no review hook or managed runtime; a hosted connection does not replace CLI sign-in or grant local file access. For Antigravity sandbox execution failures, follow scoped recovery. Historical MCP pilot templates under packaging/mcp/ are not active packages.

Migrating existing installs

Update the installed plugin through its normal host flow. For skills copied individually, install the four current skills and remove only the superseded CodeRabbit code-review, autofix and coderabbit-setup copies after verifying the replacement. Otherwise stale copies can keep appearing in the picker. If Secure is missing, check the installed bundle: older connected Codex packages contain only code-review, autofix and coderabbit-config. The current source and both generated connected Codex profiles include coderabbit-secure; source changes do not update an already installed cache. Secure needs the hosted CodeRabbit MCP connection for Deep Scan operations. Update saved prompts from those names or /coderabbit:setup and /coderabbit:review to the canonical names above. The CodeRabbit CLI's own coderabbit review and coderabbit config commands are unchanged. Gemini users pinned with --ref v1.2.2 must uninstall the extension and reinstall from the intended newer release or local source candidate; updating a pinned installation keeps that tag. Restart the session and invoke the corresponding skill by name or task after installing the replacement.

Data and Privacy

The native Claude plugin contains four portable skills, four matching delegates and a remote MCP connection. It declares no automatic hooks.

  • Local commands: reviews use the user's installed CodeRabbit CLI. The coderabbit-review skill uses GitHub CLI (gh) for thread-aware PR feedback when needed. Remote writes require the requested scope; its delegate only reports.
  • Data sent: local reviews send selected changes and required repository context to CodeRabbit. MCP tools exchange requested account and repository data with CodeRabbit; the PR feedback workflow exchanges pull-request data with GitHub. Setup alone does not authorize an upload or start a review.
  • Credentials: Claude manages connector OAuth. The standalone CLI and gh manage their own logins. The plugin does not read Claude's OAuth store or copy credentials between the connector and the CLI.
  • Policy: see the CodeRabbit Privacy Policy for handling and retention, or contact support@coderabbit.ai.

The coderabbit-config skill runs local CLI configuration commands. The CLI fetches the public configuration schema over HTTPS and validates YAML locally; it does not submit repository code for review. Approved saves change the local configuration file, with commit and push left to the requested workflow.

Resources

License

MIT

Releases

Packages

Contributors

Languages