opencode-claude-auth

by griffinmartin · Claude Skill · ★ 516

About opencode-claude-auth

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

aianthropicauthenticationclaudeclaude-codehomebrewnodejsoauthopencodeopencode-plugin

Quick Facts

Stars516
Forks48
LanguageTypeScript
CategoryClaude Skill
LicenseMIT
Quality Score66.85/100
Open Issues8
Last Updated2026-03-27
Created2026-03-19
Platformsclaude-code, node
Est. Tokens~14k

Compatible Skills

These tools work well together with opencode-claude-auth for enhanced workflows:

More Claude Skill Tools

Explore other popular claude skill tools:

View all Claude Skill tools →

Popular TypeScript Agent Tools

Frequently Asked Questions

What is opencode-claude-auth?

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.

What programming language is opencode-claude-auth written in?

opencode-claude-auth is primarily written in TypeScript. It covers topics such as ai, anthropic, authentication.

How do I install or use opencode-claude-auth?

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.

What license does opencode-claude-auth use?

opencode-claude-auth is released under the MIT license, making it free to use and modify according to the license terms.

View on GitHub → Browse Claude Skill tools