Use your OpenCode Go subscription with Claude Code.
# Add to your Claude Code skills
git clone https://github.com/samueltuyizere/oc-go-ccGuides for using cli tools skills like oc-go-cc.
Last scanned: 5/19/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-19T07:46:23.223Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}A Go CLI proxy that lets you use your OpenCode Go or OpenCode Zen subscription with Claude Code.
oc-go-cc sits between Claude Code and OpenCode, intercepting Anthropic API requests, transforming them to the appropriate format (OpenAI, Responses, or Gemini), and forwarding them to OpenCode's endpoints. Claude Code thinks it's talking to Anthropic — but your requests go to affordable open models instead.
OpenCode Go gives you access to powerful open coding models for $5/month (then $10/month). OpenCode Zen provides curated, tested models with pay-as-you-go pricing. This proxy makes both work seamlessly with Claude Code's interface — no patches, no forks, just set two environment variables and go.
${VAR} interpolation# macOS / Linux
brew tap samueltuyizere/tap && brew install oc-go-cc
# Windows
scoop bucket add oc-go-cc https://github.com/samueltuyizere/scoop-bucket && scoop install oc-go-cc
# Docker (with Makefile)
cp .env.example .env # then put your API key in .env
make docker-up
# Docker (manual)
cp .env.example .env
docker build -t oc-go-cc .
docker run -d --restart unless-stopped --name oc-go-cc --env-file .env -p 3456:3456 oc-go-cc
Or see INSTALLATION.md for more options.
oc-go-cc init
Creates a default config at ~/.config/oc-go-cc/config.json. Edit it to add your API key, or set the environment variable:
export OC_GO_CC_API_KEY=sk-opencode-your-key-here
oc-go-cc serve
Stop the Docker container (if using Docker):
make docker-stop
export ANTHROPIC_BASE_URL=http://127.0.0.1:3456
export ANTHROPIC_AUTH_TOKEN=unused
claude
oc-go-cc serve Start the proxy server
oc-go-cc serve -b Start in background (detached from terminal)
oc-go-cc serve --port 8080 Start on a custom port
oc-go-cc stop Stop the running proxy server
oc-go-cc status Check if the proxy is running
oc-go-cc init Create default configuration file
oc-go-cc validate Validate configuration file
oc-go-cc models List all available models (Go + Zen)
oc-go-cc autostart enable Enable auto-start on login
oc-go-cc autostart disable Disable auto-start on login
oc-go-cc autostart status Check autostart status
oc-go-cc --version Show version
| Document | Description |
|---|---|
| INSTALLATION.md | Homebrew, Scoop, build from source, release binaries |
| CONFIGURATION.md | Config file reference, env vars, model routing, fallback chains |
| MODELS.md | Model capabilities, costs, and routing recommendations |
| CONTRIBUTING.md | Development setup, architecture, how it works |
| TROUBLESHOOTING.md | Common issues and debug mode |
oc-go-cc is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by samueltuyizere. Use your OpenCode Go subscription with Claude Code. It has 680 GitHub stars.
Yes. oc-go-cc passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/samueltuyizere/oc-go-cc" and add it to your Claude Code skills directory (see the Installation section above).
oc-go-cc is primarily written in Go. It is open-source under samueltuyizere on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh oc-go-cc against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars