[BUG] Simple Physicist.md agent is blocked

Resolved 💬 3 comments Opened Apr 19, 2026 by danshome Closed Apr 22, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Upload this to .claude/agent/domain/physicist.md, then run @agent-physicist Hello

No matter what prompt you send it, it will always respond with

@agent-physicist Hello

⏺ physicist(Physicist agent hello)
⎿  Done (0 tool uses · 0 tokens · 1s)
(ctrl+o to expand)
⎿  API Error: Claude Code is unable to respond to this request, which appears
to violate our Usage Policy (https://www.anthropic.com/legal/aup). Please
double press esc to edit your last message or start a new session for
Claude Code to assist with a different task. If you are seeing this
refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch
models.

physicist.md

What Should Happen?

If I send it @agent-physicist Hello, then it should respond back and not error.

Error Messages/Logs

@agent-physicist Hello                                                      
                          
⏺ physicist(Physicist agent hello)                                             
  ⎿  Done (0 tool uses · 0 tokens · 1s)                                      
  (ctrl+o to expand)                                                           
  ⎿  API Error: Claude Code is unable to respond to this request, which appears
      to violate our Usage Policy (https://www.anthropic.com/legal/aup). Please
      double press esc to edit your last message or start a new session for    
     Claude Code to assist with a different task. If you are seeing this       
     refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch 
     models.

Steps to Reproduce

Upload attached agent to .claude/agent/domain/physicist.md, then run @agent-physicist Hello

No matter what prompt you send it, it will always respond with

@agent-physicist Hello

⏺ physicist(Physicist agent hello)
⎿  Done (0 tool uses · 0 tokens · 1s)
(ctrl+o to expand)
⎿  API Error: Claude Code is unable to respond to this request, which appears
to violate our Usage Policy (https://www.anthropic.com/legal/aup). Please
double press esc to edit your last message or start a new session for
Claude Code to assist with a different task. If you are seeing this
refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch
models.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.114 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

I work on a farm dealing with pesticides, and I constantly get the error above when trying to use Opus or Sonnet.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗