[bug] custom agents not being located

Resolved 💬 11 comments Opened Sep 11, 2025 by jmscott212 Closed Oct 28, 2025

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?

I'm in a loop where I create a new custom agent, complete agent creation, save it. Then when I use command /agent, I get the message "I have no agents." But when I try to re-create the agent, when I complete and try to save it, I get the message "agent exists." Claude Code can find the agent file, has tried troubleshooting the issue, but we can't resolve getting the /agent command to show my custom agents. How do we resolve? i'm running the latest version (1.0.111),

What Should Happen?

/agent should pull my list of custom agents and let me use them in my project.

Error Messages/Logs

Steps to Reproduce

  1. run command /agent
  2. create new agent
  3. save agent
  4. exit agent creation flow
  5. run command /agent to access created agent
  6. get message 'no custom agents found'
  7. create same agent again
  8. save new agent
  9. get error message that agent already exists
  10. claude in my terminal can find the agent files. only the command /agent cant

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

(1.0.111),

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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