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. /init
한국어English

Cmd. /init

Starts creation or updating of project instructions. Review the proposed file contents and project scope.

Key takeaways

  • Initialize a project CLAUDE.md.
  • Check the input surface and availability before using the examples below.

Purpose

Initialize a project CLAUDE.md.

/init

Availability

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

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

Examples

/init

Effects and persistence

Starts creation or updating of project instructions. Review the proposed file contents and project scope.

Project instruction fallback

When a project has no CLAUDE.md, Claude Code reads AGENTS.md. Change this under Project instructions in /config. This fallback is not yet available on Bedrock, Vertex, or Foundry.

Changelog

Key takeaways

  • Covers the everyday command set: session start (/help, /status, /doctor), continue-or-reset, model and usage controls, and pre-ship review.
  • /usage is the single cost-and-quota command; /cost and /stats are aliases, with /stats opening on the Stats tab.
  • On the Anthropic API /model maps fable to Fable 5.1 (Claude Code v2.1.255+; Fable 5 on older builds), opus to Opus 5, and sonnet to Sonnet 5; best prefers the latest Fable when available. Opus 5 requires Claude Code v2.1.219+ and has native 1M context.
  • Fable 5.1 (claude-fable-5-1, released 2026-09-01) keeps Fable 5 pricing, 1M context, 128K output, and always-on adaptive thinking, but cache reads cost $0.25/MTok. Forced tool_choice, cross-model thinking blocks, and editing earlier turns are breaking changes on the Messages API.
  • Claude Code reruns Fable requests flagged by the biology classifier on Opus 5 and cybersecurity flags on Opus 4.8; switchModelsOnFlag: false disables the switch.
  • Subscription-plan access to the Fable family requires usage credits; API integrations must treat HTTP 200 responses with stop_reason: "refusal" as a separate successful response state.
  • /rewind recovers a previous state but is not a substitute for git; /branch switches to a new branch, /fork starts a copied background session, and /subtask delegates within this conversation.
  • /pr-comments (v2.1.91) and /vim (v2.1.92) were removed; view PR comments by asking Claude, and toggle Vim mode via /config.
  • v2.1.251 adds the /usage spend-limit bar, /cost prompt-cache metrics, per-model effort persistence, and correct model-switch/fallback tool and reasoning configuration.

Cautions

Review generated CLAUDE.md instructions for the actual repository; remove assumptions that do not fit its workflow.

Official sources

  • Commands

Complete command list · Verification scope

Related docs

Claude Code Complete Guide

A practical guide to multi-session workflows, automation, and extension patterns in Claude Code.

Cmd. /model

Saves the selected model as the default for new sessions. Press s on a picker row, or use a supported -p invocation, for a session-only change.

Plan and Environment Setup

Claude Code Complete Guide · Prepare Claude Code plans, installation, update policy, and a safe repository baseline.

Earlier verification records

Claude Code: Earlier review dates, version baselines, and findings, with a link to the current verification scope.

Update Log

Claude Code Complete Guide · English edition changes for the Claude Code Complete Guide.

Cmd. /import

Import Codex, Gemini CLI, and Cursor configuration into Claude Code

Cmd. /memory

Manages CLAUDE.md and auto memory. Saved project instructions can affect later sessions.

On this page

PurposeAvailabilityExamplesEffects and persistenceProject instruction fallbackCautionsOfficial sources