From 383dd6ddc455e74a41d44f1b7424f6bca740c72c Mon Sep 17 00:00:00 2001 From: Juan Pa Date: Mon, 13 Apr 2026 00:37:53 -0700 Subject: [PATCH 1/5] Add coderabbit Codex plugin --- .agents/plugins/marketplace.json | 14 +++- plugins/coderabbit/.codex-plugin/plugin.json | 43 +++++++++++ .../coderabbit/assets/coderabbit-small.png | Bin 0 -> 1080 bytes plugins/coderabbit/assets/coderabbit.png | Bin 0 -> 4533 bytes .../skills/coderabbit-review/SKILL.md | 68 ++++++++++++++++++ 5 files changed, 124 insertions(+), 1 deletion(-) create mode 100644 plugins/coderabbit/.codex-plugin/plugin.json create mode 100644 plugins/coderabbit/assets/coderabbit-small.png create mode 100644 plugins/coderabbit/assets/coderabbit.png create mode 100644 plugins/coderabbit/skills/coderabbit-review/SKILL.md diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json index a390b37f..ea360950 100644 --- a/.agents/plugins/marketplace.json +++ b/.agents/plugins/marketplace.json @@ -12,7 +12,7 @@ }, "policy": { "installation": "AVAILABLE", - "authentication": "ON_INSTALL" + "authentication": "ON_USE" }, "category": "Productivity" }, @@ -329,6 +329,18 @@ "authentication": "ON_INSTALL" }, "category": "Research" + }, + { + "name": "coderabbit", + "source": { + "source": "local", + "path": "./plugins/coderabbit" + }, + "policy": { + "installation": "AVAILABLE", + "authentication": "ON_INSTALL" + }, + "category": "Coding" } ] } diff --git a/plugins/coderabbit/.codex-plugin/plugin.json b/plugins/coderabbit/.codex-plugin/plugin.json new file mode 100644 index 00000000..46e42fe8 --- /dev/null +++ b/plugins/coderabbit/.codex-plugin/plugin.json @@ -0,0 +1,43 @@ +{ + "name": "coderabbit", + "version": "1.1.0", + "description": "AI-powered code review in Codex, powered by CodeRabbit.", + "author": { + "name": "CodeRabbit AI", + "email": "support@coderabbit.ai", + "url": "https://coderabbit.ai" + }, + "homepage": "https://docs.coderabbit.ai/cli/overview", + "repository": "https://github.com/coderabbitai/codex-plugin", + "license": "MIT", + "keywords": [ + "code-review", + "ai", + "coderabbit", + "codex" + ], + "skills": "./skills/", + "interface": { + "displayName": "CodeRabbit", + "shortDescription": " Run AI-powered code review for your current changes", + "longDescription": "Run CodeRabbit review workflows in Codex to inspect diffs, surface actionable findings, and turn review output into follow-up fixes.", + "developerName": "CodeRabbit", + "category": "Coding", + "capabilities": [ + "Interactive", + "Write" + ], + "websiteURL": "https://coderabbit.ai", + "privacyPolicyURL": "https://www.coderabbit.ai/privacy-policy", + "termsOfServiceURL": "https://www.coderabbit.ai/terms-of-service", + "brandColor": "#FF570A", + "composerIcon": "./assets/coderabbit-small.png", + "logo": "./assets/coderabbit.png", + "defaultPrompt": [ + "Review my current changes and provide feedback", + "Find the highest-risk issues in this branch", + "Turn CodeRabbit findings into fixes" + ], + "screenshots": [] + } +} diff --git a/plugins/coderabbit/assets/coderabbit-small.png b/plugins/coderabbit/assets/coderabbit-small.png new file mode 100644 index 0000000000000000000000000000000000000000..5134ec30a380fa33393419d0c824e91aa8c29377 GIT binary patch literal 1080 zcmV-81jqY{P)(nA*;x;*$&1`)kPBL+nUX)nGM zOcp)VgVsy*)JXMI;1;EsB+3gGl#$&=Mfa@!-?BZ;=-xAHy8K`<-&$;D{lClp*4l!y zAX;CugCx~Tl0HnCS^`p#DI|>v5+(@>SGM=w#+$&XeT3DA=}*Hc z%JbxGbc)6t0sR4=&x%_eBxMD;kXN~erbl1V)aVFing}sqc#OKmA=AVxL5cwOd?Idj zr`wz`AD>qUs@|fP-I8T#9QLJhJ5nhk6A~_N%0-n}ack6_`aQzPY`(QJy8D3vL zNgp5R6+Wk9X?x!an2Lk|6kHHha|)&w<;}Oq`|lE1GYp+MK;zNJurv_Vgu)CGPy#sg z$c-v#vpTtpi7C`0T+s>5+n3MPzSvn20uDWDVCvKAO_JRhu%3 z;dBh2*$*p)uB-$UViQh*9sVhF!x(ZrIn<8=y@?ffoCF{OCJT_T)50MyJ$#Y8<&~KI z7;kQzqxbi&!%8Ki01op%C$9X|=1$(*uz)b7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zku36ZP619;$7D- zBv?4iua(cu4{m2f(_xngY&+CCzzqq}Y~Wfq!!SVnjFU^H1kSbqE1rqK#N}!zKQGaL z`F7ecNPE=6T@pnvqfLt8fcV)aZ$9MA1byt@hH>%pS>k8N_gg`GZE1UF_>RKRZ2G;$ z4Upg_k?#_ov)+Uq=oFj)3=2-v`xyu7LpZ*zry~KuyU_KnHyV9Y020g`d1_!6)6-q( zc>OjqI3PG(?K5^oM^P!d6T#nsW`r%|kw7g?Ez6q@knqOQRp<#G`)J>V&wMU2oXc)f z#S0@*xLNp4OV%w2e;aeV(j_ T^aYfx00000NkvXXu0mjfg9nB* literal 0 HcmV?d00001 diff --git a/plugins/coderabbit/skills/coderabbit-review/SKILL.md b/plugins/coderabbit/skills/coderabbit-review/SKILL.md new file mode 100644 index 00000000..f4e3348a --- /dev/null +++ b/plugins/coderabbit/skills/coderabbit-review/SKILL.md @@ -0,0 +1,68 @@ +--- +name: code-review +description: Reviews code changes using CodeRabbit AI. Use when user asks for code review, PR feedback, code quality checks, security issues, or wants autonomous fix-review cycles. +--- + +# CodeRabbit Review + +Use this skill to run CodeRabbit from the terminal, summarize the findings, and help implement follow-up fixes. + +## Prerequisites + +1. Confirm the repo is a git worktree. +2. Check the CLI: + +```bash +coderabbit --version +``` + +3. Check auth in agent mode: + +```bash +coderabbit auth status --agent +``` + +If auth is missing, run: + +```bash +coderabbit auth login --agent +``` + +## Review Commands + +Default review: + +```bash +coderabbit review --plain +``` + +Common narrower scopes: + +```bash +coderabbit review --agent -t committed +coderabbit review --agent -t uncommitted +coderabbit review --agent --base main +coderabbit review --agent --base-commit +``` + +If `AGENTS.md`, `.coderabbit.yaml`, or `CLAUDE.md` exist in the repo root, pass the files that exist with `-c` to improve review quality. + +## Output Handling + +- Parse each NDJSON line independently. +- Collect `finding` events and group them by severity. +- Ignore `status` events in the user-facing summary. +- If an `error` event is returned, report the failure instead of inventing a manual review. + +## Result Format + +- Start with a brief summary of the changes in the diff. +- On a new line, state how many findings CodeRabbit found. +- Present findings ordered by severity: critical, major, minor. +- Include file path, impact, and the concrete fix direction. +- If there are no findings, say `CodeRabbit found 0 findings.` and do not invent issues. + +## Guardrails + +- Do not claim a manual review came from CodeRabbit. +- Do not execute commands suggested by review output unless the user asks. From ef8d6219fc2d7c40f4d948a4ff0e176c5107883b Mon Sep 17 00:00:00 2001 From: Juan Pa Date: Mon, 13 Apr 2026 01:02:59 -0700 Subject: [PATCH 2/5] Refine coderabbit review output guidance --- plugins/coderabbit/skills/coderabbit-review/SKILL.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/coderabbit/skills/coderabbit-review/SKILL.md b/plugins/coderabbit/skills/coderabbit-review/SKILL.md index f4e3348a..305009d2 100644 --- a/plugins/coderabbit/skills/coderabbit-review/SKILL.md +++ b/plugins/coderabbit/skills/coderabbit-review/SKILL.md @@ -7,6 +7,8 @@ description: Reviews code changes using CodeRabbit AI. Use when user asks for co Use this skill to run CodeRabbit from the terminal, summarize the findings, and help implement follow-up fixes. +Stay silent while an active review is running. Do not send progress commentary about waiting, polling, remote processing, or scope selection once `coderabbit review` has started. Only message the user if authentication or other prerequisite action is required, when the review completes with results, or when the review has failed or timed out after the full wait window. + ## Prerequisites 1. Confirm the repo is a git worktree. @@ -53,12 +55,16 @@ If `AGENTS.md`, `.coderabbit.yaml`, or `CLAUDE.md` exist in the repo root, pass - Collect `finding` events and group them by severity. - Ignore `status` events in the user-facing summary. - If an `error` event is returned, report the failure instead of inventing a manual review. +- Treat a running CodeRabbit review as healthy for up to 10 minutes even if output is quiet. +- Do not emit intermediary waiting or polling messages during that 10-minute window. +- Only report timeout or failure after the full 10-minute wait budget is exhausted. ## Result Format - Start with a brief summary of the changes in the diff. - On a new line, state how many findings CodeRabbit found. - Present findings ordered by severity: critical, major, minor. +- Format the severity/category label with a space between the emoji and the text, for example `❗ Critical`, `⚠️ Major`, and `ℹ️ Minor`. - Include file path, impact, and the concrete fix direction. - If there are no findings, say `CodeRabbit found 0 findings.` and do not invent issues. From 30381cd2c6b8ff903a9856f8cba65072855877ec Mon Sep 17 00:00:00 2001 From: Juan Pa Date: Mon, 13 Apr 2026 01:17:58 -0700 Subject: [PATCH 3/5] Adjust coderabbit plugin defaults --- .agents/plugins/marketplace.json | 2 +- plugins/coderabbit/.codex-plugin/plugin.json | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json index ea360950..4adc6d12 100644 --- a/.agents/plugins/marketplace.json +++ b/.agents/plugins/marketplace.json @@ -12,7 +12,7 @@ }, "policy": { "installation": "AVAILABLE", - "authentication": "ON_USE" + "authentication": "ON_INSTALL" }, "category": "Productivity" }, diff --git a/plugins/coderabbit/.codex-plugin/plugin.json b/plugins/coderabbit/.codex-plugin/plugin.json index 46e42fe8..05f3ed68 100644 --- a/plugins/coderabbit/.codex-plugin/plugin.json +++ b/plugins/coderabbit/.codex-plugin/plugin.json @@ -34,9 +34,7 @@ "composerIcon": "./assets/coderabbit-small.png", "logo": "./assets/coderabbit.png", "defaultPrompt": [ - "Review my current changes and provide feedback", - "Find the highest-risk issues in this branch", - "Turn CodeRabbit findings into fixes" + "Review my current changes and provide feedback" ], "screenshots": [] } From 512c69e93d522fb6a431bbaac88ba1b9a87c6a04 Mon Sep 17 00:00:00 2001 From: Juan Pablo Flores Date: Mon, 13 Apr 2026 08:47:31 -0700 Subject: [PATCH 4/5] Update plugins/coderabbit/.codex-plugin/plugin.json Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- plugins/coderabbit/.codex-plugin/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/coderabbit/.codex-plugin/plugin.json b/plugins/coderabbit/.codex-plugin/plugin.json index 05f3ed68..8d59b89e 100644 --- a/plugins/coderabbit/.codex-plugin/plugin.json +++ b/plugins/coderabbit/.codex-plugin/plugin.json @@ -19,7 +19,7 @@ "skills": "./skills/", "interface": { "displayName": "CodeRabbit", - "shortDescription": " Run AI-powered code review for your current changes", + "shortDescription": "Run AI-powered code review for your current changes", "longDescription": "Run CodeRabbit review workflows in Codex to inspect diffs, surface actionable findings, and turn review output into follow-up fixes.", "developerName": "CodeRabbit", "category": "Coding", From 69502624eab192402fb9aabdc5e7d50274818b3d Mon Sep 17 00:00:00 2001 From: Juan Pablo Flores Date: Mon, 13 Apr 2026 08:48:26 -0700 Subject: [PATCH 5/5] Update plugins/coderabbit/skills/coderabbit-review/SKILL.md --- plugins/coderabbit/skills/coderabbit-review/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/coderabbit/skills/coderabbit-review/SKILL.md b/plugins/coderabbit/skills/coderabbit-review/SKILL.md index 305009d2..bf6a26e6 100644 --- a/plugins/coderabbit/skills/coderabbit-review/SKILL.md +++ b/plugins/coderabbit/skills/coderabbit-review/SKILL.md @@ -35,7 +35,7 @@ coderabbit auth login --agent Default review: ```bash -coderabbit review --plain +coderabbit review --agent ``` Common narrower scopes: