Claude Code Cheat Sheet
Quick reference for Claude Code CLI — slash commands, skills, MCP, and session management
claudeStart interactive session
claude -p "prompt"Run one prompt and exit (print mode)
claude --continueContinue most recent conversation
claude --resume <id>Resume session by ID
claude -r "<id>" "query"Resume session with follow-up query
claude updateUpdate Claude Code
claude --ideConnect to IDE on startup
claude --tools "Bash,Read,Edit"Restrict built-in tools
claude --allowedTools "Bash(git:*)"Allow specific tool patterns
claude --disallowedTools "Bash(rm:*)"Block specific tool patterns
claude --permission-mode planStart in plan mode
claude --dangerously-skip-permissionsSkip permission prompts (caution)
claude --mcp-config ./mcp.jsonLoad MCP servers from file
claude auth loginSign in to Anthropic account
claude auth logoutSign out
/helpShow available commands
/exitExit REPL (alias: /quit)
/clearClear history (alias: /reset, /new)
/compact [instructions]Summarize conversation to free context
/rewindRewind conversation/code (alias: /checkpoint)
/export [filename]Export conversation to file
/copy [N]Copy last assistant response
/costShow token usage (alias: /usage, /stats)
/rename [name]Rename current session
/btw <question>Quick side question without bloating context
/branch [name]Fork conversation branch (alias: /fork)
/initGenerate CLAUDE.md project guide
/memoryEdit memory files and auto-memory
/context [all]Visualize context usage
/configOpen settings (alias: /settings)
/statusVersion, model, account status
/doctorDiagnose installation
/debug [description]Troubleshoot via debug log
/add-dir <path>Add working directory for file access
/model [name]Switch AI model
/effort [low|medium|high|max]Set reasoning effort level
/plan [description]Enter plan mode
/fast [on|off]Toggle fast mode
/permissionsManage tool allow/ask/deny rules
/sandboxToggle sandbox mode
/loginSign in
/logoutSign out
/diffInteractive diff viewer
/code-reviewReview diff for bugs (skill)
/review [PR]Review pull request locally
/security-reviewSecurity vulnerability scan
/agentsManage subagent configurations
/tasksList background tasks (alias: /bashes)
/background [prompt]Detach session to background (alias: /bg)
/batch <instruction>Parallel large-scale changes (skill)
/kill <id>Stop background process
/mcpManage MCP servers and OAuth
/ideManage IDE integrations
/desktopContinue in Desktop app (alias: /app)
/chromeConfigure Claude in Chrome
/skillsList available skills
/commandsList skills and commands
/hooksView hook configurations
/pluginManage plugins
/reload-pluginsReload plugins without restart
/loop [interval] [prompt]Run prompt on schedule (skill)
/debugDebug session via log (skill)
/claude-apiClaude API reference (skill)
/runLaunch and verify app (skill)
/verifyVerify change in running app (skill)
/resume [session]Resume conversation (alias: /continue)
/teleportPull web session into terminal
/remote-controlControl from claude.ai (alias: /rc)
/terminal-setupConfigure Shift+Enter for newlines
/themeChange color theme
/feedbackSubmit feedback (alias: /bug)
/insightsAnalyze session patterns
/voice [hold|tap|off]Toggle voice dictation
/keybindingsEdit keybindings config
Based on Claude Code official docs. Commands may change between versions.
Related Tools
JSON Formatter
Format, validate, and minify JSON data with syntax highlighting
JSON / YAML / TOML Converter
Convert between JSON, YAML, and TOML — validate, format, minify, and download in your browser
Color Scheme Generator
Generate harmonious color palettes — complementary, triadic, analogous, and more
Linux Commands Cheat Sheet
Quick reference for essential Linux commands — files, permissions, networking, and more