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

[Bug] Custom Slash Commands Intermittently Not Loading in Powershell

Open nCubed opened this issue 5 months ago • 3 comments

Bug Description Custom slash commands are intermittently not loading; mostly not loading while using the Claude Code PowerShell version. For example, all of my custom commands in my home directory are able to be used, but none of the project commands. The custom commands had stopped working until I re-ran the claude installer. On the same machine with WSL/Ubuntu, all custom slash commands are available - both personal commands and project commands.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 1.0.109
  • Feedback ID: 82f963f5-4bfa-48b1-ac21-3261eb6ccfa7

Errors

[
  {
    "error": "AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:871:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)",
    "timestamp": "2025-09-09T14:54:22.266Z"
  },
  {
    "error": "Error\n    at PN (B:/~BUN/root/claude.exe:535:1076)\n    at Z1 (B:/~BUN/root/claude.exe:536:9952)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/claude.exe:538:2098)\n    at processTicksAndRejections (native:7:39)",
    "timestamp": "2025-09-09T14:54:22.617Z"
  },
  {
    "error": "AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:871:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)",
    "timestamp": "2025-09-09T14:54:22.712Z"
  }
]

nCubed avatar Sep 09 '25 15:09 nCubed

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/7283
  2. https://github.com/anthropics/claude-code/issues/6148
  3. https://github.com/anthropics/claude-code/issues/3294

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Sep 09 '25 15:09 github-actions[bot]

The current duplicate #7283 is purely *nix based. This is a PowerShell report. As mentioned in the bug, same machine the WSL/Ubuntu claude instance has no issues resolving slash commands.

Further, this issue is reporting the slash commands are mostly working with the personal commands; whereas the project level commands are no longer available.

What's odd is this was a fresh dev machine install and the PowerShell version worked w/o issue, and then just stopped. After a Claude .ps1 reinstall, the personal commands were available again, but project commands remained absent.

nCubed avatar Sep 09 '25 16:09 nCubed

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 05 '25 10:12 github-actions[bot]