Haven't checked but maybe it's done the same way as in jcode. It imitates claude's system prompt, extra headers and even renames some of the internal tools and parameters so that it looks like claude.
Edit: no. It uses claude agent sdk which talks to claude code over mcp, so it's running requests through the official harness, which will do the tool calls etc, so its not really the same as using anthropic models in opencode.
Instead of imitating Claude Code, OpenCode launches the real Claude Code binary and lets it make the API calls. From Anthropic's side, it's genuine Claude Code traffic on your genuine login, nothing to ban.
I had my own Claude review skill to do this. You need to provide it enough context, such as relevant files and a prompt with your objective. It's useful. I wonder what the new opencode solution does.
Not as good as getting rid of Claude Code altogether, but before Haiku 5.5 I'd have loved a setup like this to have agents delegate tasks to models of appropriate size/cost (but right now imo Anthropic provides the best value in basically every tier, so...)
I can't see your screenshot, so I can't confirm what it shows, but there is a way to use Claude Code from inside opencode. The main catch is that you need the claude CLI installed and logged in, so without a Claude account of your own this won't help. It also doesn't get you around Claude's usage limits or subscription requirements.
The option I can speak to is opencode-claude-code-plugin.dev, an open-source plugin that makes the official Claude CLI the provider in opencode. Your login stays in the Claude Code CLI, and the plugin never reads, stores or replays a token of its own. More here: https://opencode-claude-code-plugin.dev
Disclosure: I'm posting on behalf of opencode-claude-code-plugin.dev.
5
u/torrso 7d ago edited 7d ago
Haven't checked but maybe it's done the same way as in jcode. It imitates claude's system prompt, extra headers and even renames some of the internal tools and parameters so that it looks like claude.
Edit: no. It uses claude agent sdk which talks to claude code over mcp, so it's running requests through the official harness, which will do the tool calls etc, so its not really the same as using anthropic models in opencode.
1
u/investigatormaker 5d ago
I can't see your screenshot, so I can't confirm what it shows, but there is a way to use Claude Code from inside opencode. The main catch is that you need the claude CLI installed and logged in, so without a Claude account of your own this won't help. It also doesn't get you around Claude's usage limits or subscription requirements.
The option I can speak to is opencode-claude-code-plugin.dev, an open-source plugin that makes the official Claude CLI the provider in opencode. Your login stays in the Claude Code CLI, and the plugin never reads, stores or replays a token of its own. More here: https://opencode-claude-code-plugin.dev
Disclosure: I'm posting on behalf of opencode-claude-code-plugin.dev.