coderabbit-adoption-report

coderabbit-adoption-report is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 10 tokens per session (1,870 once invoked), scanned A, original, Apache-2.0.

A reporting command that measures CodeRabbit Pro review adoption across selected OpenShift GitHub repositories. It compares merged pull requests with those that received a Pro-tier CodeRabbit review.

In plain words
What is it for?
Use it to measure review coverage for a chosen date range across the configured repositories.
Why use it?
It replaces manual repository-by-repository checking with a consistent adoption percentage and per-repository breakdown.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 extensions/teams/skills/coderabbit-adoption/coderabbit_adoption.py.

Good fit Use it to measure review coverage for a chosen date range across the configured repositories.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers
agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/coderabbit-adoption-report

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for coderabbit-adoption-report

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/coderabbit-adoption-report/github.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/coderabbit-adoption-report)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/coderabbit-adoption-report"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/coderabbit-adoption-report/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for coderabbit-adoption-report

Your own site · 80×15
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/coderabbit-adoption-report"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/coderabbit-adoption-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.01870
Opus 5 $0.00005 $0.00935
Sonnet 5 $0.00002 $0.00374
Haiku 4.5 $0.00001 $0.00187

Measured 9d ago against content hash 21954b473cb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

coderabbit-adoption-report scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

extensions/teams/commands/coderabbit-adoption-report.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Name

teams:coderabbit-adoption-report

Synopsis

/teams:coderabbit-adoption-report
/teams:coderabbit-adoption-report --start-date 2026-02-01 --end-date 2026-02-28

Description

The teams:coderabbit-adoption-report command measures CodeRabbit Pro adoption across a curated list of ~160 OCP payload repositories by calculating what percentage of merged PRs received a Pro-tier CodeRabbit review (identified by "Plan: Pro" in the comment body).

The list of repos to scan is defined in extensions/teams/skills/coderabbit-adoption/allowed-repos.txt.

It uses a Python script that calls the GitHub search API via gh CLI. The script does one org-wide query for PRs with Pro reviews, then batched queries (20 repos per batch) for all merged PRs. Per-repo breakdowns are calculated in Python. Takes about a minute to complete with progress shown.

How CodeRabbit Pro Reviews Work

CodeRabbit was enabled across most OCP payload repos on 2026-03-09. Since many of these repos are open source, CodeRabbit may leave comments on any PR — but only Pro reviews (indicated by Plan: Pro in the CodeRabbit comment) provide the full-quality analysis we want.

CodeRabbit does not review bot PRs. PRs authored by bot accounts (e.g., dependabot[bot], github-actions[bot], openshift-monitoring-bot[bot]) are intentionally skipped by CodeRabbit. Bot PRs appearing in the "missed" list are expected and should not be counted against adoption.

The script uses "Plan: Pro" as a search term combined with commenter:coderabbitai[bot] to directly identify Pro-reviewed PRs, then compares against all merged PRs to find the gap.

The script filters to PRs created on or after the enablement date (2026-03-09) to avoid counting old long-lived PRs that merged after enablement but were never seen by CodeRabbit.

Arguments

  • --start-date YYYY-MM-DD (optional): Start of the date range for merged PRs. Defaults to 7 days ago.
  • --end-date YYYY-MM-DD (optional): End of the date range for merged PRs. Defaults to today.

Read the full file on GitHub · 150 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 150 lines · 10 tokens per session scan A 21954b473cb9

Subscribe to this mod's changes

coderabbit-adoption-report is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 10 tokens to every session and 1,870 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.