Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/coderabbit/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coderabbit",
"version": "1.1.1",
"version": "1.1.2",
"description": "AI-powered code review in Codex, powered by CodeRabbit.",
"author": {
"name": "CodeRabbit AI",
Expand Down
16 changes: 4 additions & 12 deletions plugins/coderabbit/skills/coderabbit-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,13 @@ If the command is not found or reports that CodeRabbit is not installed, do not
curl -fsSL https://cli.coderabbit.ai/install.sh | sh
```

Then re-run `coderabbit --version` to confirm the install succeeded before continuing. After a fresh install, proceed to the authentication step — the user will need to log in.
Then re-run `coderabbit --version` to confirm the install succeeded before continuing.

3. Verify authentication in agent mode:
3. Do not proactively check authentication. Start the requested review directly. The CLI reuses persisted credentials, refreshes expired access tokens, and resolves the current repository to the correct CodeRabbit organization. Changing repositories is not a reason to sign in again.

```bash
coderabbit auth status --agent
```

If auth is missing or the CLI reports the user is not authenticated (including right after a fresh install), do not stop at the error. Initiate the login flow:

```bash
coderabbit auth login --agent
```
Only if the review returns an explicit authentication error, run `coderabbit auth status --agent` to confirm the failure. If authentication is missing, initiate `coderabbit auth login --agent`, wait for it to succeed, and retry the same review command once.

Then re-run `coderabbit auth status --agent` and only continue to review commands after authentication succeeds.
If browser authentication cannot run in a non-interactive or ephemeral environment, tell the user to configure an Agentic API key in that environment with `coderabbit auth login --api-key <key>`. Do not repeatedly start browser login or request separate authentication for each repository.

## Review Commands

Expand Down