Connect CodeRabbit to Your AI Agent

Select a date range and repositories for a metrics brief, or request a seat and role audit. AI can organize the administrative evidence into questions to resolve.

13 tools API key

Try a CodeRabbit Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill CodeRabbit

Summarize Review Metrics for a Period

Read merged pull request metrics and explain the recorded measures for selected repositories or users.

/oo CodeRabbit: Read CodeRabbit merged pull request review metrics from [start date] to [end date] for repositories [repository IDs]. Summarize the available measures for [review question] and state the scope of merged PRs.

Prepare a Seat and Role Audit Brief

Read users, role details, and audit entries to identify access questions for an administrator.

/oo CodeRabbit: List CodeRabbit users and roles with permissions, and audit logs from [start date] to [end date]. Summarize seats and role assignments and highlight changes needing review under [access policy].

Start Working with CodeRabbit

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect CodeRabbit

    Connect with a CodeRabbit API key.

    Connect CodeRabbit →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A CodeRabbit API key with permission to access organization metrics and user records.
  • Enterprise-specific role and seat-assignment-mode operations require the corresponding organization features.

CodeRabbit Tools

CodeRabbit metrics describe merged PR review activity, while user, role, and audit records describe organization access. This connection supports reporting and explicit administrative changes.

Read Review Metrics and Audit Logs

Filter merged PR metrics and organization audit entries by their supported repository, user, action, and date criteria.

Read and Maintain Seats and Roles

Read users and roles, assign or unassign seats, change user roles, and maintain Enterprise custom roles.

13 tools

List Users

List CodeRabbit organization users with optional seat and role filters using cursor-based pagination.

coderabbit.list_users

Manage Seats

Bulk assign or unassign CodeRabbit seats for up to 500 organization users.

coderabbit.manage_seats

Get Seat Assignment Mode

Retrieve the current CodeRabbit seat assignment mode for a self-hosted Enterprise organization.

coderabbit.get_seat_assignment_mode

Update Seat Assignment Mode

Update the CodeRabbit seat assignment mode for a self-hosted Enterprise organization.

coderabbit.update_seat_assignment_mode

Change Roles

Bulk change CodeRabbit organization roles for up to 500 users.

coderabbit.change_roles

Get Review Metrics

Get CodeRabbit merged pull request review metrics for a date range with optional organization, repository, and user filters.

coderabbit.get_review_metrics

List Audit Logs

List CodeRabbit organization audit log entries with optional actor, action, resource type, date, and pagination filters.

coderabbit.list_audit_logs

List Roles

List CodeRabbit built-in and Enterprise custom roles for the organization.

coderabbit.list_roles

Get Role

Get details for one CodeRabbit built-in or Enterprise custom role.

coderabbit.get_role

Create Role

Create a CodeRabbit Enterprise custom role.

coderabbit.create_role

Update Role

Update a CodeRabbit Enterprise custom role.

coderabbit.update_role

Delete Role

Delete a CodeRabbit Enterprise custom role when it is not assigned to users.

coderabbit.delete_role

List Role Permissions

List valid CodeRabbit role permission resource identifiers and access types for custom roles.

coderabbit.list_role_permissions

Frequently Asked Questions

Which pull requests are included in metric analysis?

The metrics operation reports merged pull request review metrics for the requested date range and filters.

Can AI identify users with seats and their roles?

Yes. User lists support seat and role filters, and role definitions can include permissions.

Does this perform a new code review on a pull request?

No. These operations expose metrics and organization administration, rather than submit code for a new review.

Connect CodeRabbit

About CodeRabbit ↗