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›Core command basics
한국어English

Core command basics

Read help and session status, start a fresh conversation, and exit or detach from Claude Code.

Key takeaways

  • Use /help or the / menu to discover commands actually available in this session.
  • /clear starts a fresh conversation; /compact summarizes the conversation you are continuing.
  • /exit detaches from an attached background session without stopping its work.

Core commands

CommandRoleNext step
/helpShow help and available commandsInspect /status
/statusOpen the Settings Status tab for version, model, account, and connectivityCheck /model or /permissions
/clear [name]Start a fresh conversation; aliases /reset and /newUse /resume to return to the earlier conversation
/exitExit, or detach from an attached background session; alias /quitInspect background work through claude agents

Usage conditions

The official table does not state a minimum version for these basic commands. Type a command at the start of the message. The installed / menu is the availability check.

A short session check

/help
/status

After inspecting the session, choose whether to continue, compact, or start fresh. Do not clear a conversation merely to inspect its settings.

Status display

In v2.1.278, an Auto mode server row shows whether the classifier runs on the server. Confirm actual session state as well as configured settings.

Further reading

  • Continue a session
  • Compact context
  • Task walkthrough
  • Official commands

Related docs

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. /background

Detach the current session as a background agent (/bg).

Core Command Group

Codex Command Master · The most frequently used Codex commands, including full conversation export, in one page.

Cmd. /stop

Codex Command Master · Stop all background terminals owned by the current Codex session.

Terminal CLI Commands and Flags

All 34 invocation forms and 79 common flags from the official Claude Code CLI reference, plus recent subcommand options

Starting and resuming work

The command set every Claude Code session should start from.

On this page

Core commandsUsage conditionsA short session checkStatus displayFurther reading