Skip to content

[BUG] /agents command reports no agents even when there are several valid ones #8283

Description

Preflight Checklist

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

What's Wrong?

Claude Code /agents command reports no agents. I have several defined in ~/.claude/agents, tested on another machine that they work, they were all also generated with claude /agents command. Technically the newly created agent is shown in /agents in the instance that created them, but don't show anymore after a restart.

What Should Happen?

I would see all the agents.

Error Messages/Logs

No errors shown even with --debug

Steps to Reproduce

I'm honestly not sure. It feels like I have some weird local configuration thing that breaks it. I'm running MacOS 15.7, claude is native installed, purging configs didn't help.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

1.0.128 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolsautocloseIssue will be closed automaticallybugSomething isn't workingduplicateThis issue or pull request already existsplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions