Incorrectly labels custom slash command in ~/.claude directory as '(project, gitignored)' instead of '(user)'
Resolved 💬 8 comments Opened Aug 14, 2025 by YishenTu Closed Jan 10, 2026
Bug Description
The slash command in ~/.claude directory (user settings folder) is incorrectly labeled as "(project, gitignored)" instead of "(user)".
Expected Behavior
When in the ~/.claude directory, slash commands like /audit should show "(user)" to indicate this is the global user settings directory.
Actual Behavior
Slash commands show "(project, gitignored)" even though this is the user configuration directory.
Steps to Reproduce
- Version control
~/.claude - Navigate to
~/.claudedirectory - Type
/commandor other custom slash commands - Observe the label shows "(project, gitignored)" instead of "(user)"
What I've Tried
- Removed
.gitdirectory (was using git for backup/version control) - Removed
.gitignorefile - Restarted Claude Code session
None of these steps fixed the incorrect labeling.
Environment
- OS: macOS Darwin 25.0.0
- Claude Code global settings directory:
~/.claude
Impact
This is confusing because the same commands appear in actual project directories with the same label, making it hard to distinguish between the user settings folder and actual projects.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗