Install and configure CodeRabbit SDK/CLI authentication. Use when setting up a new CodeRabbit integration, configuring API keys, or initializing CodeRabbit in your project. Trigger with phrases like "install coderabbit", "setup coderabbit", "coderabbit auth", "configure coderabbit API key".
CodeRabbit is an AI-powered code review platform. It installs as a GitHub App (or GitLab integration) and automatically reviews pull requests. There is no SDK to install -- you configure it via a .coderabbit.yaml file and interact through PR comments. Optionally, install the CLI for local pre-commit reviews.
1. Navigate to https://github.com/apps/coderabbitai
2. Click "Install" and select your organization
3. Choose repository access:
- "All repositories" for org-wide coverage
- "Only select repositories" for targeted setup
4. Authorize the requested permissions (read code, write PR comments)
5. You will be redirected to app.coderabbit.ai to complete onboarding
set -euo pipefail
# Confirm the GitHub App is installed on your repo
gh api repos/YOUR_ORG/YOUR_REPO/installation --jq '.app_slug'
# Expected output: coderabbitai
# .coderabbit.yaml (place in repository root)
language: "en-US"
reviews:
profile: "assertive" # Options: chill, assertive
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: false
sequence_diagrams: true
auto_review:
enabled: true
drafts: false
base_branches:
- main
- develop
chat:
auto_reply: true
set -euo pipefail
# Install CodeRabbit CLI for local pre-commit reviews
curl -fsSL https://cli.coderabbit.ai/install.sh | sh
# Verify installation
cr --version
set -euo pipefail
# Create a test branch and PR to verify CodeRabbit is active
git checkout -b test/coderabbit-verification
echo "// test change" >> src/index.ts
git add src/index.ts && git commit -m "test: verify coderabbit integration"
git push -u origin test/coderabbit-verification
gh pr create --title "test: verify CodeRabbit" --body "Testing CodeRabbit integration"
# CodeRabbit will post a review within 2-5 minutes
# Check the PR for the walkthrough comment and line-level feedback
1. Navigate to app.coderabbit.ai and sign in with GitLab
2. Select your GitLab group during onboarding
3. Provide a GitLab access token with api and read_repository scopes
4. CodeRabbit automatically configures the webhook:
https://coderabbit.ai/gitlabHandler
5. Place .coderabbit.yaml in repository root (same format as GitHub)
.coderabbit.yaml configuration file in repository root| Issue | Cause | Solution |
|-------|-------|----------|
| No review on PR | App not installed on repo | Add repo in GitHub App settings > Repository access |
| "Not accessible" error | Missing permissions | Reinstall GitHub App with correct org/repo selection |
| Review only on some PRs | PR author has no seat | Assign a seat at app.coderabbit.ai > Subscription |
| CLI install fails | Unsupported platform | Check system requirements at coderabbit.ai/cli |
| GitLab webhook missing | Token scope insufficient | Ensure token has api and read_repository scopes |
CodeRabbit charges per seat (developer who creates PRs). To manage seats:
1. Go to app.coderabbit.ai > Organization > Subscription
2. Assign seats to specific developers, or set "Active committers" mode
3. Bot accounts (dependabot, renovate) should NOT consume seats
4. Only users who open PRs need seats; reviewers do not
Install CodeRabbit on one staging or pilot repository, add the minimal
.coderabbit.yaml, open a harmless test pull request, and verify the review is
posted without exposing repository secrets or private diff content in logs. If
the app has unexpected repository access or a token scope is broader than
approved, remove access and correct the installation before rollout.
Proceed to coderabbit-hello-world for your first customized review configuration.
npx skills add jeremylongshore/coderabbit-install-auth下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer