[BUG]
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?
Description
Slash commands in .claude/commands/ are incorrectly detected as duplicates and not loaded when the project directory is on an NTFS
filesystem (e.g., Parallels-mounted Windows volume, Boot Camp partition, or SMB-mounted NTFS share on macOS).
## Environment
- Claude Code version: 2.1.17
- OS: macOS Darwin 25.2.0
- Filesystem: NTFS volume mounted via Parallels Desktop
## Steps to Reproduce
- Have a project on an NTFS filesystem with multiple
.mdfiles in.claude/commands/ - Run Claude Code with
--verboseand stream-json output - Observe that many commands are missing from the
slash_commandslist - Check the debug log at
~/.claude/debug/<session-id>.txt
## Expected Behavior
All valid .md files in .claude/commands/ should be loaded as slash commands.
## Actual Behavior
Many files are skipped with the message:
Skipping duplicate file '...' from projectSettings (same inode already loaded from projectSettings)
Debug log excerpt:
Skipping duplicate file '.../my-command.md' from projectSettings (same inode already loaded from projectSettings)
Deduplicated 27 files in commands (same inode via symlinks or hard links)
Loaded 26 unique skills (managed: 0, user: 0, project: 0, legacy commands: 26)
The files are NOT symlinks or hard links - they have distinct inodes with very large values typical of NTFS (18-19 digits):
5775402362839123726 command-a.md
12514944906203265421 command-b.md
7990210997023112846 command-c.md
## Workaround
Copy affected commands to ~/.claude/commands/ (native APFS filesystem) - they are then recognized correctly.
## Related
Likely related to v2.1.3 fix: "Fixed false skill duplicate detection on filesystems with large inodes (e.g., ExFAT) by using 64-bit precision
for inode values"
The ExFAT fix doesn't fully cover NTFS volumes.
## Impact
- 54 command files in directory, only 26 loaded
- Critical workflow commands silently fail with "Unknown skill" error
- Affects teams using Claude Code on NTFS-based storage
What Should Happen?
## Expected Behavior
All valid .md files in .claude/commands/ should be loaded as slash commands.
Error Messages/Logs
Steps to Reproduce
## Environment
- Claude Code version: 2.1.17
- OS: macOS Darwin 25.2.0
- Filesystem: NTFS volume mounted via Parallels Desktop
## Steps to Reproduce
- Have a project on an NTFS filesystem with multiple
.mdfiles in.claude/commands/ - Run Claude Code with
--verboseand stream-json output - Observe that many commands are missing from the
slash_commandslist - Check the debug log at
~/.claude/debug/<session-id>.txt
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Previous Version
Claude Code Version
2.1.17 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Cursor
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗