Skip to content

About

Optibot Claude Skill

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

AI Code Review for Claude Code

MIT License Claude Code Plugin npm

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)

  1. Type /plugin in the Claude Code chat to open the Plugin Manager UI
  2. Navigate to the Marketplace tab
  3. Add the Optibot marketplace repo: Optimal-AI/optibot-skill
  4. Go to the Discover tab
  5. Find Optibot and press Enter to install
  6. Run /reload-plugins to activate it

Installing Optibot on Claude Code

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

Installing Optibot on Claude Code

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).

Setting up CI/CD — run optibot setup ci (CLI ≥ 0.4.0). It logs you in if needed, mints a long-lived API key, and prints copy-paste snippets for GitHub Actions and GitLab CI.

Inside a CI runner — set OPTIBOT_API_KEY=optk_... as an environment variable. Get the key with optibot setup ci from a dev machine first.

CI/CD Integration

# GitHub Actions
- name: Optibot Review
  env:
    OPTIBOT_API_KEY: ${{ secrets.OPTIBOT_API_KEY }}
  run: npx @optimalai/optibot review -b main

Uninstalling

claude plugin uninstall optibot

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Links

License

MIT — see LICENSE for details.
Copyright (c) 2026 Optimal AI, Inc.

About

Optibot Claude Skill

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors