Token导航 LogoToken导航

Agent Skill · 研究检索

coderabbit(coderabbit 搜索)

coderabbit 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

coderabbit 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 38,548。

总安装 1,544周安装 65GitHub Stars 14下载 541核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:coderabbit(coderabbit 搜索)
来源仓库:https://github.com/itechmeat/llm-code
仓库路径:skills/coderabbit
安装命令:
npx skills add https://github.com/itechmeat/llm-code --skill coderabbit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/itechmeat/llm-code --skill coderabbit

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

coderabbit 是基于 AI 的自动化代码审查工具,支持 40+ 种 linter 集成。适用于 GitHub/GitLab PR 自动评审,提供行级反馈与 walkthrough 摘要。可通过 CLI 本地预检,也可配置 webhook 接入 CI/CD 流程。

安装前必须完成前提检查,包括仓库权限、配置文件与平台设置。建议先在小规模仓库试运行,逐步调整规则灵敏度与成本配置。

来源仓库内路径:skills/coderabbit

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/itechmeat/llm-code --skill coderabbit;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

coderabbit 怎么安装?

在终端执行 npx skills add https://github.com/itechmeat/llm-code --skill coderabbit。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

coderabbit 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

coderabbit 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

coderabbit 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

coderabbit 用的人多吗?

公开数据是累计安装 1,544 次,近一周安装 65 次,下载 541 次,GitHub 14 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

coderabbit 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
coderabbit

coderabbit 搜索 · 本页

1,54414接触敏感数据MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

CodeRabbit

AI-powered code review for pull requests and local changes.

Quick Navigation

TaskReference
Install & run CLIcli-usage.md
Configure.coderabbit.yamlconfiguration.md
Supported tools (40+ linters)tools.md
Git platform setupplatforms.md
PR commands (@coderabbitai)pr-commands.md
Claude/Cursor/Codex workflowagent-integration.md
Triage findingstriage.md
Fix single issuefix.md
Reporting & metricsend-to-end-workflow.md
End-to-end workflowend-to-end-workflow.md
Windows/WSL setupwindows-wsl.md

Prerequisites Check (MUST RUN BEFORE REVIEW)

Before running CodeRabbit CLI, verify ALL of the following:

# 1. CLI installed?
which coderabbit || echo "MISSING: install with: curl -fsSL https://cli.coderabbit.ai/install.sh | sh"

# 2. Authenticated?
coderabbit auth status 2>&1 | grep -q "Logged in" || echo "MISSING: run coderabbit auth login"

# 3. Git repo has at least one commit? (CRITICAL — CLI crashes with GitError on empty repos)
git rev-parse HEAD >/dev/null 2>&1 || echo "MISSING: repo has no commits — make at least one commit first"

# 4. Base branch exists? (CLI defaults to 'main')
git rev-parse main >/dev/null 2>&1 || echo "WARNING: 'main' branch not found — use --base <branch>"

If any check fails, fix it before running the review. Do NOT proceed with a broken state.

Authentication failure rule: If authentication check fails (step 2), the agent MUST:

  1. Stop immediately — do not attempt to run the review
  2. Notify the user that CodeRabbit CLI is not authenticated
  3. Show the user the exact command to authenticate: coderabbit auth login
  4. Wait for the user to complete authentication before retrying
  5. Do NOT attempt to run coderabbit auth login on behalf of the user — it requires interactive browser redirect

Quick Start

Run Review

# AI agent workflow (most common) — note: 'review' subcommand is optional
coderabbit review --prompt-only --type uncommitted --no-color

# If base branch is not 'main' (e.g., master, develop):
coderabbit review --prompt-only --type uncommitted --base master --no-color

# Plain text output (human-readable)
coderabbit review --plain --type uncommitted --no-color

Local Capture Script

Persist output to a file for later analysis:

# IMPORTANT: use absolute path to the skill's script directory
python3 ~/.claude/skills/coderabbit/scripts/run_coderabbit.py --output coderabbit-report.txt

Options:

  • --output to choose a different file name (saved to .code-review/ in repo root)
  • --timeout to adjust the timeout in seconds (default: 1800)
  • --base to specify base branch (default: auto-detect from git)

PR Commands

@coderabbitai review          # Incremental review
@coderabbitai full review     # Complete review
@coderabbitai simplify        # Apply targeted simplifications to changed files
@coderabbitai fix merge conflict  # Attempt automatic merge-conflict resolution
@coderabbitai pause           # Stop auto-reviews
@coderabbitai resume          # Resume auto-reviews
@coderabbitai resolve         # Mark comments resolved

Severity Matrix

SeverityActionExamples
CRITICALFix immediatelySecurity, data loss, tenant isolation
HIGHShould fixReliability, performance, architecture violations
MEDIUMJudgment callMaintainability, type safety (quick wins)
LOWSkipStyle/formatting, subjective nits

AI Agent Workflow Pattern

Implement [feature] and then run CodeRabbit CLI in a background terminal.
Wait for it to complete, then read the report. Fix CRITICAL/HIGH issues. Ignore nits.

Step-by-step:

  1. Run prerequisites check (see above) — fix any issues before proceeding
  2. Detect base branch: git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null or fall back to main/master
  3. Run CLI in background: coderabbit review --prompt-only --type uncommitted --base <branch> --no-color
  4. Reviews take 7-30+ minutes — run in background (run_in_background=true)
  5. Read output when process completes
  6. Fix CRITICAL/HIGH findings, skip LOW
  7. Limit to 2-3 review iterations maximum

Troubleshooting

[error] stopping cli with no details

Run with DEBUG=* to see the actual error:

DEBUG=* coderabbit review --prompt-only --type uncommitted 2>&1 | grep -E "(ERROR|error|GitError)"

Check the log file:

ls -t ~/.coderabbit/logs/ | head -1 | xargs -I{} cat ~/.coderabbit/logs/{}

Common errors

ErrorCauseFix
GitError (no details)No commits in repoMake at least one commit
Failed to get commit SHA for branch mainBase branch doesn't existUse --base master or --base <your-branch>
Raw mode is not supportedInteractive mode in non-TTYAlways use --prompt-only or --plain
[error] stopping cli after authToken expiredRe-run coderabbit auth login
CLI hangs / no outputLarge changesetUse --type uncommitted to limit scope

Check auth status

coderabbit auth status

Linked Repositories (2026-02-18)

CodeRabbit can analyze linked repositories during PR review to catch cross-repo breakages (API/type/dependency drift).

  • Configure linked repositories in Knowledge Base settings.
  • As of 2026-03-11, Pro plans can link up to 2 repositories for Multi-Repo Analysis.
  • Use this when changes in one repo affect contracts in another.
  • Treat cross-repo findings as HIGH/CRITICAL when they indicate runtime incompatibility.

Dashboard and Reporting (2026-03-12)

  • Dashboard metrics are now split between Git platform reviews and IDE/CLI reviews.
  • Reporting surfaces now include Git-platform pages like Knowledge Base, Pre-merge Checks, and Reporting, plus IDE/CLI pages like Summary, Organization Trends, and Data Metrics.
  • Team filters are available across dashboards; use them when review volume or findings need to be separated by team rather than repository alone.

Simplify Code (Open Beta, Pro) (2026-03-13)

  • @coderabbitai simplify runs an agentic cleanup pass over the files changed in the PR.
  • It focuses on extracting reusable helpers, simplifying conditionals, and removing redundancy while preserving behavior.
  • CodeRabbit validates the result with the repository's existing test suite and can either open a follow-up PR or commit directly to the branch.
  • Not available for fork PR direct-commit mode.

Chat Access Control (GitHub Orgs) (2026-03-16)

  • Use chat.allow_non_org_members: false in .coderabbit.yaml when PR comment chat must stay limited to organization members.
  • This affects comment-thread interaction only; automatic PR review behavior is unchanged.
  • Default remains true, so public-repo chat stays open unless you opt out.

Resolve Merge Conflicts (Open Beta, Pro) (2026-03-17)

  • CodeRabbit can detect merge conflicts during PR review and offer one-click or comment-triggered resolution.
  • Trigger with @coderabbitai fix merge conflict or the Walkthrough checkbox on GitHub.
  • It commits a proper merge commit when successful, but declines if the resolution is ambiguous or touches security-critical logic such as auth, encryption, secrets, or access control.
  • If any conflicted file is declined, the whole auto-resolution attempt is aborted and no partial commit is created.

Betterleaks (replaces Gitleaks) (2026-03-19)

  • Secret scanning now uses Betterleaks (improved detection over Gitleaks).
  • The gitleaks config key in .coderabbit.yaml now controls Betterleaks.
  • Default remains enabled; existing secret scanning continues without changes.

Slop Detection (2026-03-24)

  • Automatically detects low-quality AI-generated PRs on public GitHub repositories.
  • Flagged in the PR Walkthrough comment.
  • Opt-in label tagging:
reviews:
  slop_detection:
    enabled: true # default
    label: "slop" # optional label

Bitbucket Data Center (2026-03-24)

  • Full support for Bitbucket Data Center as a Git platform.
  • OAuth 2.0, automated webhook configuration, and full PR review capabilities.

Audit Logs (2026-03-25)

  • Tamper-resistant audit log for every administrative action across the workspace.
  • Covers seat assignments/removals, role changes, org/repo changes, subscription events, config updates, and API key operations.
  • Accessible in Settings UI or via REST API for automated export.

CLI Agent Mode (2026-03-31)

  • coderabbit review --agent outputs results in structured JSON format for Skills and agent integrations.

CLI 0.4.x (2026-04-01 to 2026-04-06)

  • coderabbit auth login completes fully in the browser.
  • --agent now covers auth-related workflows better for agent environments.
  • --dir replaces --cwd for subdirectory-scoped reviews.
  • coderabbit stats is available for local review telemetry.

GitLab SSH Access (2026-04-02)

  • Self-managed GitLab can use SSH clone credentials instead of HTTPS.
  • This is useful when GitLab instances do not expose HTTPS cloning or enforce SSH-only repository access.

Codex Plugin (2026-04-14)

  • CodeRabbit is available as a dedicated Codex plugin in addition to the standalone CLI.
  • The plugin verifies CLI install/auth, triggers reviews from natural language or @coderabbit, and keeps findings inside the agent loop for follow-up fixes.

Global Overrides (2026-04-16)

  • Organization admins can enforce top-priority configuration overrides across every repository.
  • Nested objects merge with lower layers; arrays and scalar values replace them.

Custom Finishing Touch Recipes (Early Access) (2026-02-23)

Define reusable, named "finishing touch" recipes that apply agentic code changes to your PR.

See configuration.md for a minimal example.

Minimal Configuration

# .coderabbit.yaml
language: en-US
reviews:
  profile: chill
  high_level_summary: true
  tools:
    gitleaks:
      enabled: true
    ruff:
      enabled: true

Critical Prohibitions

  • Do not introduce fallbacks, mocks, or stubs in production code
  • Do not broaden scope beyond what CodeRabbit flagged
  • Do not "fix" style nits handled by formatters/linters
  • Do not ignore CRITICAL findings; escalate if unclear
  • Stop and resolve CLI errors (auth/network) before fixing code
  • Do not run CLI on a repo with no commits — it will silently crash

Links

Templates

平台分布

github-copilot

29.32%
按下载量换算159

OpenCode

24.66%
按下载量换算133

Claude Code

15.9%
按下载量换算86

Gemini CLI

12.17%
按下载量换算66

Cursor

6.78%
按下载量换算37

Antigravity

3.09%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills