[BUG] All custom slash commands missing from autocomplete on v2.1.89 (WSL2/Linux)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
All custom slash commands from both .claude/commands/ (project-level, 13 commands) and ~/.claude/commands/ (global, 13 commands) stopped appearing in the / autocomplete menu as of v2.1.89. This started yesterday and persists across restarts.
The command files are intact on disk, have correct permissions, valid frontmatter, and are readable. The Skill tool can still invoke skills by name - only the autocomplete discovery is broken.
Additionally, the built-in Grep tool fails with EACCES on the vendored ripgrep binary during this session, even though the binary has correct 755 permissions and executes fine from bash. This suggests a sandbox/spawn issue that may also affect command discovery (which likely uses the same rg --files --glob "*.md" pattern).
What Should Happen?
All 26 custom commands should appear in / autocomplete on session start.
Error Messages/Logs
Grep tool error: spawn /home/flexs/.nvm/versions/node/v22.22.1/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg EACCES
Ripgrep binary is fine outside the sandbox:
$ /home/flexs/.nvm/versions/node/v22.22.1/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg --version
ripgrep 14.1.1
Steps to Reproduce
- Have custom commands in
.claude/commands/*.mdand~/.claude/commands/*.md - Start Claude Code v2.1.89 on WSL2/Linux
- Type
/- no custom commands appear - Commands were visible on v2.1.87 and earlier
Environment Details
- 13 project-level commands in
.claude/commands/ - 13 global commands in
~/.claude/commands/ - ~120 skills registered via superpowers plugin (
.agents/skills/) - Ripgrep binary permissions:
-rwxr-xr-x(755) - Node: v22.22.1 (nvm)
Related Issues
- #36486 - Commands disappear after first use (different: ours never appear)
- #36498 - Custom skills not visible in slash commands (similar discovery issue)
- #4741 - Ripgrep breaks everything (older, closed, but same EACCES pattern)
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.87
Claude Code Version
2.1.89
Platform
Anthropic API
Operating System
Linux (WSL2, kernel 6.6.87.2-microsoft-standard-WSL2)
Terminal/Shell
bash
Additional Information
The vendored ripgrep EACCES error and the command discovery failure may share a root cause - both involve Claude Code spawning the vendored rg binary. The binary has correct permissions but something in the sandbox layer is blocking execution.
High number of registered skills (~120 from superpowers plugin) may also be a contributing factor if there's a list truncation or timeout in the discovery scan.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗