/config [key [value]]View or set persistent settings. Changes are saved to ~/.claude/settings.json so they survive across sessions.
A living cheatsheet of power commands for Claude, ChatGPT, and more. Copy a command, paste it in, change how you work.
/config [key [value]]View or set persistent settings. Changes are saved to ~/.claude/settings.json so they survive across sessions.
/model [model]Switch the active model mid-session. Useful when you want Opus-level reasoning for a tricky step then drop back to Sonnet for grunt work.
/effort [level]Set effort to low, medium, high, xhigh, or max. Run without arguments to get an interactive slider you can adjust with arrow keys.
/fast [on|off]Toggle fast mode on or off. Prioritizes speed over depth when you need quick answers.
/permissionsView and update what Claude is allowed to do: file writes, shell commands, network access. Tighten or loosen as needed.
/theme [name]Create and switch named custom themes. Includes an "Auto (match terminal)" option that follows your terminal's dark or light mode.
/color [color]Change the prompt bar color. Small thing but it helps when you are running multiple terminal tabs with different Claude sessions.
/keybindingsCustomize keyboard shortcuts. Remap anything that does not fit your muscle memory.
/contextVisualize the current context as a grid. See exactly what is loaded, how much space each piece takes, and where the window is filling up.
/diffOpen an interactive diff viewer. Review every change Claude made to your files before accepting them.
/usagealias: replaces /cost and /statsFull breakdown of token usage, cost, and cache stats for the current session. Know exactly what you are spending.
/copy [N]Copy the last response (or the Nth response) to your clipboard. Faster than selecting text manually.
/focusToggle fullscreen focus view. Removes distractions so you can concentrate on the task.
/clearClear the conversation context. Do this after every completed task or when context usage climbs. You can always /resume later.
/compact [focus]Compress the context window without losing important state. Pass an optional focus keyword to prioritize what gets kept.
/renameName every session immediately. Makes /resume and /rc dramatically easier to use when you have dozens of sessions.
/resume [session]Drop back into a past session by ID or name. The full context and file state are restored.
/recapGet a quick summary of the current session context. Useful when you return to a session after a break and need to remember where things stand.
/exportExport the full conversation to a file. Good for documentation, sharing, or archiving a session you might reference later.
/goal [desc]Set a completion goal and Claude keeps working turn after turn until it is met. A live progress overlay shows where it is. No more babysitting prompts. You define done, it figures out the path.
/btwAsk a side question with the current context while a long task is still running. You do not have to stop or wait. The main task continues in parallel.
/branch [name]alias: /forkFork the conversation from the current context. Work two directions from the same loaded state instead of running them sequentially in a cluttered session.
/rewindalias: /undoRoll back the conversation and any code or file changes to an earlier checkpoint. Went down a dead end? Rewind instead of dealing with junk context.
/remote-controlalias: /rcLoad your big prompt, hit /rc, then steer the session with follow-ups from your phone while you walk away. Pairs well with /rename so you can find it fast.
/plan [desc]Enter plan mode directly. Claude outlines the steps before executing anything. Good for complex tasks where you want to approve the approach first.
/workflowsKick off built-in workflows like deep research directly from Claude Code. No need to open the web app separately.
/voicePrompt by talking instead of typing. Accuracy is rough compared to dedicated dictation apps but it is better than nothing when your hands are busy.