Claude Code Slash Commands List
Wild that this doesn't exist somewhere official. This dude tried, I guess.
Holler at me via email or X/Twitter if you have a list of CLI flags and I'll add it to this list.
General Stuff
!echo "¡Hola, mundo!" # runs terminal/Bash commandsSlash Commands
/add-dir # Add a new working directory
/agents # Manage agent configurations
/chrome # Claude in Chrome (Beta) settings
/clear # Clear conversation history and free up context
/compact # Clear conversation history but keep a summary in context. Optional: /compact [instructions for summarization]
/config # Open config panel
/context # Visualize current context usage as a colored grid
/copy # Copy Claude's last response to clipboard as markdown
/desktop # Continue the current session in Claude Desktop
/diff # View uncommitted changes and per-turn diffs
/doctor # Diagnose and verify your Claude Code installation and settings
/exit # Exit the REPL
/export # Export the current conversation to a file or clipboard
/extra-usage # Configure extra usage to keep working when limits are hit
/fast # Toggle fast mode (Opus 4.6 only)
/feedback # Submit feedback about Claude Code
/fork # Create a fork of the current conversation at this point
/help # Show help and available commands
/hooks # Manage hook configurations for tool events
/ide # Manage IDE integrations and show status
/init # Initialize a new CLAUDE.md file with codebase documentation
/insights # Generate a report analyzing your Claude Code sessions
/install-github-app # Set up Claude GitHub Actions for a repository
/install-slack-app # Install the Claude Slack app
/keybindings # Open or create your keybindings configuration file
/login # Sign in with your Anthropic account
/logout # Sign out from your Anthropic account
/mcp # Manage MCP servers
/memory # Edit Claude memory files
/mobile # Show QR code to download the Claude mobile app
/model # Set the AI model for Claude Code
/output-style # Set the output style directly or from a selection menu
/permissions # Manage allow & deny tool permission rules
/plan # Enable plan mode or view the current session plan
/plugin # Manage Claude Code plugins
/pr-comments # Get comments from a GitHub pull request
/privacy-settings # View and update your privacy settings
/release-notes # View release notes
/remote-env # Configure the default remote environment for teleport sessions
/rename # Rename the current conversation
/resume # Resume a previous conversation
/review # Review a pull request
/rewind # Restore the code and/or conversation to a previous point
/sandbox # Enter sandbox mode
/security-review # Complete a security review of the pending changes on the current branch
/skills # List available skills
/stats # Show your Claude Code usage statistics and activity
/status # Show Claude Code status including version, model, account, API connectivity, and tool statuses
/statusline # Set up Claude Code's status line UI
/stickers # Order Claude Code stickers
/tasks # List and manage background tasks
/terminal-setup # Enable Option+Enter key binding for newlines and visual bell
/theme # Change the theme
/todos # List current todo items
/upgrade # Upgrade to Max for higher rate limits and more Opus
/usage # Show plan usage limits
/vim # Toggle between Vim and Normal editing modes