9clg6 / sync-claude-code-token-in-open-code
PublicCopy Claude Code token from MacOS Keychain into OpenCode
A simple script that copies login details from Claude Code to OpenCode, letting users access paid Claude AI models using their existing Pro or Max subscription.
How It Works
You want to use your paid Claude Pro models inside the OpenCode app without extra setup or costs, and find this simple helper guide.
Make sure OpenCode and Claude Code are installed on your computer, and you've logged into your Claude Pro or Max account.
Download the small script that links your Claude login to OpenCode.
Launch the script with one command, and it quietly copies your secure login info to make everything work together.
Peek inside OpenCode to confirm Anthropic models like Claude Sonnet now show up as ready to use.
Every few hours, use Claude Code once then re-run the script to keep things fresh.
Open OpenCode, select your favorite Claude model, and start creating with your subscription – all seamless and free of hassle.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.