Windows Agent Loading Failure in Claude Code CLI
Status Fixed / completed
Maintainer reply ✓ Yes — ant-kurt
Activity 11 comments · opened Jul 29, 2025 · closed Jul 29, 2025
💡 Likely answer: A maintainer (ant-kurt, collaborator)
responded on this thread — see the highlighted reply below.
Bug Description
I am on windows and after i made one pull request recently (i am using claude code via cursor) i can no longer interact with my /commands and the agents show up as empty even though i have a ton of agents in my .claude folder. Please fix!
Environment Info
- Platform: win32
- Terminal: cursor
- Version: 1.0.62
- Feedback ID: b656cb1f-6eb7-4add-be88-81a52cab1cf3
Errors
[{"error":"Error: spawn /c/home/pedro/.npm-global/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-29T01:57:04.999Z"},{"error":"Error: spawn /c/home/pedro/.npm-global/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-29T01:57:05.005Z"}]
11 Comments
I don't know if this is a coincidence, but my agents have just disappeared as well. I've noticed now, an hour after you posted this.
I have the same issue, event the .claude/agents folder has agents it says No agents found.
Same problem on windows, not to worry friends - we are in good hands
+1
Same. Disable autoupdate in /config and downgrade to previous version
npm install -g @anthropic-ai/claude-code@1.0.61
this fixed the issue for me (at least temporarily) .
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.
Well done! Thank you again for the quick fix!! 💥 - the Windows crowd appreciates it!!!
I am on 1.0.67 and this problem still exists:
<img width="329" height="81" alt="Image" src="https://github.com/user-attachments/assets/260c6161-9bf0-4ec9-b92f-7456d44454c8" />
no agents:
<img width="875" height="504" alt="Image" src="https://github.com/user-attachments/assets/ff17186e-aeb6-4d23-bdc1-8977e0a31598" />
but created via claude /agents:
<img width="648" height="105" alt="Image" src="https://github.com/user-attachments/assets/ca76e302-7a60-4468-9313-ddd7f5001bf2" />
<img width="700" height="951" alt="Image" src="https://github.com/user-attachments/assets/510f132c-3132-4658-9ff2-bb9f2192936a" />
@HuskyDanny
You launched Claude in the directory C:\Users\allenpan\.claude
You need to run it in C:\Users\allenpan
thanks @marektomas-cz for the reply, but it is still not working:
<img width="1166" height="874" alt="Image" src="https://github.com/user-attachments/assets/b0c8cda1-6e7b-44f2-9a5f-efd97fa6c89a" />
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.