griffinmartin/opencode-claude-auth
OpenCode plugin that uses your existing Claude Code credentials — no separate login needed. observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 95
- Release rhythm 96
- Longevity 11
Flags: young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 167
- days_rel: 30
- days_push: 30
- n_releases_24m: 45
Adoption not part of the score
1239 stars · 168 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An OpenCode plugin that authenticates Anthropic API requests using existing Claude Code OAuth credentials, eliminating the need for a separate login or API key. It reads tokens from the macOS Keychain or credentials files, caches them, and refreshes them automatically in the background.
Use cases
- reuse my claude code subscription credentials in opencode
- avoid managing a separate anthropic api key
- automatically refresh expiring claude oauth tokens
- switch between multiple claude code accounts in opencode
- set up opencode auth without logging in again
When to choose
- you already use Claude Code and want OpenCode to share its credentials
- you want zero-config Anthropic auth in OpenCode with automatic token refresh
- you manage multiple Claude Code accounts on macOS
When to avoid
- you don't have Claude Code installed and authenticated
- you prefer explicit API key authentication
- you use an OpenCode setup incompatible with npm plugins
Facets
plugin · maturity active
auth plugin-system http-client developer-tools large-language-models security windows cli opencode claude-code oauth anthropic credential-reuse token-refresh keychain nodejs macos linux
2 sources
- readme: https://github.com/griffinmartin/opencode-claude-auth · fetched 2026-08-28 · e30b5b986bf6
- registry_npm: https://registry.npmjs.org/opencode-claude-auth · fetched 2026-08-29 · 046bd351be52
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| griffinmartin/opencode-claude-auth | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="griffinmartin/opencode-claude-auth")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem