by griffinmartin · Claude Skill · ★ 516
opencode-claude-auth Self-contained Anthropic auth provider for OpenCode using your Claude Code credentials — no separate login or API key needed. How it works The plugin registers its own auth provider with a custom fetch handler that intercepts all Anthropic API requests. It reads OAuth tokens from the macOS Keychain (or on other platforms), caches them in memory with a 30-second TTL, and handles the full request lifecycle — no builtin Anthropic auth plugin required. It also syncs credentials to OpenCode's as a fallback (on Windows, it writes to both and to cover all installation methods). If a token is near expiry, it runs the Claude CLI to trigger a refresh. Background re-sync runs every 5 minutes. Prerequisites Claude Code installed and authenticated (r
| Stars | 516 |
| Forks | 48 |
| Language | TypeScript |
| Category | Claude Skill |
| License | MIT |
| Quality Score | 66.85/100 |
| Open Issues | 8 |
| Last Updated | 2026-03-27 |
| Created | 2026-03-19 |
| Platforms | claude-code, node |
| Est. Tokens | ~14k |
These tools work well together with opencode-claude-auth for enhanced workflows:
Explore other popular claude skill tools:
opencode-claude-auth is OpenCode plugin that uses your existing Claude Code credentials — no separate login needed. It is categorized as a Claude Skill with 516 GitHub stars.
opencode-claude-auth is primarily written in TypeScript. It covers topics such as ai, anthropic, authentication.
You can find installation instructions and usage details in the opencode-claude-auth GitHub repository at github.com/griffinmartin/opencode-claude-auth. The project has 516 stars and 48 forks, indicating an active community.
opencode-claude-auth is released under the MIT license, making it free to use and modify according to the license terms.