¶ Essential Command Cheatsheet
| Command |
Description |
| /init |
Auto-generate a project CLAUDE.md |
| /usage |
Check token usage and limits |
| /context |
Context window usage overview |
| /clear |
Clear conversation history |
| /stats |
Usage stats and activity graph |
| /clone |
Clone the conversation |
| /half-clone |
Half-clone (reduce context roughly by half) |
| /export |
Export conversation history to Markdown |
| /sandbox |
Set a permission boundary |
| /mcp |
Manage MCP servers |
| /permissions |
Manage approved commands |
| /vim |
Enable Vim mode |
| /release-notes |
View latest release notes |
| Shortcut |
What it does |
| !command |
Run a shell command immediately |
| Esc Esc |
Rewind conversation/code |
| Ctrl+R |
Reverse search (command history) |
| Ctrl+S |
Stash the current prompt |
| Shift+Tab (x2) |
Toggle Plan mode |
| Alt+P / Option+P |
Switch model |
| Ctrl+O |
Toggle verbose mode |
| Tab / Enter |
Accept prompt suggestion |
| Ctrl+B |
Send to background |
| Ctrl+G |
Edit prompt in external editor |
| Flag |
Description |
| -p "prompt" |
Headless mode (non-interactive) |
| --continue |
Continue the last session |
| --resume |
Choose from the session list |
| --resume name |
Resume a session by name |
| --teleport id |
Bring a web session to local |
| --chrome |
Chrome integration mode |
| --dangerously-skip-permissions |
YOLO mode (dangerous) |
All content in this book is based on information as of January 2025, and Claude Code is continuously updated. For the latest information, refer to the official documentation.
(c) 2026 Manus AI. Based on works by ykdojo and Ado Kukic.