opencode-claude-code-plugin
A plugin for using Claude models in opencode through the official Claude Code CLI.
What does it do?
Install and log in to the Claude Code CLI, then add the plugin to the opencode configuration. After restarting opencode, the Claude Code provider appears in the model selector. The plugin runs the CLI as a subprocess and makes Claude tools, MCP servers, and skills available. Claude Code's permission prompts apply when tools access the user's device.
Key features
- Connect to Claude models by running the official Claude Code CLI as a subprocess
- Use the existing CLI login, tools, MCP servers, and skills
- Add the Claude Code provider to the model selector in opencode 1.x and 2.x
- Diagnose connection status with the /claude-code-doctor command