[BUG] 2.1.7 Broke Agents named 'openai' and 'google'

Resolved 💬 1 comment Opened Jan 14, 2026 by ventz Closed Jan 16, 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?

It seems the latest version of Claude Code "broke" agents a bit.
If you have personal agents called 'openai' (openai.md) and 'google' (google.md) in /Users/user/.claude/agents, they no longer show up with @agent-...

The rest of the agents seem fine, so it seems something specific to these?

What's strange is that it does see the file as a "+..." under the new output, but not as a "*..."

What Should Happen?

Agents should get called

Error Messages/Logs

Steps to Reproduce

Create an agent 'openai.md' in /Users/user/.claude/agents and then launch claude cli and try to use it with @openai or @agent-openai -- it will not find it. It will find the file for the agent instead...

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.2

Claude Code Version

2.1.7 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗