#345 · Primary category: AI Coding Assistants
opencode-claude-auth
OpenCode plugin that uses your existing Claude Code credentials — no separate login needed.
Project last updated:08/03/26
GitHub Stars
1.2K
Forks
168
Contributors
23
License
MIT
Why we included this project
If you already pay for Claude Code and want to use OpenCode, this plugin saves you from setting up a second Anthropic login. It reads the OAuth tokens Claude Code has already stored, from the macOS Keychain or the credentials file on Linux and Windows, and hands them to OpenCode's Anthropic provider. Near-expiry tokens get refreshed directly through Anthropic's OAuth endpoint, so renewal doesn't burn LLM tokens, and credentials are synced into OpenCode's auth.json as a fallback. On macOS it even detects multiple Claude Code accounts and lets you switch between them with `opencode auth login`. For teams standardizing on OpenCode while already paying for Claude Code, that removes a real chunk of setup friction and keeps API-key management in one place.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
superpowers
An agentic skills framework & software development methodology that works.
ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
skills
Skills for Real Engineers. Straight from my .agents directory.
opencode
The open source coding agent.
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.