allannuwamanya

Coc Bridge โ€” Development skill for Claude Code

Development community

Claude Code ๐Ÿค OpenCode.

How to install Coc Bridge

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

What Coc Bridge does

Claude Code ๐Ÿค OpenCode. Just two agents, one little secret ๐Ÿ”ฅ

Alternatives in Development

  • JWT Scan โ€” JWT attack toolkit (offline) โ€” alg:none forgery, RS256โ†’HS256 algorithm confusion, weak-secret crack, static cl 4.5k โ˜…
  • MCP Proxy โ€” A bridge between Streamable HTTP and stdio MCP transports 2.4k โ˜…
  • 13 Bridge IDE โ€” Prompt 13: Bridge Layer (VS Code / JetBrains IDE Integration) 2.3k โ˜…

README

coc-bridge ๐Ÿ”Œ

**Claude Code โ†” OpenCode. Zero API keys. All free.**

[![npm](https://img.shields.io/npm/v/coc-bridge.svg)](https://www.npmjs.com/package/coc-bridge) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Node โ‰ฅ18](https://img.shields.io/badge/Node-%3E%3D18-brightgreen.svg)](https://nodejs.org)

`coc-bridge` is a tiny local proxy that lets **Claude Code** use **OpenCode's free hosted models** โ€” no Anthropic API key, no billing, no friction.

Claude Code โ”€โ”€( Anthropic format )โ”€โ”€โ–บ coc-bridge โ”€โ”€โ–บ opencode run -m 
Claude Code โ—„โ”€โ”€( SSE stream      )โ”€โ”€โ”€ coc-bridge โ—„โ”€โ”€ model output

โœจ Features

  • Zero dependencies โ€” pure Node.js, nothing to npm install
  • Drop-in replacement โ€” Claude Code doesn't know the difference
  • 9 free models out of the box (Space Bunny, Cat Jam, Nemotron Ultra, Muse Spark, and more)
  • Full streaming โ€” Anthropic SSE events, same as the real API
  • VS Code model picker โ€” custom model names show up in the sidebar dropdown
  • Auto-start โ€” the bridge starts itself when you run claude, so you never have to think about it
  • coc-bridge doctor โ€” one command checks everything is working

๐Ÿš€ Quick start (3 steps)

Step 1 โ€” Install opencode

npm install -g opencode

opencode is the only runtime requirement. coc-bridge itself has zero dependencies.

Step 2 โ€” Install coc-bridge

npm install -g coc-bridge

Step 3 โ€” Run setup

coc-bridge setup

That's it. From now on, running `claude` will automatically start the bridge and use free OpenCode models. ๐ŸŽ‰


๐Ÿงช Verify it's working

coc-bridge doctor
coc-bridge doctor ๐Ÿฉบ

  โœ”  Node.js                         v24.21.0
  โœ”  opencode                        0.3.x
  โœ”  claude wrapper                  /usr/local/bin/claude (patched โœ“)
  โœ”  Bridge server                   http://127.0.0.1:4045 โœ“
  โœ”  Default model                   opencode/space-