unixfox

Use Claude Code in OpenCode - created from idea https://github.com/anomalyco/opencode/issues/9677

16
2
100% credibility
Found Mar 22, 2026 at 16 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

This is a plugin that connects the opencode coding assistant to Claude Code, allowing it to use Claude's AI models for conversations, tool usage, and code editing with session memory.

How It Works

1
🔍 Discover a coding boost

You hear about opencode, a helpful coding companion, and this add-on that connects it to Claude's powerful thinking for better code help.

2
📦 Prepare your tools

Make sure you have opencode and Claude Code ready on your computer so everything works smoothly together.

3
🔌 Add the Claude connection

Place the add-on into your project folder and tell opencode about it in a simple settings note.

4
⚙️ Pick your AI brain

Choose a Claude model like Haiku for quick help or Sonnet for deeper thinking in your settings.

5
💬 Start chatting with AI

Open opencode and talk to your AI – it remembers past chats in the same folder and responds smartly.

6
🛠️ Let AI handle tasks

Ask it to read files, edit code, or run simple commands, and watch it do the work while showing you updates.

🚀 Code faster and smarter

Your projects come alive with Claude's help, making coding feel easy and fun every time.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 16 to 16 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is opencode-claude-code-plugin?

This TypeScript plugin bridges OpenCode with Claude Code CLI, letting you run Claude's coding agent directly inside the OpenCode desktop app. Install the Claude Code CLI, tweak your opencode.json with models like haiku, sonnet, or opus, and get streaming responses, tool execution, and session reuse per directory—without touching OpenCode's core. It's a drop-in npm package for devs wanting Claude Code free tier power in a familiar UI.

Why is it gaining traction?

It delivers native Claude Code CLI behavior—full tool support like bash, edit, and GitHub MCP connectors—right in OpenCode, skipping cloud API limits and pricing. Session persistence keeps context alive across turns, and it handles plan mode prompts smoothly. Devs dig the zero-config install after Claude Code setup, plus debug logging for troubleshooting.

Who should use this?

OpenCode users hooked on Claude Code CLI for code reviews, GitHub integrations, or bash-heavy workflows. Backend teams building with Claude GitHub plugin skills, or solo devs chaining MCP tools for repo tasks. Skip if you run multiple OpenCode instances per dir, due to shared sessions.

Verdict

Worth a spin for OpenCode + Claude Code fans—solid docs and tests make setup straightforward despite 16 stars and 1.0% credibility score. Early maturity means watch for multi-instance bugs, but it's a clever local alternative to pricier cloud options.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.