I'm trying to get the hang of custom commands and how to insert filenames for context within Claude. I've already run "/init CC" at the project root, added a [CLAUDE.md](http://CLAUDE.md), and can see the project's ".claude" folder. However, I'm stuck because there doesn't seem to be a global ".claude/commands" folder—do I need to create that myself? I've seen it mentioned in a developer talk I watched, but I'm still unclear.
Additionally, the command "/projects" isn't recognized in the CC console, despite being referenced in the same talks. Also, it's frustrating that using '@' doesn't seem to recognize new folders for context or plans. What am I missing? If anyone has insights, I'd really appreciate it!
Also, if you have any good tutorials or videos on using custom variables inside .md files, I'd love for you to share those too!
(Edit: I just found the documentation two minutes later at these links: [https://docs.anthropic.com/en/docs/claude-code/tutorials#create-custom-slash-commands](https://docs.anthropic.com/en/docs/claude-code/tutorials#create-custom-slash-commands) and [https://docs.anthropic.com/en/docs/claude-code/sdk](https://docs.anthropic.com/en/docs/claude-code/sdk). I'll leave this up in case it helps someone! Still open to any tutorial videos though!)
3 Answers
Just a heads up, my setup on version 1.0.9 is running fine, so it might not be a universal issue. If you want to check configs, I wouldn't overthink it too much—mine works without any complications. Maybe double-check your settings and see if something’s off there?
I’ve been experiencing the same issues with custom commands in Claude. I initially thought I messed up my setup too! Just the other day, I found that my commands weren’t appearing when I typed '/' either. I even checked the CHANGELOG.md for updates, but nothing seemed off. Interestingly, though, I managed to still execute some old slash commands from history and they actually worked better than before! This seems like a change in the system, possibly for the better.
Word of advice: try logging out and back in; it might refresh your settings. Also, do check if there’s any updates with the software because sometimes they roll out changes that might affect functionality. Hang in there, it might just be a temporary glitch!
If you're having issues, it might help to delete the ".Claude/projects/" folder and restart Claude Code. I had to do that once, and it fixed all my problems! Sometimes old configurations can mess things up, so a fresh start is worth a shot. Let me know if it works for you!
Thanks for the suggestion! I’ll give that a try and see if it helps.
Glad I'm not alone in this! I was also worried I broke something on my end. I’ll try logging out and maybe looking for updates—thanks for the tips!