[BUG] Unable to detect sub agent

Resolved 💬 12 comments Opened Jul 28, 2025 by guoyanting0919 Closed Jul 31, 2025

Environment

  • Claude CLI version: <!-- output of claude --version --> 1.0.61
  • Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 --> macOS Ventura 13.2.1
  • Terminal: <!-- e.g. iTerm2, Terminal App --> iterm2 zsh

Bug Description

<!-- A clear and concise description of the bug -->

Steps to Reproduce

  1. Added an agent via /agents
  1. /agents⎿ Agent changes:

Created agent: code-reviewer

  1. There are normal new files in .claude/agents in the project root directory

<img width="369" height="65" alt="Image" src="https://github.com/user-attachments/assets/4238550f-5a99-487f-878d-46fbb9f773a9" />

  1. /agents -> No agents found

<img width="673" height="234" alt="Image" src="https://github.com/user-attachments/assets/9f7d249e-cf3f-48f5-9a30-f8dac8ff7bae" />

Already tried restarting & uninstall claude code

<img width="835" height="579" alt="Image" src="https://github.com/user-attachments/assets/0332041f-40ac-4148-b1a8-66153ededcc7" />

<img width="1028" height="305" alt="Image" src="https://github.com/user-attachments/assets/782675e0-4e91-4628-8663-173c8e41b567" />

View original on GitHub ↗

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