Skip to main content
reopt Handbook
reopt Handbook
Claude Code Command MasterLabels and command selectionHow to read a detail guideComplete command listTerminal CLI Commands and Flags

Task guides

Core command basicsStarting and resuming workSkills and Custom CommandsAutomation and Web CommandsOperations and Safety CommandsCustom commands and skillsMCP connections and commands

Conversation and context

Cmd. /add-dirCmd. /backgroundCmd. /compactCmd. /contextCmd. /copyCmd. /exportCmd. /forkCmd. /importCmd. /initCmd. /memoryCmd. /recapCmd. /renameCmd. /resumeCmd. /rewindCmd. claude project purge

Planning and execution

Cmd. /autofix-prCmd. /batchCmd. /desktopCmd. /goalCmd. /loopCmd. /planCmd. /remote-envCmd. /scheduleCmd. /tasksCmd. /teleportCmd. /workflows

Review and verification

Cmd. /code-reviewCmd. /runCmd. /run-skill-generatorCmd. /security-reviewCmd. /simplifyCmd. /verify

Models and settings

Cmd. /claude-apiCmd. /configCmd. /effortCmd. /fastCmd. /modelCmd. /output-styleCmd. /update-config

Permissions and integrations

Cmd. /agentsCmd. /hooksCmd. /ideCmd. /mcpCmd. /permissionsCmd. /pluginCmd. /reload-pluginsCmd. /reload-skillsCmd. /sandboxCmd. /skillsCmd. /web-setup

Status and diagnostics

Cmd. /debugCmd. /diffCmd. /doctorCmd. /fewer-permission-promptsCmd. /release-notesCmd. /team-onboarding

Display and input

Cmd. /colorCmd. /focusCmd. /keybindingsCmd. /powerupCmd. /statuslineCmd. /terminal-setupCmd. /themeCmd. /tui

Account and usage

Cmd. /upgradeCmd. /usageCmd. /usage-credits

Legacy

Cmd. /costCmd. /pr-commentsCmd. /reviewCmd. /statsCmd. /ultrareviewCmd. /vimCmd. /approved-toolsCmd. /commandsCmd. /extra-usageCmd. /settingsCmd. /tagCmd. /todos

Verification and history

Current verification scopeHandbook updatesRelease coverage historyEarlier verification recordsCommand change history
Handbook›Claude Code Command Master›Cmd. /rewind
한국어English

Cmd. /rewind

Restore or summarize from a checkpoint (/undo).

Key takeaways

  • Restore or summarize from a checkpoint (/undo).
  • Check the input surface and availability before using the examples below.

Purpose

Restore or summarize from a checkpoint (/undo).

/rewind

Availability

FieldValue
Input surfaceRunning CLI prompt
KindBuilt-in
StatusCurrent reference
Aliases/checkpoint, /undo
Documented minimumNot specified
Reviewed against2026-09-22 · Claude Code 2.1.278

The installed command menu and account or organization settings determine availability.

Examples

/rewind

Effects and persistence

Restores conversation and/or code to a checkpoint, or summarizes part of the conversation. External side effects are not universally reversible.

Cautions

Checkpointing does not undo every external action, such as network writes. Inspect the proposed restoration scope.

Official sources

  • Commands
  • Checkpointing

Complete command list · Verification scope

Related docs

Cmd. /compact

Summarize the current conversation to free context.

Cmd. /export

Copy or save the current conversation as plain text.

Cmd. /compact

Codex Command Master · Summarize a long conversation to free context.

Cmd. /new

Codex Command Master · Start a new conversation inside the current CLI session.

Cmd. /side

Codex Command Master · Start an ephemeral side conversation from the current thread.

Cmd. /resume

Resume by ID, name, or picker (/continue).

Cmd. claude project purge

Remove local project session data through the terminal CLI.

On this page

PurposeAvailabilityExamplesEffects and persistenceCautionsOfficial sources