cemalturkcan

OpenCode plugin for using Anthropic models with your Claude Pro/Max subscription

53
11
100% credibility
Found Mar 27, 2026 at 53 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A plugin for OpenCode that connects Anthropic's Claude models using existing Claude Pro or Max subscriptions through automatic credential detection or browser login, bypassing the need for API keys.

How It Works

1
πŸ“° Discover the Helper

You hear about a simple way to connect your Claude Pro account to OpenCode without extra hassle.

2
πŸ“± Set Up OpenCode

You open OpenCode on your computer and tell it to use this friendly helper for Claude.

3
πŸ”— Connect to Claude

Go to the connect section, pick Anthropic, and choose your favorite way to sign in.

4
Pick Your Sign-In Way
πŸš€
Use Existing Login

It grabs your current Claude app sign-in automatically if you have it.

🌐
Browser Sign-In

A web page opens for you to log in with your Pro account and paste a code.

πŸ”‘
Manual Entry

Type in your details if you prefer the standard way.

5
βœ… Sign In Smoothly

Follow the simple steps, and it handles refreshing your access behind the scenes.

πŸŽ‰ Chat with Claude!

Your OpenCode now talks to Claude Pro seamlessly, ready for all your creative work.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 53 to 53 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is opencode-anthropic-login-via-cli?

This TypeScript OpenCode plugin bridges your Claude Pro or Max subscription to Anthropic models inside OpenCode, skipping the need for a separate API key. It pulls credentials directly from the Claude CLI on macOS keychain, Linux/Windows files, or CCS instances, with browser OAuth as fallback. Developers get seamless access to Claude's full capabilities via opencode plugin install in opencode.json, then Connect Provider > Anthropic.

Why is it gaining traction?

Unlike standard Anthropic API keys or opencode github copilot setups requiring paid tiers, it leverages your existing Pro login for zero-cost model access, auto-refreshing tokens and patching requests to match Claude CLI behavior. Cross-platform support and binary introspection keep it synced with Anthropic updates, dodging issues like "opencode github copilot the requested model is not supported." The opencode plugins list hook: instant Pro power without enterprise billing.

Who should use this?

OpenCode users with Claude Pro/Max who run the CLI for coding sessions and want Anthropic models in opencode github agent or opencode github action workflows. Ideal for JetBrains/IntelliJ devs via opencode plugin jetbrains, or those managing multiple CCS instances for opencode plugin simple memory in team setups. Skip if you're on free tiers or prefer opencode github copilot enterprise.

Verdict

Grab it if you're deep in the Claude ecosystemβ€”works as advertised for quick Pro integration, with clean docs and MIT license. At 53 stars and 1.0% credibility score, it's early but stable for personal use; watch for broader opencode plugin marketplace adoption before production.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.