Opencode Anthropic OAuth — Development skill for Claude Code
OpenCode plugin for Anthropic Claude Pro/Max OAuth login — no Claude Code needed.
How to install Opencode Anthropic OAuth
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open shahidshabbir-se/opencode-anthropic-oauth and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Opencode Anthropic OAuth does
OpenCode plugin for Anthropic Claude Pro/Max OAuth login — no Claude Code needed.
Alternatives in Development
- Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★
- Connect Vybe — Connect and authenticate the Vybe Solana MCP server over OAuth 2.2k ★
- Claude Balancer — A load balancer proxy for multiple Claude OAuth accounts with automatic failover, request tracking, and web da 910 ★
README
opencode-anthropic-oauth
OpenCode plugin for Anthropic Claude Pro/Max OAuth login — no Claude Code needed.
What it does
Lets you authenticate with your Claude Pro/Max subscription directly in OpenCode via browser OAuth. No need to install Claude Code or manage credentials files.
Installation
npm install -g opencode-anthropic-oauth
Then add to your `opencode.json`:
{
"plugin": ["opencode-anthropic-oauth"]
}
Usage
- Run
/connectin OpenCode (oroc auth loginfrom CLI) - Select Anthropic > Claude Pro/Max
- Open the link in your browser and authorize
- Paste the code back into OpenCode
- Done — all Anthropic models are now available
How it works
- Implements the OAuth PKCE flow directly against Anthropic's auth endpoints
- Opens your browser for authentication — you log in with your Claude account
- Exchanges the authorization code for access + refresh tokens
- Auto-refreshes tokens when they expire — no manual re-auth needed
- Sets the required API headers on Anthropic requests
- Preserves prompt caching for efficient token usage
Changelog
0.4.1
- Fixed high token consumption — removed
cache_controlstripping that was disabling prompt caching - Added
x-anthropic-billing-headerfor proper token tracking - Aligned beta flags with official Claude CLI plugin
0.4.0
- Added
?beta=trueURL parameter for OAuth compatibility - Injected system identity prefix for claude-code beta
- Stripped
cache_control(now removed in 0.4.1)
0.3.0
- Added auto token refresh via loader hook
- Background proactive refresh timer (5min intervals)
Environment variable overrides
All OAuth parameters can be overridden via environment variables. If Anthropic changes something before we publish an update, set an env var and keep working:
| Variable | Description |
|---|---|
ANTHROPIC_CLIENT_ID |
OAuth client ID |
ANTHROPIC_CLI_VERSION |
Claude CLI version for User-Agent |
| `ANTHROPI |
Related Skills
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
Philibert
A Claude Code graphical interface with easy setup, all packaged, ready to use out of the box. No technical set
Opencode Claude Bridge
OpenCode plugin for Claude Pro/Max OAuth — auto-syncs from Claude CLI
Openchatx Claude Gateway
Connect local OpenChatX Agent Runtime to Anthropic Claude (Free/Pro/Team) via OAuth 2.1 Remote MCP
Related Agents
Auth Tester
Authentication and session management testing agent. Use for login bypass, session fixation, password reset fl
Supabase Auth Linker
Use proactively whenever the user asks a question about Supabase authentication, login, security, JWTs, RLS, O
Designers
The VP of Design at Claude Inc, leading a six-skill design department — ui-ux-pro-max (design systems), taste