You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Third-party apps now draw from your extra usage, not your plan limits. We've added a $200 credit to get you started. Claim it at claude.ai/settings/usage and keep going.
any known workarounds?
Reacted by B. Branchard, Snero, Rafael Gomes, Clément Garnier, Tommy D. Rossi, Marcello Sylvester Bauer and Marko Jovanovic
Adding to opencode config and restarting session makes it work.
{
"$schema": "https://opencode.ai/config.json",
"mode": {
"plan": {
"prompt": "You are Claude Code, Anthropic's official CLI for Claude."
},
"build": {
"prompt": "You are Claude Code, Anthropic's official CLI for Claude."
}
}
}
Reacted by Marc Dix, Marcello Sylvester Bauer and bcacan
Reacted by Nathan Chere, soustruh, Marc Dix, Marcello Sylvester Bauer and tk
Actually, just removing any mentions of OpenCode, from the system promp, should also work.
Seems to work, yes. I just added some random "You are ..." prompts and as long as they don't contain OpenCode, OpenClaw etc. they went through in my testing. This might be useful for people that explicitly configured things to not match against Claude Code.
It's definitely just string blocks in the system prompt again, just need to find which exact strings it is. Please don't add extra slop that's not needed like some other plugins are trying to do.
I like this one because it keeps things simple and just does the minimum we need like the original plugin did
I have tested a few and will prune down. The kimaki solution does work (and that's in #52 right now) but it does feel overhanded.
But I'm going to prune it down to the minimum fixes. I do think there is an interesting content hash that is future facing, but again...I think keeping this minimum is the desired approach.
Sounds good, if you mean the cch= header I saw people claimed they reversed the zig binary but did not dig any deeper than reading some claims on twitter.
It's not actively enforced currently and won't be till Anthropic depricate old versions of CC. Doing the minimum until they start blocking again is the best approach. Provided the user agent aligns with old versions that didn't have these additional fields we should be fine.
Excellent to see that you've managed to fix it within minutes of Ant's broken release, and still kinda funny that they're still using vibecoded prompt check for this.
By using the latest release, I had 2 Windows pc's opencode worked without any problem, but I struggle to make the Linux Mint worked. After many different trial, I have to completely remove the Opencode and all its cache, package files and then re-install again to have it work. I am wondering what cahce the finger print to let Anthropic to able to block in that situation.
If they are using some batch detection each day to detect common prompt patterns among users maybe we can add inject some string (stable per user to avoid busting cache) so we are not all using the exact same system prompts. Let's see if their brittle solutions continue or they give up.
Activity
rafaelsmgomes commentedon Apr 8, 2026
Yup, same here.
segaduck commentedon Apr 8, 2026
I got the same message just this morning, too. Too fast and too bad again ...
ArthurHeymans commentedon Apr 8, 2026
griffinmartin/opencode-claude-auth#145 (comment) makes it work... I guess one needs to figure out what in the prompt is triggering it?
quarryman commentedon Apr 8, 2026
Confirm workaround @ArthurHeymans linked works for now.
Adding to opencode config and restarting session makes it work.
nathanchere commentedon Apr 8, 2026
Confirmed working for now, thank you
yanosh-k commentedon Apr 8, 2026
Actually, just removing any mentions of OpenCode, from the system promp, should also work.
soustruh commentedon Apr 8, 2026
@ArthurHeymans @quarryman Thanks for the workaround, it's really crazy it works this way… 😁 Just so you know, the schema file for OC.json says:
for the
modefieldMDr164 commentedon Apr 8, 2026
Seems to work, yes. I just added some random "You are ..." prompts and as long as they don't contain OpenCode, OpenClaw etc. they went through in my testing. This might be useful for people that explicitly configured things to not match against Claude Code.
michalrus commentedon Apr 8, 2026
JFYI, a better fix (because it's conditionally applied only to Anthropic, and could be added to this repo) is in remorses/kimaki@8721ba5 via griffinmartin/opencode-claude-auth#145 (comment).
eXamadeus commentedon Apr 8, 2026
Thanks! We're working on it now.
seaweeduk commentedon Apr 8, 2026
It's definitely just string blocks in the system prompt again, just need to find which exact strings it is. Please don't add extra slop that's not needed like some other plugins are trying to do.
I like this one because it keeps things simple and just does the minimum we need like the original plugin did
michalrus commentedon Apr 8, 2026
One issue I found with the remorses/kimaki@8721ba5 plugin is that it swallows all
instructions = [ … ]from~/.config/opencode/config.json.So I'm temporarily using something slightly different, until this repo is working again.
Good luck!
eXamadeus commentedon Apr 8, 2026
I have tested a few and will prune down. The kimaki solution does work (and that's in #52 right now) but it does feel overhanded.
But I'm going to prune it down to the minimum fixes. I do think there is an interesting content hash that is future facing, but again...I think keeping this minimum is the desired approach.
seaweeduk commentedon Apr 8, 2026
Sounds good, if you mean the cch= header I saw people claimed they reversed the zig binary but did not dig any deeper than reading some claims on twitter.
It's not actively enforced currently and won't be till Anthropic depricate old versions of CC. Doing the minimum until they start blocking again is the best approach. Provided the user agent aligns with old versions that didn't have these additional fields we should be fine.
eXamadeus commentedon Apr 8, 2026
Agreed, I stripped the CCH stuff and I'm trying the smallest changes (that preserve the user instructions). We're testing it now.
23 remaining items
gotgenes commentedon Apr 9, 2026
I can confirm v1.4.0 release is working for me. Thanks so much!
monarchmaisuriya commentedon Apr 9, 2026
in v1.4.0 I get -
Token refresh failed: 400 — {"error": "invalid_grant", "error_description": "Refresh token not found or invalid"}R00tedbrain commentedon Apr 9, 2026
@eXamadeus im upgraded to https://github.com/ex-machina-co/opencode-anthropic-auth/releases/tag/v1.4.0 but getting the same error extra usage
im on Mac OS how u fix it?
vsixer commentedon Apr 9, 2026
I just upgraded to 1.4.0 and it solved the problem for me.
r00tedbrain-backup commentedon Apr 9, 2026
Fixed now for me with 1.4 only need restar opencode -.-
nukeop commentedon Apr 9, 2026
Excellent to see that you've managed to fix it within minutes of Ant's broken release, and still kinda funny that they're still using vibecoded prompt check for this.
segaduck commentedon Apr 9, 2026
By using the latest release, I had 2 Windows pc's opencode worked without any problem, but I struggle to make the Linux Mint worked. After many different trial, I have to completely remove the Opencode and all its cache, package files and then re-install again to have it work. I am wondering what cahce the finger print to let Anthropic to able to block in that situation.
seaweeduk commentedon Apr 9, 2026
If they are using some batch detection each day to detect common prompt patterns among users maybe we can add inject some string (stable per user to avoid busting cache) so we are not all using the exact same system prompts. Let's see if their brittle solutions continue or they give up.
eXamadeus commentedon Apr 9, 2026
For those who are still having issues, delete
~/.cache/opencodeand restart. (Or wherever your systems equivalent cache resides).eXamadeus commentedon Apr 9, 2026
Alright this seems stable enough. I'll close it out.
If we find new blocks, let's make new issues to track it in. Thanks everyone for the help! Glad we got around it.
viiqswim commentedon Apr 9, 2026
Just wanted to post to say - thank you! I was stuck with this issue and the combination of:
1.4.0~/.cache/opencodeand restartFixed it for me. Thanks again!
vinayakkulkarni commentedon Apr 9, 2026
Getting
Provider Cache Missingafter deleting~/.cache/opencodebut it seem to be working now!nathanchere commentedon Apr 14, 2026
No longer working. "You're out of extra usage. Add more at claude.ai/settings/usage and keep going."
nukeop commentedon Apr 14, 2026
Did you check you're actually running the newest version?