Custom slash commands not appearing in autocomplete (Claude Code 1.0.83)
Status Fixed / completed
Maintainer reply ✓ Yes — ant-kurt
Workaround ✓ Mentioned in thread ↓
Activity 9 comments · opened Aug 17, 2025 · closed Aug 19, 2025
💡 Likely answer: A maintainer (ant-kurt, collaborator)
responded on this thread — see the highlighted reply below.
Description:
Custom slash commands are not appearing when typing "/" despite proper configuration and multiple restarts.
( *Note this is what Claude Code told me to tell you, we tried to resolve after 10 or so attempts, here we are)
Environment:
- Claude Code version: 1.0.83
- Platform: macOS (Darwin 24.6.0)
- Commands location: /Users/webdev/.claude/commands/
Configuration:
// .claude/settings.json
{}
// .claude/settings.local.json
{
"permissions": {
"allow": [...],
"deny": [],
"additionalDirectories": ["/Users/webdev/.claude/commands"]
}
}
Command files:
- /Users/webdev/.claude/commands/gitcomment.md (522 bytes)
- /Users/webdev/.claude/commands/invoice-notes.md (2915 bytes)
- Files have 644 permissions
- Proper markdown format with # Command Name headers
Expected behavior: Typing "/" should show /gitcomment and /invoice-notes in autocomplete
Actual behavior: No custom commands appear in autocomplete
Troubleshooting attempted:
- Multiple Claude Code restarts
- Recreated command files from scratch
- Tested both relative and absolute paths
- Cleared configuration conflicts
- Verified file permissions and format
Question: Do built-in commands (like /help) appear when typing "/"?
9 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
dup
We shipped some improvements in 1.0.84 that should help diagnose / mitigate this:
claude /doctornow shows the status of Search related functionality (which includes custom slash command discovery)rgover system-installedrg(see https://docs.anthropic.com/en/docs/claude-code/troubleshooting#search-and-discovery-issues)--debugto see if there arergrelated errorsI am on Fedora Asahi Linux Remix 42
Somehow the ripgrep that you're shipping was not working.
I added the env var like so in my zshrc:
Seems to be working now.
Glad you have a workaround - @clouedoc are you using the npm-based installation or the native installer?
No idea, sorry :-)
claude /doctorwill tell you - if path / invoked isnodeandclaude, that's npm-based. Otherwise if it's just a Claude executable under a path like.local/bin/claude, then it's native.Asking because ripgrep we're shipping really should work in the npm-based flow, but we have some known issues with native.
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.