Agent List and File Discovery Functionality Broken in Claude Code CLI
Bug Description @ doesn't show files anymore and /agents shows only built-in agent
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 1.0.62
- Feedback ID: 8c374a47-e729-41ec-bbc8-ac4078ef9ab6
Errors
[{"error":"Error: spawn /c/ProgramData/nvm/v22.17.1/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:90:21)","timestamp":"2025-07-29T13:28:17.038Z"},{"error":"Error: spawn /c/ProgramData/nvm/v22.17.1/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:90:21)","timestamp":"2025-07-29T13:28:17.053Z"},{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:883:11)\n at execSync (node:child_process:955:15)\n at i7 (file:///C:/ProgramData/nvm/v22.17.1/node_modules/@anthropic-ai/claude-code/cli.js:865:5108)\n at Tt (file:///C:/ProgramData/nvm/v22.17.1/node_modules/@anthropic-ai/claude-code/cli.js:1346:1937)\n at file:///C:/ProgramData/nvm/v22.17.1/node_modules/@anthropic-ai/claude-code/cli.js:1896:7279\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///C:/ProgramData/nvm/v22.17.1/node_modules/@anthropic-ai/claude-code/cli.js:1897:1485\n at async Promise.all (index 12)","timestamp":"2025-07-29T13:28:17.761Z"},{"error":"Error: spawn /c/ProgramData/nvm/v22.17.1/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:90:21)","timestamp":"2025-07-29T13:31:55.280Z"},{"error":"Error: spawn /c/ProgramData/nvm/v22.17.1/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:90:21)","timestamp":"2025-07-29T13:31:55.281Z"},{"error":"Error: spawn /c/ProgramData/nvm/v22.17.1/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:90:21)","timestamp":"2025-07-29T13:31:55.281Z"},{"error":"Error: spawn /c/ProgramData/nvm/v22.17.1/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:90:21)","timestamp":"2025-07-29T13:31:55.594Z"}]
review there is a workaround https://github.com/anthropics/claude-code/issues/4626
Issues with custom agents, file search, and custom slash commands on Windows should be resolved for CMD and Powershell in 1.0.63, which released today but is not yet tagged as latest.
Downgrading to 1.0.61 will also mitigate.
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.