Anthropic Blocks OpenCode Identity In Claude

An independent script and tests show Anthropic's Claude OAuth system blocks the phrase "You are OpenCode" in system prompts when using Claude Pro/Max OAuth tokens. The tests found the first required system prompt must be exactly "You are Claude Code, Anthropic's official CLI for Claude." Other identity statements like Cursor, Pi, and Droid were accepted, suggesting selective blocking that affects OpenCode integrations.
Key Points
- 1Detects Claude OAuth rejecting system prompts containing the exact phrase 'You are OpenCode'.
- 2Highlights requirement for first system block: 'You are Claude Code, Anthropic's official CLI for Claude.'.
- 3Warns developers to avoid OpenCode identity strings when integrating Claude with OAuth tokens.
Scoring Rationale
Direct experimental evidence of targeted prompt blocking, limited by single-source testing and lack of official confirmation.
Sources
Public references used for this report.
Practice interview problems based on real data
1,625 SQL & Python problems across 15 industry datasets — the exact type of data you work with.
Try 250 free problems