Skip to content

Claude Code · the complete reference

Claude Code Commands

The whole surface area, grouped into ten categories. Start with the fifteen below; the rest are the commands, CLI calls, flags and shortcuts you grow into. A dot marks what’s new in this release.

118
across ten categories
Total commands
118
Categories
Ten
Notation
= new
Start with
The fifteen

Start here: the fifteen

If you learn only fifteen, learn these

  1. 1/initAuto-generate a CLAUDE.md for your project
  2. 2/planPlan Mode, optionally with a task goal
  3. 3/contextSee what is filling your context window
  4. 4/compactCompress context to free up space
  5. 5/clearReset conversation history
  6. 6/modelSwitch between Opus, Sonnet and Haiku
  7. 7/goalSet a goal condition to work toward
  8. 8/rewindRewind conversation and code changes
  9. 9/agentsCreate and manage subagents
  10. 10/workflowsWatch, pause and resume workflows
  11. 11/effortThinking level, low up to ultracode
  12. 12/simplifySimplification review, applies fixes
  13. 13/permissionsChange permission settings
  14. 14Shift+TabCycle modes (default, edits, plan, auto)
  15. 15"ultracode"Opt in to multi-agent workflows

The full surface area

Project Management14

  • 1/initAuto-generate a CLAUDE.md for your project
  • 2/memoryEdit the CLAUDE.md memory file
  • 3/contextSee what is filling your context window
  • 4/compactCompress context to free up space
  • 5/clearReset conversation history
  • 6/resumeResume a past sessionNew in this release
  • 7/branchBranch a copy of the conversation
  • 8/forkSpawn a forked subagentNew in this release
  • 9/cdMove the session to a new directoryNew in this release
  • 10/renameRename the current session
  • 11/add-dirAdd an extra directory to context
  • 12/copySelect and copy code blocks
  • 13/diffView all changes in an interactive viewer
  • 14/exportExport conversation to file or clipboard

Mode & Model Control8

  • 15/modelSwitch between Opus, Sonnet and Haiku
  • 16/fastToggle Fast Mode (faster Opus output)
  • 17/planPlan Mode, optionally with a task goal
  • 18/effortThinking level, low up to ultracode
  • 19/goalSet a goal condition to work towardNew in this release
  • 20/advisorA second model advises on your workNew in this release
  • 21/voiceVoice prompting (hold, tap, off)New in this release
  • 22/tuiSwitch terminal UI rendererNew in this release

Feature Management11

  • 23/hooksConfigure lifecycle hooks
  • 24/agentsCreate and manage subagents
  • 25/permissionsChange permission settings
  • 26/sandboxEnable sandbox modeNew in this release
  • 27/configOpen the settings interface
  • 28/rewindRewind conversation and code changes
  • 29/skillsSkill management menuNew in this release
  • 30/reload-skillsRe-scan skill directoriesNew in this release
  • 31/reload-pluginsReload plugins without restartingNew in this release
  • 32/loginRe-authenticate
  • 33/logoutLog out

CLI Commands16

  • 34claudeStart an interactive session
  • 35claude "query"Start with an initial prompt
  • 36claude -p "q"Non-interactive mode, then exit
  • 37claude -cResume the most recent session
  • 38claude -r "ID"Resume a session by ID
  • 39claude --from-prResume the session linked to a PRNew in this release
  • 40claude updateUpdate to the latest version
  • 41claude mcp addAdd and manage MCP servers
  • 42claude auth loginAuthenticate (status, logout too)New in this release
  • 43claude agentsManage background agentsNew in this release
  • 44claude pluginPlugin managementNew in this release
  • 45claude installInstall the native buildNew in this release
  • 46claude projectManage project stateNew in this release
  • 47claude setup-tokenLong-lived auth tokenNew in this release
  • 48claude auto-modeInspect Auto Mode rulesNew in this release
  • 49claude ultrareviewCloud multi-agent reviewNew in this release

CLI Flags10

  • 50claude --worktreeIsolated worktree for parallel workNew in this release
  • 51claude --tmuxtmux session for the worktreeNew in this release
  • 52claude --model opusSpecify model at launch
  • 53claude --permission-mode autoLaunch in Auto ModeNew in this release
  • 54claude --agents '{json}'Define subagents at launchNew in this release
  • 55claude --append-system-promptAdd to the system prompt
  • 56claude --fallback-modelFall back when overloadedNew in this release
  • 57claude --max-budget-usdSet a hard spend limitNew in this release
  • 58claude --bareMinimal mode, skip all customisationNew in this release
  • 59claude --safe-modeTroubleshooting with customisations offNew in this release

Information & Status13

  • 60/usageCheck token usage against plan limits
  • 61/costShow current session cost
  • 62/usage-creditsEnable extra usage capacityNew in this release
  • 63/helpList all available commands
  • 64/statusVersion, model, account, connectivity
  • 65/tasksCheck background tasks
  • 66/statsUsage statistics report
  • 67/debugDisplay troubleshooting info
  • 68/doctorRun environment diagnostics
  • 69/insightsSession analysis reportNew in this release
  • 70/release-notesView the changelogNew in this release
  • 71/recapOne-line session summaryNew in this release
  • 72/powerupLearn features via interactive lessonsNew in this release

Environment Settings5

  • 73/terminal-setupSet up the Shift+Enter keybinding
  • 74/keybindingsOpen the keybindings configNew in this release
  • 75/statuslineSet up a terminal status lineNew in this release
  • 76/themeChange the colour theme
  • 77/upgradeUpgrade your Claude plan

Integrations & Extensions12

  • 78/install-github-appSet up GitHub PR auto-review
  • 79/install-slack-appInstall the Claude Slack appNew in this release
  • 80/pluginPlugin management and marketplaceNew in this release
  • 81/mcpCheck MCP status and authentication
  • 82/rcRemote Control from phone or tabletNew in this release
  • 83/chromeControl your browser from Claude CodeNew in this release
  • 84/ideManage IDE integrations
  • 85/desktopContinue the session in the Desktop appNew in this release
  • 86/mobileQR code for the mobile appNew in this release
  • 87/teleportPull a web session into the terminalNew in this release
  • 88/remote-envDefault environment for cloud agentsNew in this release
  • 89/btwAsk a side question without interruptingNew in this release

Workflows & Automation16

  • 90/workflowsWatch, pause and resume workflowsNew in this release
  • 91/code-reviewReview your diff for bugsNew in this release
  • 92/reviewCode review for a specified PR
  • 93/security-reviewSecurity audit of uncommitted changes
  • 94/simplifySimplification review, applies fixesNew in this release
  • 95/runLaunch the app to verify a changeNew in this release
  • 96/verifyProve a change actually worksNew in this release
  • 97/run-skill-generatorTeach /run and /verify your projectNew in this release
  • 98/ultraplanPlan, review, execute remotelyNew in this release
  • 99/ultrareviewDeep multi-agent cloud reviewNew in this release
  • 100/autofix-prWatch a PR and push fixesNew in this release
  • 101/deep-researchMulti-source verified research reportNew in this release
  • 102/batchParallel changes across worktreesNew in this release
  • 103/loopRun a prompt on a recurring intervalNew in this release
  • 104/scheduleRoutines on a cron scheduleNew in this release
  • 105/stopStop an attached background sessionNew in this release

Shortcuts & Notation13

  • 106EscStop processing
  • 107Esc + EscClear draft, or open the rewind menu
  • 108Shift+TabCycle modes (default, edits, plan, auto)
  • 109Option+TToggle extended thinking
  • 110Ctrl+BBackground the running commandNew in this release
  • 111Ctrl+X Ctrl+KKill all background subagentsNew in this release
  • 112Ctrl+OToggle the transcript viewer
  • 113Ctrl+TToggle the task list
  • 114Ctrl+VPaste an image from the clipboard
  • 115Ctrl+RReverse-search command history
  • 116@filenameReference a file or directory
  • 117!commandExecute a shell command directly
  • 118"ultracode"Opt in to multi-agent workflowsNew in this release
appliedfutures.io← Back to the Resource LibraryReference · Charlie Hills

Free email course

The fifteen, one email at a time

Five short lessons covering the fifteen commands worth learning first, each with one exercise to run in your own terminal. Every other day, no account needed. You also join the newsletter: new commands and meetup dates, roughly monthly.