claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Sub-Agents Not Detected: Missing Agents in CLI List Despite Directory Creation

Open Lordymine opened this issue 1 year ago • 56 comments

Bug Description claude code sub agents are not working, when created they simply do not appear in the agents list, they are created in the /.claude/agents directory, but it is not possible to use them in the CLI and they do not even appear in the list, claude code version 1.0.62

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.62
  • Feedback ID: ef107845-f4df-4204-bc0f-5e215983b266

Errors

[{"error":"Error: spawn /c/Users/Rafael Oliveira/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-07-28T23:51:42.912Z"},{"error":"Error: spawn /c/Users/Rafael Oliveira/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-07-28T23:51:42.921Z"},{"error":"Error: 1: 1 Extension 'c:\\users\\rafael' not found.\nMake sure you use the full extension ID, including the publisher, e.g.: anysphere.csharp\nFailed Installing Extensions: c:\\users\\rafael\n(node:15624) [DEP0168] DeprecationWarning: Uncaught N-API callback exception detected, please run node with option --force-node-api-uncaught-exceptions-policy=true to handle those exceptions properly.\n(Use `Cursor --trace-deprecation ...` to show where the warning was created)\n\n    at KT6 (file:///C:/Users/Rafael%20Oliveira/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1345:4765)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async VT6 (file:///C:/Users/Rafael%20Oliveira/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1345:2187)","timestamp":"2025-07-28T23:51:44.659Z"},{"error":"Error: spawn /c/Users/Rafael Oliveira/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-07-28T23:51:53.259Z"},{"error":"Error: spawn /c/Users/Rafael Oliveira/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","timestamp":"2025-07-28T23:52:57.531Z"}]

Lordymine avatar Jul 28 '25 23:07 Lordymine

+1

hacir avatar Jul 29 '25 00:07 hacir

@hacir My agents and commands from my super claude framework haven't appeared since I updated to version 1.0.62, was yours like that too?

Lordymine avatar Jul 29 '25 00:07 Lordymine

Yes, that's correct. Same issue and began immediately after updating; no other changes.

hacir avatar Jul 29 '25 00:07 hacir

@hacir For now, use this command to revert to the previous version and disable auto-update so you don't get downgraded to version 1.0.62 again. I downgraded the version and it worked:

npm install @anthropic-ai/[email protected] -g

Lordymine avatar Jul 29 '25 00:07 Lordymine

+1, also commands are missing too

erencelik avatar Jul 29 '25 00:07 erencelik

@erencelik For now, use this command to revert to the previous version and disable auto-update so you don't get downgraded to version 1.0.62 again. I downgraded the version and it worked:

npm install @anthropic-ai/[email protected] -g

Lordymine avatar Jul 29 '25 01:07 Lordymine

#4579 I have the same problem, except I'm using macOS and I'm trying to upgrade now

guoyanting0919 avatar Jul 29 '25 01:07 guoyanting0919

@erencelik For now, use this command to revert to the previous version and disable auto-update so you don't get downgraded to version 1.0.62 again. I downgraded the version and it worked:

npm install @anthropic-ai/[email protected] -g

https://github.com/anthropics/claude-code/pull/3938

erencelik avatar Jul 29 '25 01:07 erencelik

+1

heathsanders avatar Jul 29 '25 02:07 heathsanders

+1

Stax-app avatar Jul 29 '25 02:07 Stax-app

+1

MikeMcMahon avatar Jul 29 '25 02:07 MikeMcMahon

@hacir My agents and commands from my super claude framework haven't appeared since I updated to version 1.0.62, was yours like that too?

this is what happened to me. rolling back to 1.0.61 fixed everything!

MikeMcMahon avatar Jul 29 '25 02:07 MikeMcMahon

also here. not working either for local / user config

roylipo avatar Jul 29 '25 02:07 roylipo

Agree. Roll back fixed it.

N3Cr0 avatar Jul 29 '25 02:07 N3Cr0

Rollback works, but how to disable auto-update

kavenGw avatar Jul 29 '25 03:07 kavenGw

not rolling back now. i guess ill do a full removal

xgp0006 avatar Jul 29 '25 04:07 xgp0006

+!

benjamin-johnston-work avatar Jul 29 '25 05:07 benjamin-johnston-work

Rollback works, but how to disable auto-update

To Disable Auto Update

  1. Launch Claude Code, then type /config and press Enter [toppicture]
  2. Then set the Auto-updates to false [bottom picture]
Image Image

alanfong93 avatar Jul 29 '25 07:07 alanfong93

Rollback works, but how to disable auto-update

To Disable Auto Update

  1. Launch Claude Code, then type /config and press Enter [toppicture]
  2. Then set the Auto-updates to false [bottom picture]

Image Image

Thanks

kavenGw avatar Jul 29 '25 08:07 kavenGw

+1

frfroes avatar Jul 29 '25 09:07 frfroes