Some one apparently figured it out. The first system message has to include
"You are Claude Code, Anthropic's official CLI for Claude."
https://github.com/link-assistant/agent/pull/63