If a command with the same name exists in multiple locations, which one takes precedence? I tested the global command and project command, and it seems that the global command takes precedence, i.e., centralized control takes priority. I don’t have a team account, so I cannot test it. I am teaching a programming class, and I want to cover this topic. Can the Cursor team give an answer to this question? I cannot find it on the documentation website. Thank you!
Hey @cowlumbus!
I checked, and here’s the precedence order (lowest → highest priority):
1. Team commands (enterprise/team accounts)
2. Project .claude/commands/
3. Project .cursor/commands/
4. Personal ~/.claude/commands/
5. Personal ~/.cursor/commands/ ← wins
1 Like