I'm trying to figure out how to use custom commands effectively, especially when it comes to inserting filenames for context. I've run "/init CC" at the project root and made sure CLAUDE.md and the .claude files are visible. However, I'm confused about a few things:
1. I can't seem to find a global .claude/commands folder. Do I need to create one? I've heard it mentioned in videos like IndyDevDan's, so I'm a bit stuck here.
2. The command "/projects" isn't recognized in the CC console, which is also something I've seen referenced.
3. When I use '@' to recognize new folders for different contexts or plans, it doesn't seem to work either.
Is there something I'm missing here? Any help would be greatly appreciated!
Also, if anyone has tutorials or videos on using custom variables inside .md files, I'd love to check those out!
P.S. Just found the documentation for this two minutes later, but I'll leave this post up in case it helps someone else. Good tutorial videos are still welcomed!
2 Answers
I wasn't experiencing this issue myself, but I did find that using Claude doctor resolved a lot of problems for others. If you're having persistent issues, it's worth giving it a shot! Sometimes a fresh start helps, like deleting and recreating certain files.
I've been having issues with my custom commands as well! For a while, I thought my setup was broken. It turns out I wasn't the only one facing this. A few others have reported the same. I logged out and back in, but it didn't help initially. I noticed that even when the command list doesn't show up, my slash commands still worked when I manually executed them from my history! Weird, but sometimes things seem to run even better than before despite the missing list.
I think I've nailed down some issues with command recognition. On version 1.0.9, everything looks fine on my end, so it might be worth checking what version you're running.
That's interesting! I had a similar situation where deleting the ~.Claude/projects folder and restarting Claude Code fixed it for me.