Claude Code Command Cheat Sheet
From Wikiprompt, the free prompt encyclopedia
Claude Code Command Cheat Sheet A categorized list of Claude Code slash commands covering session management, context control, code review, automation, insights, and shortcuts.
Prompt ContentSave
🌐
Start and Create:
/new - Start a fresh session
/init - Set up your project with a guide
/clear - Wipe context and start again
/model - Switch your AI model
/voice - Use voice input
/upload - Bring in files
Manage Context:
/plan - Enter planning mode before acting
/branch - Fork the conversation at any point
/rename - Label your session
/resume - Pick up a previous conversation
/memory - Edit what Claude remembers
/permissions - Control what Claude can touch
Review and Fix:
/review - Review a pull request locally
/diff - See all uncommitted changes
/security-review - Scan for vulnerabilities
/autofix-pr - Watch a PR and push fixes automatically
/rewind - Roll back to an earlier point
/copy - Copy the last response to clipboard
Automate and Run:
/batch - Run large-scale changes across a codebase in parallel
/agents - Manage your agent configurations
/loop - Run a prompt on repeat while the session is open
/schedule - Set up routines that run automatically
/tasks - List and manage background tasks
/automate - Hand off repeatable work
Get Insights:
/insights - Analyse your Claude Code sessions
/usage - See session cost and activity stats
/context - Visualise how much context you're using
/recap - Get a one-line summary of your session
/debug - Enable debug logging and troubleshoot
/doctor - Diagnose your installation
Shortcuts and Help:
/compact - Summarise the conversation to free up context
/btw - Ask a quick side question without affecting the thread
/simplify - Review recent files for quality and efficiency issues
/export - Save the full conversation as plain text
/feedback - Submit feedback directly from the session
/help - See every command available to you
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with productivity. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
Talk
0 comments