Opencode Anthropic Auth Fix — Development skill for Claude Code
One-command OpenCode fix for Anthropic subscription billing.
How to install Opencode Anthropic Auth Fix
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open iamtheavoc1/opencode-anthropic-auth-fix and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Opencode Anthropic Auth Fix does
One-command OpenCode fix for Anthropic subscription billing. Installs @ex-machina/opencode-anthropic-auth, patches self-healing auth recovery, and rewrites opencode.json so OpenCode uses your Claude Pro/Max session without the misleading 'out of extra usage' error.
Alternatives in Development
- Opencode Claude Auth — OpenCode plugin that uses your existing Claude Code credentials — no separate login needed 903 ★
- Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★
- Openclaw Billing Proxy — Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage 460 ★
README
opencode-anthropic-auth-fix
The repo name is historical. Today this project is a **general-purpose Anthropic OAuth repair and refresh toolkit for OpenCode + Claude Code users**.
It does two jobs:
- fixes the OpenCode request-shape problem that causes the misleading "You're out of extra usage" error
- keeps Anthropic OAuth tokens usable with a manual flow, a recurring local flow, or a remote VPS-offload flow
The short version
If you want a one-time/manual setup:
bash ./install.sh --mode=manual
If you want local recurring refresh while your machine is awake:
bash ./install.sh --mode=recurring-local
If you want refresh to keep running while your laptop sleeps or is shut down, follow:
If you want **OpenCode itself** to keep running while your Mac is closed, use:
First-time requirement
If you have never logged into Claude Code on this machine, do this once first:
claude auth login
After that, run one of the install commands above.
What gets installed
The installer writes runtime helpers to:
~/.local/share/opencode-anthropic-auth/
Main helpers:
doctor.mjs— inspect, refresh, or auto-fix auth staterecover.sh— walk through one-time recovery after a dead token chainreset.sh— delete the stored Anthropic OAuth entry for a clean slaterefresh-token.mjs— recurring local refresherpull-from-vps.sh— on-demand pull when VPS-offload mode is enabled
Repo-level convenience wrappers:
./install.sh./doctor.sh./reset.sh
Three supported approaches
1) Manual mode
Best when you want zero background jobs.
Install:
bash ./install.sh --mode=manual
What it does:
- installs the OpenCode fix
- installs
doctor.mjs,recover.sh, andreset.sh - installs the
claude()shell wrapper - does not install LaunchAgent / cron
Use it
Related Skills
Anthropic Agent SDK Relay
Anthropic Messages API endpoint answered by the Claude Agent SDK, so self-hosted n8n can use a Claude subscrip
Seamkeeper
A self-healing continuity protocol for a personal coding agent: Telegram, tmux, memory, watchdogs, and recover
Opencode Anthropic Login Via CLI
OpenCode plugin for using Anthropic models with your Claude Pro/Max subscription
Commandcode Go Opencode
Unofficial bridge that lets a Command Code Go subscription talk to any OpenAI- or Anthropic-compatible client
Opencode OAuth Fix
OpenCode Anthropic Claude OAuth authentication fix guide and setup script
ChatGPT Use
Turn your ChatGPT web subscription into a coding-agent backend — no API key, no Codex billing. Built on chrome
Related Agents
SaaS Builder
Builds multi-tenant SaaS products on Next.js, Supabase and Stripe with auth, roles, billing, an admin panel an
Engineering AI Data Remediation Engineer
Specialist in self-healing data pipelines — uses air-gapped local SLMs and semantic clustering to automaticall
AI Data Remediation Engineer
Specialist in self-healing data pipelines — uses air-gapped local SLMs and semantic clustering to automaticall