ianjwhite99

Opencode With Claude — Development skill for Claude Code

Development community

OpenCode plugin to use your Claude Max/Pro subscription with OpenCode via Meridian.

How to install Opencode With Claude

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ianjwhite99/opencode-with-claude and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Opencode With Claude does

OpenCode plugin to use your Claude Max/Pro subscription with OpenCode via Meridian.

Alternatives in Development

  • Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★
  • Opencode Anthropic OAuth — OpenCode plugin for Anthropic Claude Pro/Max OAuth login — no Claude Code needed 108 ★
  • Opencode Anthropic Login Via CLI — OpenCode plugin for using Anthropic models with your Claude Pro/Max subscription 104 ★

README

opencode-with-claude

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

Use [OpenCode](https://opencode.ai) with your [Claude Max](https://claude.ai) subscription.

What this is

An [OpenCode](https://opencode.ai) plugin that runs [Meridian](https://github.com/rynfar/meridian) *(formerly opencode-claude-max-proxy)* for you: **start OpenCode once** and the proxy comes up with it; **quit OpenCode** and the proxy stops. No separate proxy CLI or Docker container to manage.

**Compared to running the proxy yourself:**

  • One process to think about — OpenCode owns the proxy lifecycle (start/stop) instead of you juggling two things.
  • Several OpenCode windows at once — each instance gets its own proxy on an OS-assigned port, so ports do not collide and you avoid session issues from sharing one proxy across instances.
  • Explicit session headers — the plugin adds session tracking on outgoing API calls, so the proxy does not have to infer sessions from fingerprints alone.

How It Works

┌─────────────┐              ┌────────────────────┐       ┌─────────────────┐
│  OpenCode   │─────────────▶│  Claude Max Proxy  │──────▶│    Anthropic    │
│  (TUI/Web)  │ :3456 / auto │   (local server)   │  SDK  │    Claude Max   │
│             │◀─────────────│                    │◀──────│                 │
└─────────────┘              └────────────────────┘       └─────────────────┘

Quick Start

The plugin hooks into OpenCode's plugin system. When OpenCode launches, it starts the proxy, configures the Anthropic provider, and cleans everything up on exit.

**1. Install the plugin**

npm install -g opencode-with-claude

**2. Authenticate with Claude (one-time)**

npm install -g @anthropic-ai/claude-code
claude login

**3. Add to your `opencode.json`**

Global (`~/.config/opencode/opencode.json`) or project-level:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-with-claude"],