

A Claude Code plugin that brings Optibot AI-powered code reviews directly into your coding workflow. Optibot catches production-breaking bugs, surfaces business logic issues, and strengthens security — all without leaving Claude Code.
What is a Claude Code plugin?
Claude Code plugins extend Claude's capabilities with new skills, tools, and integrations. Once installed, this plugin lets Claude run Optibot reviews on your behalf — just ask in natural language. Learn more about Claude Code plugins.
Installation
Optibot Plugin for Claude Code
A Claude Code plugin that brings Optibot AI-powered code reviews directly into your coding workflow. Optibot catches production-breaking bugs, surfaces business logic issues, and strengthens security — all without leaving Claude Code.
Requirements
Installation Options
Option 1: Inside a Claude Code Session (VS Code or Terminal)
- Type
/plugin in the Claude Code chat to open the Plugin Manager UI
- Navigate to the Marketplace tab
- Add the Optibot marketplace repo:
Optimal-AI/optibot-skill
- Go to the Discover tab
- Find Optibot and press Enter to install
- Run
/reload-plugins to activate it

Option 2: CLI (Terminal)
Note: These commands are run in your regular terminal, not inside a Claude Code session.
Add the marketplace:
claude plugin marketplace add Optimal-AI/optibot-skill
Install the plugin:
claude plugin install optibot@optimal-ai

Verifying Installation
After installing, run /reload-plugins inside your Claude Code session to load the plugin. You can confirm it's active by typing /help and looking for Optibot commands.
Getting Started
Authenticate with your Optibot account:
optibot login
Then open Claude Code and say "review my changes" — you're good to go.
Don't have an account? Sign up free →
What It Does
Once installed, Claude Code can:
- Review your code — just say "review my changes" and Claude runs the review for you
- Compare branches — "review my branch against main" triggers a branch diff review
- Review patch files — point it at any
.patch or .diff file
- Manage API keys — create, list, and delete keys for CI/CD
- Fix issues — Claude reads the review feedback and offers to apply fixes directly
- Review as an agent — when Claude has just made the changes itself, it runs agent review mode for structured findings it can act on directly instead of prose written for a person
Usage
After installing the plugin, just ask Claude naturally:
| What you say | What happens |
|---|
| "review my changes" | Reviews uncommitted local changes |
| "review my branch" | Compares current branch against main |
| "review this diff" | Reviews an arbitrary patch file |
| "set up optibot" | Walks you through auth setup |
| "create an API key for CI" | Creates and displays a new API key |
| "review the changes you just made" | Runs agent review mode for structured findings |
Agent review mode
When the reviewer is Claude itself rather than a person — Claude has just written the code and wants a second opinion before committing — the plugin runs agent review mode:
optibot review --agent --json
It is a single fast pass that returns structured findings (severity, category, file and line range, a confidence score, and often a suggested fix) instead of the prose summary a person reads. Claude acts on those findings directly. Requires CLI 0.8.0 or later; run npm install -g @optimalai/optibot to update.
The same review is available to other AI assistants through the Optibot MCP server as the review_agent tool, for hosts such as Cursor and Claude Desktop. That tool needs @optimalai/optibot-mcp 1.6.0 or later.
Authentication
On a dev machine — run optibot login to authenticate via browser (90-day token).