From coderabbit-pack
Optimizes CodeRabbit costs by auditing seats, excluding bots/inactive users, and limiting reviews to high-value repos. For billing analysis and budget reduction on GitHub/GitLab orgs.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin coderabbit-packThis skill is limited to using the following tools:
Optimize CodeRabbit per-seat licensing costs by right-sizing seat allocation, focusing reviews on high-value repositories, and configuring review scope to minimize unnecessary AI processing. CodeRabbit charges per seat based on active committers who open PRs.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Optimize CodeRabbit per-seat licensing costs by right-sizing seat allocation, focusing reviews on high-value repositories, and configuring review scope to minimize unnecessary AI processing. CodeRabbit charges per seat based on active committers who open PRs.
| Plan | Price | Includes |
|---|---|---|
| Free | $0 | Public repos, limited reviews |
| Pro | ~$15/seat/month | Unlimited reviews, all features |
| Enterprise | Custom | SSO, dedicated support, SLA |
Seat = any developer who opens a PR in a CodeRabbit-enabled repo.
Navigate to CodeRabbit Dashboard > Organization > Seats:
# Example seat audit
seat_audit:
active_committers_30d: 15 # These cost money
bot_accounts: 3 # Dependabot, Renovate, CI bots (should NOT consume seats)
inactive_30d: 7 # Haven't opened a PR in 30 days
total_seats_billed: 25
# Savings: Remove bots (3) + inactive (7) = 10 fewer seats
# At ~$15/seat/month = $150/month savings
In CodeRabbit Dashboard > Organization > Billing:
dependabot[bot], renovate[bot], github-actions[bot]Only enable CodeRabbit on repos where AI review adds value:
# Enable CodeRabbit (high value):
- backend-api → Business logic, security-critical
- payment-service → PCI compliance, financial data
- infrastructure → Terraform/IaC, blast radius high
- mobile-app → Customer-facing, release quality
# Disable CodeRabbit (low value):
- documentation → Markdown only, low risk
- design-assets → Binary files, not reviewable
- sandbox → Experimental, throwaway code
- archived-* → Read-only repos
- internal-tools → Low-traffic, single-developer repos
# To disable: GitHub > Installed Apps > CodeRabbit > Repository access
# Switch to "Only select repositories" and remove low-value repos
# .coderabbit.yaml - Skip files that don't benefit from AI review
reviews:
path_filters:
- "!**/*.lock" # Lock files (no actionable feedback)
- "!**/package-lock.json"
- "!**/pnpm-lock.yaml"
- "!**/*.snap" # Test snapshots
- "!**/*.generated.*" # Generated code
- "!dist/**" # Build output
- "!vendor/**" # Third-party code
- "!**/*.min.js" # Minified files
- "!**/migrations/*.sql" # DB migrations (review manually)
- "!**/*.csv" # Data files
- "!**/*.json" # Config/data files (usually low-value)
auto_review:
ignore_title_keywords:
- "chore: bump" # Skip dependency update PRs
- "chore(deps)"
- "auto-generated"
- "Bump version"
drafts: false # Don't burn credits reviewing drafts
# More aggressive profile = more comments = more processing
# But the main cost is per-seat, not per-comment
reviews:
profile: "assertive" # Recommended default
# "chill" produces fewer comments but same per-seat cost
# Choose based on signal-to-noise, not cost optimization
Track whether CodeRabbit reviews are being acted on:
set -euo pipefail
ORG="${1:-your-org}"
REPO="${2:-your-repo}"
echo "=== CodeRabbit Review Value Analysis ==="
TOTAL_PRS=0
REVIEWED_PRS=0
for PR_NUM in $(gh api "repos/$ORG/$REPO/pulls?state=closed&per_page=30" --jq '.[].number'); do
TOTAL_PRS=$((TOTAL_PRS + 1))
CR_COMMENTS=$(gh api "repos/$ORG/$REPO/pulls/$PR_NUM/comments" \
--jq '[.[] | select(.user.login=="coderabbitai[bot]")] | length' 2>/dev/null || echo "0")
if [ "$CR_COMMENTS" -gt 0 ]; then
REVIEWED_PRS=$((REVIEWED_PRS + 1))
echo "PR #$PR_NUM: $CR_COMMENTS CodeRabbit comments"
fi
done
echo ""
echo "Coverage: $REVIEWED_PRS/$TOTAL_PRS PRs received CodeRabbit reviews"
echo "If coverage is low, check: base_branches filter, drafts setting, seat assignment"
# CodeRabbit CLI charges per file reviewed (~$0.25/file)
# Tips to reduce CLI costs:
# Review only specific files (not entire repo)
cr review src/api/routes.ts src/middleware/auth.ts
# Use --prompt-only to get review text without interactive mode
cr review --prompt-only
# Set up pre-push hook (not pre-commit) to avoid reviewing WIP code
# See coderabbit-local-dev-loop for hook setup
| Issue | Cause | Solution |
|---|---|---|
| Seat count higher than expected | Bots counted as seats | Exclude bot accounts in dashboard |
| Reviews on archived repos | App still installed | Remove CodeRabbit from archived repos |
| Low review acceptance rate | Reviews too nitpicky | Switch profile to chill |
| Can't reduce seat count | Active committers across all repos | Disable CodeRabbit on low-value repos first |
| CLI charges higher than expected | Reviewing all files | Use cr review <specific-files> instead |
For enterprise seat management and SSO, see coderabbit-enterprise-rbac.