[BUG] Claude-code does not call subagents anymore
Status Fixed / completed
Maintainer reply None cached
Activity 10 comments · opened Oct 1, 2025 · closed Oct 10, 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?
After upgrading to version 2 I can't no longer call @agent-[agent-name] to call subagents.
CLI doesn't show my subagents when I type @agent- and when I manually type it claude doesn't call it and instead make a generic TASK
What Should Happen?
Like before it should call the subagent as instructed.
Error Messages/Logs
Steps to Reproduce
- Create a markdown subagent inside .claude/agents/myagent.md
- prompt "using @agent-myagent implement the function'
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.0.1
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_
10 Comments
I can confirm this bug.
Agent won't start even after direct command to do so:
I am also experiencing this.
After recent update either to v2 or to a minor update that got pushed subagents in
~/.claude/agents/are no longer recognized and slash commands are intermittently recognized and absent./agentscommand shows no currently active agents but no change has been made to filesystem or agent definition files and subagents have been working as documented for months.Some claude sessions are recognizing and auto-completing custom slash commands in
~/.claude/commandsand some sessions are not, all on the same machine.Environment Info
More observations:
/agentscommand shows no custom agents/agentscommand > "Create new agent" and follow workflow for "Personal" until completion/agentsnow shows the new agent created in [step 4]/agentscommand shows no custom agentsSame behavior when reproducing with "Project"-level subagent.
Claude agrees
@rezaalavi I want to confirm this is the same issue. Are the subagents also not registered when you use the
/agentsslash command? If this is just about the @-mention function but the subagents are otherwise available then it's not the same bug.The issue has resolved on my system. I didn't make any changes, but I am no longer able to reproduce the behavior.
I still have this issue, even re-creating an agent and trying to call him in direct way - it doesn't "Turn On".
Parent agent won't call a subagent, even if included in instruction. All I've done is burn output tokens. This is fundamentally broken on MacOs.
For me the original issue that I reported is now fixed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.