Overview
Skills are a standardized format for packaging AI agent capabilities as structured Markdown files (SKILL.md). Each skill describes a capability â its purpose, usage triggers, and the steps the agent should follow to execute it. This gives AI agents a consistent, discoverable, interoperable way to understand and invoke external tools without manual configuration. You can learn more about the open standard at agentskills.io.
CodeRabbit Skills are open-source, agent-installable capabilities built on this standard â browse and contribute at github.com/coderabbitai/skills. With these skills, any compatible agent can trigger a full review without explanations on how to run specific console commands.
Skills vs. manual CLI integrationSkills are a standardized, installable capability â a structured way for agents to discover and invoke tools. Manual CLI integration (covered in the agent integration guides) means directly prompting your agent to run
coderabbit CLI commands. The two approaches are complementary: skills provide a consistent, zero-configuration trigger mechanism on top of the same underlying CLI.Prerequisites
Before installing skills, make sure the CodeRabbit CLI is installed and authenticated. Install and authenticate the CodeRabbit CLI:Authenticate
Supported agents
The CodeRabbit CLI detects and installs user-level skills for Codex, Claude Code, Cursor, Gemini CLI, and GitHub Copilot. The package-runner alternative supports 35+ compatible agents; see the coderabbitai/skills repository for the complete list.If you prefer to configure agent integrations manually, see the dedicated guides for Claude Code, Cursor, Codex, and Gemini CLI.
Install or update skills
Use the first-party CodeRabbit CLI command for supported agents:- Downloads the latest published
coderabbitai/skillsrelease and verifies its release manifest and checksums. - Detects supported coding agents already installed on your machine.
- Shows every planned install or update, including the exact destination paths and anything it will leave unchanged.
- Asks once for confirmation, defaulting to No, before writing any skill files.
coderabbit skills in an interactive terminal. It has no flags or subcommands that bypass confirmation, and a non-interactive invocation does not write files.
Updates and existing installations
The CLI safely reconciles existing CodeRabbit skills:- Missing and outdated, unchanged CLI-managed skills are offered for installation or update.
- Locally modified CLI-managed copies, package-runner installations, and plugin-managed skills are left unchanged.
- Project-level and generic, unverifiable, ambiguous, duplicate, or cross-owner installations are also left unchanged.
coderabbit skills again.
Package-runner alternative
Use a package runner when you need project-scoped installation, agent-specific selection, or an agent outside the five supported directly by the CodeRabbit CLI:Package-runner options
Customize how skills are installed with these flags:SKILL.md files into ~/.agents/skills or the selected agentâs designated skills directory. Its prompts, flags, and ownership remain separate from coderabbit skills.
Available skills
CodeRabbit review
The CodeRabbit review skill triggers a full CodeRabbit analysis of your current changes directly from an explicit natural-language request.Triggering the skill
Activate the skill using natural language inside your AI agent:- âRun a CodeRabbit reviewâ
- âReview my changes with CodeRabbitâ
- âUse CodeRabbit to check this branchâ
- âAsk CodeRabbit to review my PRâ
SKILL.md file and automatically invokes the CodeRabbit CLI.
How it works
When triggered, the agent will:- Check that the CodeRabbit CLI is installed and authenticated
- Run the review on your current changes
- Present findings grouped by severity â Critical, Warning, and Info
- Optionally fix issues and re-review until the output is clean
CLI integration
The skill runs a CodeRabbit CLI review with structured agent output, selects the review scope from your request, and can compare changes against a base branch. The exact CLI flags are an implementation detail and may change independently of the skillâs natural language interface.Autonomous workflow
Skills enable a fully autonomous review-fix loop: Implement â Review â Fix Critical/Warning issues â Re-review until clean The agent continues iterating until no Critical or Warning issues remain, then provides a summary of everything that was fixed.autofix
The autofix skill fetches unresolved CodeRabbit review threads on your current branchâs pull request and helps you apply fixes interactively or in batch.
The
autofix skill additionally requires the GitHub CLI (gh) to locate pull requests, query review threads, and post comments. The skill will attempt to install gh automatically if it is not found, but GitHub authentication must be completed manually.Triggering the skill
Activate the skill using natural language inside your AI agent:- âAutofix CodeRabbit commentsâ
- âFix CodeRabbit review issuesâ
- âReview and fix CodeRabbit feedbackâ
SKILL.md file, finds your open PR, and pulls unresolved CodeRabbit review threads.
How it works
When triggered, the agent will:- Check local branch status and warn about uncommitted or unpushed changes
- Locate the open pull request for the current branch
- Fetch unresolved review threads authored by CodeRabbit
- Extract issue metadata and fix prompts from each thread
- Let you choose either review-each-fix mode or auto-fix-all mode
- Apply selected fixes and create one consolidated commit
- Prompt the user if the commit should be pushed upstream
CLI commands used by the skill
The skill relies on GitHub CLI plus Git commands:Fix modes
The skill supports two fix paths:- Review each issue: See each proposed fix and approve, defer, or modify it.
- Auto-fix all: Apply all eligible fixes in batch, prioritized from highest severity first.
Troubleshooting
Skill not found
Skill not found
Verify that the skill has a
SKILL.md file in the directory expected by your agent. Run coderabbit skills again for a supported CLI installation, or repeat the package-runner command that owns the existing installation.Skill doesn't load in agent
Skill doesn't load in agent
Check two things:
- Installation directory: The skill file must be in the path your agent expects (see Supported agents).
- Frontmatter validity: The
SKILL.mdfile must have valid frontmatter. Runcoderabbit skillsto preview whether the CLI can safely update it; unverifiable or externally owned conflicts are left unchanged.
Permission errors during install
Permission errors during install
If you encounter permission errors when writing to the project directory, try installing to your user directory instead:
"NOT_INSTALLED" error
"NOT_INSTALLED" error
This error means the CodeRabbit CLI is not installed or not on your
PATH. Reinstall the CLI and then restart your shell:Authentication failures
Authentication failures
Re-authenticate the CodeRabbit CLI:A browser window opens automatically. Sign in to CodeRabbit and the authentication completes in the browser.If you belong to multiple CodeRabbit organizations, the sign-in choice sets your default org only. Review attribution still depends on the current repository. See Organization selection.