Opencode Claude Bridge
Description
OpenCode plugin for Claude Pro/Max OAuth — auto-syncs from Claude CLI
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11