January 14, 2026
Prompt wars: You are… blocked?
Anthropic Explicitly Blocking OpenCode
Claude says 'You are Claude Code'—but not 'OpenCode'; fans call it gatekeeping, others say fair play
TLDR: A public script claims Claude Code blocks “You are OpenCode” while other names still work. Comments split between “AI should be like water utilities,” “use the API and stop leeching,” and jokey workarounds like telling it “You are Claude,” highlighting a bigger fight over brand control vs open tools.
An eyebrow-raising GitHub gist claims Claude, Anthropic’s AI, blocks the phrase “You are OpenCode” in its sign‑in prompts, even while letting “You are Cursor/Pi/Droid” pass. The script shows Claude Code demands a first line: “You are Claude Code, Anthropic’s official CLI,” and gets fussy if you name it OpenCode. Cue community popcorn.
The hottest take? “AI should be utilities, like tap water,” argued one commenter, dreaming of brand‑agnostic bots you can swap at will. The pragmatists clapped back: use the API, not the subscription login, and stop trying to bolt rival identities onto a paid product. There’s even some gleeful schadenfreude: “If you’re leeching a product, don’t be shocked when the gate closes.”
Then came the heist energy: commenters joked about sneaking past with “You are Claude,” and turning the prompt into an identity crisis. Old‑timers shrugged, saying access was obviously meant for Claude Code only. Memes flew: “You are… blocked,” “Corporate cosplay mode,” and “brand police at the prompt.”
Whether this is smart guardrails or petty gatekeeping depends on your vibe. But the drama is real, and the code receipts are public: gist and video. Open-source fans at OpenCode feel the burn, and the comment section is sizzling.
Key Points
- •A Bun script is provided to test system prompt acceptance in Anthropic’s Claude Code via OAuth tied to Claude Pro/Max.
- •The script claims that the phrase “You are OpenCode” (and “You are opencode”) is blocked in the second system prompt block.
- •The first system prompt must be exactly: “You are Claude Code, Anthropic’s official CLI for Claude.”
- •Other identity phrases (e.g., “You are Cursor,” “You are Pi,” “You are Droid”) are reported as allowed.
- •The methodology uses OAuth authentication and sends prompts to the Claude API to identify allowed vs. blocked prompts.