OpenCode CLI integration: model-agnostic review skill for code, plans, and directories
npx claudepluginhub omnihola/claude-code-opencodeOpenCode CLI integration: model-agnostic review skill for code, plans, and directories. Supports any AI provider via provider/model config.
A Claude Code plugin that uses OpenCode CLI as a model-agnostic review harness. Review code, plans, diffs, and entire directories using any AI provider.
| Skill | Trigger phrases | Description |
|---|---|---|
omnihola:opencode | "review with opencode", "have opencode review", "get second opinion", "critique this", "review folder", "analyze directory", "scan project" | Review files or directories using OpenCode CLI |
# Clone the repository
git clone <repo-url>
# Ensure OpenCode CLI is installed and authenticated
npm install -g opencode-ai
opencode providers login
Then install the plugin in Claude Code:
claude plugin install ./claude-code-opencode
Just ask Claude Code naturally:
"Have opencode review my changes"
"Get a second opinion on this plan"
"Review the src/ folder with opencode"
"Review with opencode using google/gemini-2.5-pro"
Settings are stored in .opencode-review.json at the project root:
| Setting | Description | Default |
|---|---|---|
model | AI model in provider/model format | anthropic/claude-sonnet-4-6 |
max_files_per_batch | Max files per sub-agent batch (directory mode) | 20 |
max_concurrent_agents | Max parallel sub-agents | 5 |
exclude_patterns | Directories/patterns to skip | ["node_modules", ".git", "dist", ".claude-plugin", "tests/tmp"] |
Supported providers: Anthropic, OpenAI, Google, and any other provider supported by your OpenCode CLI installation.
See references/setup.md for full setup and troubleshooting.
4.0.0