I found the official list. Worth noting upfront: Claude Code doesn't actually have 50 built-in slash commands — there are around 28. I'll give you the complete, accurate list rather than padding it to 50, plus a note on how to add your own.
Session & Conversation
/clear – Clear conversation history (fresh context)
/compact [instructions] – Compress conversation history, optionally focused on specific instructions
/rewind – Rewind the conversation and/or code changes
/context – Show token usage breakdown across context components
Project Setup
5. /init – Initialize project with a CLAUDE.md guide file
6. /memory – Edit CLAUDE.md memory files
7. /add-dir – Add additional working directories to context
8. /agents – Manage custom AI subagents for specialized tasks
Model & Config
9. /model – Select or change the AI model
10. /config – Open Settings interface (Config tab)
11. /permissions – View or update tool/file permissions
12. /sandbox – Enable sandboxed bash tool (filesystem/network isolation) for safer autonomous runs
Account
13. /login – Switch Anthropic accounts
14. /logout – Sign out from current account
15. /status – Open Settings (Status tab) — version, model, account, connectivity
16. /cost – Show token usage statistics
17. /usage – Show plan usage limits and rate-limit status (subscription plans)
Development Workflow
18. /review – Request a code review
19. /pr_comments – View pull request comments
20. /mcp – Manage MCP server connections and OAuth authentication
Diagnostics & Help
21. /doctor – Check health of your Claude Code installation
22. /bug – Report a bug (sends conversation to Anthropic)
23. /help – Get usage help
Interface
24. /vim – Enter vim mode (insert/command alternation)
25. /terminal-setup – Install Shift+Enter keybinding for newlines (iTerm2/VS Code)
Custom Commands (bonus — you make these)
Beyond the built-ins, you can create your own via Markdown files:
Project commands: .claude/commands/*.md — shared with your team, shown with "(project)" tag
Personal commands: ~/.claude/commands/*.md — just for you
Syntax once created: / [arguments]