This feature is available exclusively as part of the Pro plan. Please refer to our pricing page for more information about our plans and features.
This feature is currently in open beta. We are actively improving it based on your feedback. If you encounter any issues or have suggestions, please share them on our Discord community or visit the support page.
How it works
Define recipes in your config
Add up to 5 named recipes under
reviews.finishing_touches.custom in .coderabbit.yaml. Each recipe has a name and a freeform instructions field.Trigger a recipe
Comment
@coderabbitai run <recipe name> in any PR, or check the corresponding recipe checkbox in the CodeRabbit Walkthrough under ✨ Finishing Touches.Agent execution
CodeRabbit clones your repository into a sandbox, provides the agent with full PR context (title, description, summary, coding guidelines), and runs your instructions using the Claude Agent SDK.
Supported Platforms
GitHub
Already available
GitLab
Coming soon…
Bitbucket
Coming soon…
Configuration
Add custom recipes to.coderabbit.yaml:
Recipe fields
| Field | Required | Limits | Description |
|---|---|---|---|
name | Yes | Max 100 characters | Identifier used in run commands. Case-insensitive. Must be unique across your recipes. |
instructions | Yes | Max 10,000 characters | Freeform description of what the agent should do. The agent receives full PR context alongside these instructions. |
enabled | No | — | Set to false to temporarily disable a recipe without removing it. Defaults to true. |
"Cleanup Stale Imports" and "cleanup stale imports" refer to the same recipe.
Triggering recipes
PR comment
Ad hoc evaluation (without a saved recipe)
To try out a finishing touch without committing it to your config, use the evaluate command directly in a PR comment:.coderabbit.yaml.
Finishing Touches checkbox
Each enabled recipe appears as a checkbox in the ✨ Finishing Touches section of the CodeRabbit Walkthrough comment. Checking it triggers the recipe with the Create PR output mode.What the agent receives
When a recipe runs, CodeRabbit provides the agent with:- Your recipe instructions
- PR title and description
- CodeRabbit’s PR summary (walkthrough and objectives)
- Global coding guidelines from
reviews.path_instructionsin your config - Full repository access via Read, Write, Edit, Glob, Grep, and Bash tools