Opencode Claude Bridge — Development skill for Claude Code
OpenCode plugin for Claude Pro/Max OAuth — auto-syncs from Claude CLI.
How to install Opencode Claude Bridge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dotCipher/opencode-claude-bridge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Opencode Claude Bridge does
OpenCode plugin for Claude Pro/Max OAuth — auto-syncs from Claude CLI.
Alternatives in Development
- /sync-agents-md - Regenerate AGENTS.md From CLAUDE.md — Synchronize AGENTS.md with current CLAUDE.md using the codex-cli-bridge skill 618 ★
- Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★
- Premiere Pro MCP — Adobe Premiere Pro MCP — independent, local-first server for supported workflows 292 ★
README
opencode-claude-bridge
Use your Claude Pro/Max subscription in [OpenCode](https://opencode.ai). If you're logged into the Claude CLI, it just works — no extra setup.
Install
Add to `~/.config/opencode/opencode.json`:
{
"plugin": ["opencode-claude-bridge"]
}
OpenCode auto-installs the plugin from npm on next launch.
If you're logged into the Claude CLI (`claude login`), the plugin auto-syncs your credentials — just select an Anthropic model and start chatting. If not, you'll be prompted to authenticate via browser OAuth or enter an API key.
**Upgrade:**
OpenCode pins the installed version. To upgrade to the latest:
cd ~/.cache/opencode && npm install opencode-claude-bridge@latest
Then restart OpenCode.
Install from sourcegit clone https://github.com/dotCipher/opencode-claude-bridge.git ~/opencode-claude-bridge
cd ~/opencode-claude-bridge && npm install && npm run build
Then reference the full path in your config:
{
"plugin": ["/Users/YOU/opencode-claude-bridge/dist/index.js"]
}
How the bridge works
The plugin sits between OpenCode and the Anthropic API:
**OpenCode** -> **opencode-claude-bridge** -> **Anthropic API**
Authentication
Supports both OAuth and API key auth:
- OAuth (Pro/Max) — Auto-reads your Claude CLI's OAuth tokens from macOS Keychain (or
~/.claude/.credentials.jsonon Linux). No browser flow needed. If Claude CLI isn't available, falls back to browser-based OAuth PKCE. - API key — Works alongside a standard
providerentry in your OpenCode config with anapiKey. The plugin only activates its OAuth handling for the built-inanthropicprovider; custom API key providers pass through unchanged. - Token refresh — When tokens expire, three layers are tried: re-read from Keychain, refresh via stored token, refresh via CLI's token.
Wire-level request matching
Every outbound OAuth request is rewritten to match w
Related Skills
Opencode Anthropic OAuth
OpenCode plugin for Anthropic Claude Pro/Max OAuth login — no Claude Code needed.
Opencode Anthropic Login Via CLI
OpenCode plugin for using Anthropic models with your Claude Pro/Max subscription
Anthropic Claude Max Proxy
OpenAI-compatible proxy for Claude Pro/Max subscriptions using OAuth.
Anthropic Cloaked Proxy
Two-proxy chain (soul + cloaked) to run Hermes Agent on Anthropic Max/Pro subscription via Claude Code OAuth
Opencode Antigravity Auth
Google Antigravity OAuth plugin for OpenCode (Revived & Extended) - Unlocks Gemini 3.8 Flash, 3.7 Flash, 3.1 P
Opencode With Claude
OpenCode plugin to use your Claude Max/Pro subscription with OpenCode via Meridian
Related Agents
Opencode
Coding subagent that runs inside opencode, on any provider and model opencode supports (OpenAI, Google, Moonsh
Documenter
Documentation update agent for 3-Tier Documentation System. Auto-syncs CLAUDE.md, CONTEXT.md files, and docs/a
Finalisation Coordinator
Phase 3 INLINE orchestrator: syncs the branch, runs the verify-phase test gate, chatgpt-pr-review, doc-sync sw