Slash Command Visibility Broken for .gitignored subdirectories
Resolved 💬 9 comments Opened Jul 6, 2025 by hiragram Closed Dec 15, 2025
Bug Description
Custom slash commands under subdirectory are invisible from Claude Code.
For example, .claude/commands/hello.md is visible, but .claude/commands/greeting/hello.md is not visible and cannot be executed.
% claude --version
1.0.43 (Claude Code)
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 1.0.43
- Feedback ID: aef9463e-8544-4d95-b2d6-243caf484f7d
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at ED (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:9038\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n at hJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:8184)\n at S_ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:7265)\n at NB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:11432)","timestamp":"2025-07-06T12:45:15.496Z"}]This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗