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 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
한국어KOEnglishEN

Core command basics

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

Written and reviewed by Eric Han · Co-founder & CTO, reopt

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

Core Command Group

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

Cmd. /background

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

Complete command list

Codex Command Master · Every Codex CLI slash command on one page: syntax, kind, and availability for all 57 official rows, plus examples, effects, and cautions by category.

Cmd. /fork

Copy the conversation into a new background session.

Context Management

Claude Code Complete Guide · Keep Claude Code sessions accurate through memory, compaction, and concise handoffs.

Terminal CLI Commands and Flags

All 36 invocation forms and 80 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