\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{microtype}
\usepackage[english]{babel}
\usepackage[a4paper,margin=1.5cm]{geometry}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage{ltablex}
\keepXColumns
\usepackage{ragged2e}
\usepackage{array}
\usepackage{caption}
\usepackage{xcolor}
\usepackage[hidelinks]{hyperref}
\usepackage{titlesec}

% Versionsnummer aus ../VERSION
\newread\versionfile
\openin\versionfile=../VERSION
\read\versionfile to \guideversion
\closein\versionfile

\setlength{\parindent}{0pt}
\setlength{\parskip}{0.4em}
\renewcommand{\arraystretch}{1.18}
\setlength{\tabcolsep}{4pt}
\setlength{\emergencystretch}{3em}

\captionsetup{
  font=normalsize,
  labelfont={bf},
  textfont={it},
  justification=raggedright,
  singlelinecheck=off,
  labelsep=newline,
  skip=4pt,
}

\titleformat{\section}{\normalfont\Large\bfseries}{\thesection}{0.6em}{}
\titleformat{\subsection}{\normalfont\large\bfseries}{\thesubsection}{0.6em}{}
\titlespacing*{\section}{0pt}{1.4em}{0.6em}
\titlespacing*{\subsection}{0pt}{1.0em}{0.4em}

\newcolumntype{L}[1]{>{\RaggedRight\arraybackslash}p{#1}}

\title{\textbf{Claude Code -- Command Reference}\\\large Official slash commands, bundled skills, and CLI flags -- Community Edition}
\author{}
\date{\today}

\usepackage{graphicx}
\begin{document}
\begin{center}
  \includegraphics[width=0.28\textwidth]{umbruch_logo.png}
\end{center}
\vspace{0.4em}
\maketitle
\section*{About this document}
This reference lists only the official Claude Code slash commands, bundled skills, and CLI flags. Source: official documentation at \texttt{code.claude.com/docs}. Subcommands and aliases are listed in the description column. Free to share.
\par\vspace{0.4em}\small\textit{Version \guideversion{} -- Community Edition -- as of \today. Changelog: \texttt{help/CHANGELOG.md}, version file: \texttt{help/VERSION}.}\normalsize
\section{Alphabetical overview}
{\small\sloppy
\begin{longtable}{@{}L{5.2cm} L{6.8cm} L{3.1cm} L{2.1cm}@{}}
\caption{All commands in alphabetical order}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Category} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Category} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{4}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{4}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description text. ``Anthropic (setup)'' = official command that requires additional setup, auth, or a specific platform. ``User'' = locally installed skill.}\\
\endlastfoot
\texttt{/add-\allowbreak{}dir \textless{}path\textgreater{}} & Add a working directory for file access during the current session; most \texttt{.claude/} configuration is not auto-discovered. & Session \& Conversation & Anthropic\\
\texttt{/agents} & Manage subagent configurations (create, list, delete). & Tools, Skills \& Extensions & Anthropic\\
\texttt{/autofix-\allowbreak{}pr [prompt]} & Spawn a web session that watches the current branch's PR and pushes fixes when CI fails or reviewers comment. \textbf{Setup:} \texttt{gh} CLI + web access. & Code, Git \& Review & Anthropic (setup)\\
\texttt{/background [prompt]} & Detach the session to run as a background agent, freeing this terminal. Optionally pass one more instruction. Alias: \texttt{/bg}. & Session \& Conversation & Anthropic\\
\texttt{/batch \textless{}anweisung\textgreater{}} & Plan a large change across the repo, decompose into 5--30 units, and spawn one agent per unit in a worktree (bundled skill). & Tools, Skills \& Extensions & Anthropic\\
\texttt{/branch [name]} & Branch the current conversation at this point. Alias: \texttt{/fork}. & Session \& Conversation & Anthropic\\
\texttt{/btw \textless{}frage\textgreater{}} & Ask a quick side question without adding it to the main conversation (answer shown as overlay). & Session \& Conversation & Anthropic\\
\texttt{/chrome} & Claude in Chrome (beta) settings. \textbf{Setup:} browser extension required. & Web, Mobile \& Remote & Anthropic (setup)\\
\texttt{/clear} & Clear conversation history and free up context. Aliases: \texttt{/reset}, \texttt{/new}. & Session \& Conversation & Anthropic\\
\texttt{/code-\allowbreak{}review [level] [--fix] [--comment] [target]} & Review the current diff for bugs and cleanups. \texttt{--fix} applies findings, \texttt{--comment} posts as PR comments, \texttt{ultra} runs a cloud review (bundled skill). & Code, Git \& Review & Anthropic\\
\texttt{/color [farbe]} & Set the prompt bar color: \texttt{red}, \texttt{blue}, \texttt{green}, \texttt{yellow}, \texttt{purple}, \texttt{orange}, \texttt{pink}, \texttt{cyan}, \texttt{default}. & Configuration \& Customization & Anthropic\\
\texttt{/compact [fokus]} & Compact the conversation into a structured summary; optional focus instructions. & Session \& Conversation & Anthropic\\
\texttt{/config} & Open the settings interface (theme, model, output style, and more). Alias: \texttt{/settings}. & Configuration \& Customization & Anthropic\\
\texttt{/context} & Visualize current context usage as a colored grid, with optimization suggestions. & Session \& Conversation & Anthropic\\
\texttt{/copy [N]} & Copy the last assistant response to the clipboard (\texttt{/copy 2} for the second-to-last; press \texttt{w} to write to a file). & Session \& Conversation & Anthropic\\
\texttt{/cost} & Show session token usage (per model, cache-hit breakdown for subscribers). & Account, Status \& Help & Anthropic\\
\texttt{/debug [beschreibung]} & Enable debug logging for the session and analyze issues (bundled skill). & Configuration \& Customization & Anthropic\\
\texttt{/deep-\allowbreak{}research \textless{}frage\textgreater{}} & Fan out web searches on a question, fetch and cross-check sources, and synthesize a cited report (bundled workflow). & Tools, Skills \& Extensions & Anthropic\\
\texttt{/desktop} & Continue the current session in Claude Code Desktop. Alias: \texttt{/app}. \textbf{Setup:} macOS and Windows only. & Web, Mobile \& Remote & Anthropic (setup)\\
\texttt{/diff} & Interactive diff viewer for uncommitted changes and per-turn diffs (arrow keys switch files/turns). & Code, Git \& Review & Anthropic\\
\texttt{/doctor} & Diagnose and verify the Claude Code installation and settings. & Account, Status \& Help & Anthropic\\
\texttt{/effort [level]} & Set the effort level: \texttt{low}, \texttt{medium}, \texttt{high}, \texttt{xhigh}, \texttt{max}, \texttt{ultracode}, or \texttt{auto}. \texttt{ultracode} combines \texttt{xhigh} reasoning with automatic workflow orchestration. & Model \& Mode & Anthropic\\
\texttt{/exit} & Exit the CLI. In an attached background session, this detaches while the session keeps running. Alias: \texttt{/quit}. & Session \& Conversation & Anthropic\\
\texttt{/export [datei]} & Export the current conversation as plain text (to a file or the clipboard). & Session \& Conversation & Anthropic\\
\texttt{/fast [on|off]} & Toggle fast mode (available on Opus 4.8/4.7/4.6, does not downgrade to a smaller model). & Model \& Mode & Anthropic\\
\texttt{/feedback [report]} & Submit feedback about Claude Code or share your conversation. Aliases: \texttt{/bug}, \texttt{/share}. & Account, Status \& Help & Anthropic\\
\texttt{/fewer-\allowbreak{}permission-\allowbreak{}prompts} & Scan transcripts for common read-only Bash and MCP tool calls and add a prioritized allowlist to \texttt{.claude/settings.json} (bundled skill). & Configuration \& Customization & Anthropic\\
\texttt{/focus} & Toggle focus view (last prompt, one-line tool summary, final response). Fullscreen rendering only. & Configuration \& Customization & Anthropic\\
\texttt{/goal [bedingung|clear]} & Set a goal: Claude keeps working across turns until the condition is met. \texttt{clear}/\texttt{stop}/\texttt{off} removes an active goal. & Session \& Conversation & Anthropic\\
\texttt{/heapdump} & Write a JavaScript heap snapshot and memory breakdown to Desktop for diagnosing high memory usage. & Configuration \& Customization & Anthropic\\
\texttt{/help} & Show help and all available commands. & Account, Status \& Help & Anthropic\\
\texttt{/hooks} & View hook configurations for tool events. & Configuration \& Customization & Anthropic\\
\texttt{/ide} & Manage IDE integrations and show connection status. & Configuration \& Customization & Anthropic\\
\texttt{/init} & Initialize a project with a \texttt{CLAUDE.md} guide; \texttt{CLAUDE\_CODE\_NEW\_INIT=1} enables an interactive flow. & Code, Git \& Review & Anthropic\\
\texttt{/insights} & Generate a report on sessions: project areas, interaction patterns, friction points. & Account, Status \& Help & Anthropic\\
\texttt{/install-\allowbreak{}github-\allowbreak{}app} & Set up Claude GitHub Actions for a repository. \textbf{Setup:} interactive GitHub App installation. & Code, Git \& Review & Anthropic (setup)\\
\texttt{/install-\allowbreak{}slack-\allowbreak{}app} & Install the Claude Slack app (OAuth flow in the browser). \textbf{Setup:} Slack workspace rights required. & Code, Git \& Review & Anthropic (setup)\\
\texttt{/keybindings} & Open or create the keybindings configuration file. & Configuration \& Customization & Anthropic\\
\texttt{/login} & Sign in to your Anthropic account. & Account, Status \& Help & Anthropic\\
\texttt{/logout} & Sign out from your Anthropic account. & Account, Status \& Help & Anthropic\\
\texttt{/loop [intervall] \textless{}prompt\textgreater{}} & Run a prompt or slash command on an interval, e.g.\ \texttt{/loop 5m check deploy} (bundled skill). & Tools, Skills \& Extensions & Anthropic\\
\texttt{/mcp} & Manage MCP server connections and OAuth authentication; subcommands \texttt{enable}, \texttt{disable}, \texttt{add}, \texttt{list}, \texttt{remove}. & Tools, Skills \& Extensions & Anthropic\\
\texttt{/memory} & Edit \texttt{CLAUDE.md} memory files, toggle auto-memory, view auto-memory entries. & Session \& Conversation & Anthropic\\
\texttt{/mobile} & Show the QR code to download the mobile app. Aliases: \texttt{/ios}, \texttt{/android}. \textbf{Setup:} app required on the device. & Web, Mobile \& Remote & Anthropic (setup)\\
\texttt{/model [name]} & Select or change the AI model: \texttt{opus}, \texttt{sonnet}, \texttt{haiku} or full model ID. & Model \& Mode & Anthropic\\
\texttt{/passes} & Share a free week of Claude Code with friends. \textbf{Setup:} only if your account is eligible. & Account, Status \& Help & Anthropic (setup)\\
\texttt{/permissions} & Manage allow/ask/deny rules, review auto-mode denials. Alias: \texttt{/allowed-tools}. & Configuration \& Customization & Anthropic\\
\texttt{/plan [beschreibung]} & Enter plan mode, optionally with a task description (e.g.\ \texttt{/plan fix auth bug}). & Model \& Mode & Anthropic\\
\texttt{/plugin} & Manage Claude Code plugins (install, marketplace, updates). Alias: \texttt{/plugins}. & Tools, Skills \& Extensions & Anthropic\\
\texttt{/powerup} & Discover Claude Code features through quick interactive lessons. & Account, Status \& Help & Anthropic\\
\texttt{/privacy-\allowbreak{}settings} & View and update privacy settings. \textbf{Setup:} Pro and Max subscribers only. & Configuration \& Customization & Anthropic (setup)\\
\texttt{/radio} & Open Claude FM lo-fi radio in your browser. Not available on Bedrock, Vertex, or Foundry. & Account, Status \& Help & Anthropic\\
\texttt{/recap} & Generate a one-line summary of the current session on demand. & Session \& Conversation & Anthropic\\
\texttt{/release-\allowbreak{}notes} & View the changelog in an interactive version picker. & Account, Status \& Help & Anthropic\\
\texttt{/reload-\allowbreak{}plugins} & Reload all active plugins without restarting; reports reloaded components and load errors. & Configuration \& Customization & Anthropic\\
\texttt{/reload-\allowbreak{}skills} & Re-scan skill and command directories so skills added or changed on disk become available without restarting. & Configuration \& Customization & Anthropic\\
\texttt{/remote-\allowbreak{}control} & Make the session available for remote control from claude.ai or the app. Alias: \texttt{/rc}. \textbf{Setup:} Claude.ai connection required. & Web, Mobile \& Remote & Anthropic (setup)\\
\texttt{/remote-\allowbreak{}env} & Configure the default remote environment for web sessions. \textbf{Setup:} used by \texttt{claude --remote}. & Web, Mobile \& Remote & Anthropic (setup)\\
\texttt{/rename [name]} & Rename the current session; without an argument, auto-generates a name from the conversation. & Session \& Conversation & Anthropic\\
\texttt{/resume [session]} & Resume a session by ID or name, or open the session picker. Alias: \texttt{/continue}. & Session \& Conversation & Anthropic\\
\texttt{/review [PR]} & Review a pull request locally in the current session. For a deeper cloud review, use \texttt{/code-review ultra}. & Code, Git \& Review & Anthropic\\
\texttt{/rewind} & Rewind the conversation and/or code to a previous point. Aliases: \texttt{/checkpoint}, \texttt{/undo}. & Session \& Conversation & Anthropic\\
\texttt{/run} & Launch and drive your project's app to see a change working in the running app, not just in tests (bundled skill). & Code, Git \& Review & Anthropic\\
\texttt{/run-\allowbreak{}skill-\allowbreak{}generator} & Teach \texttt{/run} and \texttt{/verify} how to build, launch, and drive your project's app (bundled skill). & Code, Git \& Review & Anthropic\\
\texttt{/sandbox} & Toggle OS-level sandbox mode. \textbf{Setup:} available on supported platforms only. & Configuration \& Customization & Anthropic (setup)\\
\texttt{/schedule [beschreibung]} & Create, update, list, or run routines (cloud-scheduled tasks) on Anthropic-managed infrastructure. Alias: \texttt{/routines}. & Tools, Skills \& Extensions & Anthropic\\
\texttt{/scroll-\allowbreak{}speed} & Adjust mouse wheel scroll speed interactively. Available in fullscreen rendering only. & Configuration \& Customization & Anthropic\\
\texttt{/security-\allowbreak{}review} & Analyze pending changes on the current branch for security risks (injection, auth, data exposure). & Code, Git \& Review & Anthropic\\
\texttt{/setup-\allowbreak{}bedrock} & Configure Amazon Bedrock auth, region, and model pins interactively. \textbf{Setup:} requires \texttt{CLAUDE\_CODE\_USE\_BEDROCK=1}. & Account, Status \& Help & Anthropic (setup)\\
\texttt{/setup-\allowbreak{}vertex} & Configure Google Vertex AI auth, project, region, and model pins interactively. \textbf{Setup:} requires \texttt{CLAUDE\_CODE\_USE\_VERTEX=1}. & Account, Status \& Help & Anthropic (setup)\\
\texttt{/simplify [fokus]} & Review changed files for reuse, quality, and efficiency with three parallel review agents and fixes (bundled skill). & Tools, Skills \& Extensions & Anthropic\\
\texttt{/skills} & List available skills from project, user, and plugin sources. & Tools, Skills \& Extensions & Anthropic\\
\texttt{/stats} & Visualize daily usage, session history, streaks, and model preferences. & Account, Status \& Help & Anthropic\\
\texttt{/status} & Settings status tab: version, model, account, connectivity -- works while Claude is responding. & Account, Status \& Help & Anthropic\\
\texttt{/statusline} & Configure the status line -- describe what you want, or auto-configure from your shell prompt. & Configuration \& Customization & Anthropic\\
\texttt{/stickers} & Order Claude Code stickers. & Account, Status \& Help & Anthropic\\
\texttt{/stop} & Stop the current background session (only when attached). Transcript and worktree are kept. & Session \& Conversation & Anthropic\\
\texttt{/tasks} & List and manage background tasks. Alias: \texttt{/bashes}. & Tools, Skills \& Extensions & Anthropic\\
\texttt{/team-\allowbreak{}onboarding} & Generate a team onboarding guide from your Claude Code usage history of the past 30 days. & Tools, Skills \& Extensions & Anthropic\\
\texttt{/teleport} & Pull a web session into this terminal: fetches branch and conversation. Alias: \texttt{/tp}. \textbf{Setup:} Claude subscription required. & Web, Mobile \& Remote & Anthropic (setup)\\
\texttt{/terminal-\allowbreak{}setup} & Install terminal keybindings (Shift+Enter etc.). \textbf{Setup:} only in VS~Code, Alacritty, Warp. & Configuration \& Customization & Anthropic (setup)\\
\texttt{/theme} & Change the color theme (light/dark, accessible variants, ANSI themes, custom themes from \texttt{\textasciitilde{}/.claude/themes/}). & Configuration \& Customization & Anthropic\\
\texttt{/tui [default|fullscreen]} & Set the terminal UI renderer and relaunch with conversation intact. \texttt{fullscreen} enables the flicker-free alt-screen renderer. & Configuration \& Customization & Anthropic\\
\texttt{/ultraplan \textless{}prompt\textgreater{}} & Draft a big plan in an ultraplan web session, review in the browser, and execute remotely or locally. \textbf{Setup:} web account required. & Web, Mobile \& Remote & Anthropic (setup)\\
\texttt{/ultrareview [PR]} & Run a deep multi-agent code review in a cloud sandbox. Preferred invocation: \texttt{/code-review ultra}; \texttt{/ultrareview} remains as an alias. & Code, Git \& Review & Anthropic\\
\texttt{/upgrade} & Open the upgrade page to switch to a higher plan tier. & Account, Status \& Help & Anthropic\\
\texttt{/usage} & Show session cost, plan usage limits, and activity stats. Aliases: \texttt{/cost}, \texttt{/stats}. & Account, Status \& Help & Anthropic\\
\texttt{/usage-\allowbreak{}credits} & Configure usage credits to keep working when rate limits are hit. Previously \texttt{/extra-usage}. & Account, Status \& Help & Anthropic\\
\texttt{/verify} & Confirm a code change works by building the project's app, running it, and observing the result (bundled skill). & Code, Git \& Review & Anthropic\\
\texttt{/voice [hold|tap|off]} & Toggle voice dictation or set mode (\texttt{hold}, \texttt{tap}, \texttt{off}). \textbf{Setup:} requires a Claude.ai account. & Model \& Mode & Anthropic (setup)\\
\texttt{/web-\allowbreak{}setup} & Connect your GitHub account to Claude Code on the web using local \texttt{gh} CLI credentials. \textbf{Setup:} \texttt{gh} CLI required. & Web, Mobile \& Remote & Anthropic (setup)\\
\texttt{/workflows} & Open the workflow progress view to watch, pause, resume, or save running and completed workflows. & Tools, Skills \& Extensions & Anthropic\\
\texttt{--add-\allowbreak{}dir \textless{}path\textgreater{} [path ...]} & Additional working directories (file access, no config discovery). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--agent \textless{}name\textgreater{}} & Specify an agent for the session (overrides the \texttt{agent} setting). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--agents '\textless{}json\textgreater{}'} & Define custom subagents dynamically via JSON (\texttt{description}, \texttt{prompt}, \texttt{tools}, \ldots). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--allow-\allowbreak{}dangerously-\allowbreak{}skip-\allowbreak{}permissions} & Add \texttt{bypassPermissions} to the Shift+Tab mode cycle without starting in it. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--allowedTools \textless{}liste\textgreater{}} & Tools that run without permission prompts (e.g.\ \texttt{"Bash(git log *)" Read}). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--append-\allowbreak{}system-\allowbreak{}prompt \textless{}text\textgreater{}} & Append text to the default system prompt. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--append-\allowbreak{}system-\allowbreak{}prompt-\allowbreak{}file \textless{}pfad\textgreater{}} & Append file contents to the default system prompt. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--bare} & Minimal mode: skip auto-discovery (hooks, skills, plugins, MCP, CLAUDE.md). Only Bash, Read, Edit. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--betas \textless{}header\textgreater{}} & Beta headers in API requests (API key users only), e.g.\ \texttt{interleaved-thinking}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--bg} & Start the session as a background agent and return immediately. Combine with \texttt{--exec} (shell job) or \texttt{--agent}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--channels \textless{}liste\textgreater{}} & (Research preview) MCP servers whose channel notifications Claude listens to (\texttt{plugin:name@marketplace}). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--chrome} & Enable Chrome browser integration. \textbf{Setup:} Chrome extension required. & CLI Flags \& Subcommands & Anthropic (setup)\\
\texttt{--continue, -c} & Load the most recent conversation in the current directory. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--dangerously-\allowbreak{}skip-\allowbreak{}permissions} & Skip all permission prompts (equivalent to \texttt{bypassPermissions}). Risky. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--debug [kategorien]} & Debug mode with optional category filter, e.g.\ \texttt{"api,hooks"} or \texttt{"!statsig,!file"}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--debug-\allowbreak{}file \textless{}path\textgreater{}} & Write debug logs to a specific file; implicitly enables debug mode. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--disable-\allowbreak{}slash-\allowbreak{}commands} & Disable all skills and slash commands for the session. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--disallowedTools \textless{}liste\textgreater{}} & Tools removed from the model context and unavailable. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--effort \textless{}level\textgreater{}} & Effort level for the session: \texttt{low}, \texttt{medium}, \texttt{high}, \texttt{xhigh}, \texttt{max}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--exclude-\allowbreak{}dynamic-\allowbreak{}system-\allowbreak{}prompt-\allowbreak{}sections} & Move per-machine system prompt sections into the first user message (improves prompt cache reuse across users). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--exec} & Run a shell command as a PTY-backed background job instead of a Claude session. Use with \texttt{--bg}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--fallback-\allowbreak{}model \textless{}name\textgreater{}} & Fallback model when the primary is overloaded (print mode only). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--fork-\allowbreak{}session} & When resuming, create a new session ID instead of reusing the original. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--from-\allowbreak{}pr \textless{}pr\textgreater{}} & Resume sessions linked to a specific GitHub PR (number or URL). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--ide} & Automatically connect to the detected IDE on startup. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--include-\allowbreak{}hook-\allowbreak{}events} & Include all hook lifecycle events in the stream (requires \texttt{--output-format stream-json}). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--include-\allowbreak{}partial-\allowbreak{}messages} & Include partial streaming events in output (print + stream-json). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--init} & Run initialization hooks, then start interactive mode. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--init-\allowbreak{}only} & Run initialization hooks and exit (no session). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--input-\allowbreak{}format \textless{}fmt\textgreater{}} & Input format in print mode: \texttt{text} or \texttt{stream-json}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--json-\allowbreak{}schema '\textless{}schema\textgreater{}'} & Validated JSON output matching a JSON Schema (print mode only). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--maintenance} & Run maintenance hooks, then start interactive mode. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--max-\allowbreak{}budget-\allowbreak{}usd \textless{}amount\textgreater{}} & Maximum dollar amount for API calls (print mode); stops at the limit. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--max-\allowbreak{}turns \textless{}n\textgreater{}} & Limit the number of agent turns (print mode); errors out when the limit is reached. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--mcp-\allowbreak{}config \textless{}path|json\textgreater{}} & Load MCP servers from JSON file(s) or string (space-separated). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--model \textless{}name\textgreater{}} & Set the session model: \texttt{opus}, \texttt{sonnet}, \texttt{haiku}, or full ID (e.g.\ \texttt{claude-opus-4-8}). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--name, -n \textless{}name\textgreater{}} & Set a display name for the session (shown in \texttt{/resume} and the terminal title). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--no-\allowbreak{}chrome} & Disable Chrome browser integration for this session. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--no-\allowbreak{}session-\allowbreak{}persistence} & Do not persist the session to disk (print mode only). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--output-\allowbreak{}format \textless{}fmt\textgreater{}} & Output format in print mode: \texttt{text}, \texttt{json}, \texttt{stream-json}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--permission-\allowbreak{}mode \textless{}mode\textgreater{}} & Start mode: \texttt{default}, \texttt{acceptEdits}, \texttt{plan}, \texttt{auto}, \texttt{dontAsk}, \texttt{bypassPermissions}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--permission-\allowbreak{}prompt-\allowbreak{}tool \textless{}mcp\textgreater{}} & MCP tool that handles permission prompts in non-interactive mode. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--plugin-\allowbreak{}dir \textless{}path\textgreater{}} & Load a plugin from a directory or \texttt{.zip} archive for this session (repeatable). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--plugin-\allowbreak{}url \textless{}url\textgreater{}} & Fetch a plugin \texttt{.zip} archive from a URL for this session (repeatable). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--print, -p} & Print the response and exit (non-interactive); ideal for scripts and CI. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--prompt-\allowbreak{}suggestions} & Emit a predicted next user prompt after each turn (requires print, stream-json, verbose). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--remote "\textless{}task\textgreater{}"} & Start a new web session on claude.ai with the given task. \textbf{Setup:} web account. & CLI Flags \& Subcommands & Anthropic (setup)\\
\texttt{--remote-\allowbreak{}control, --rc [name]} & Start an interactive session with remote control enabled. \textbf{Setup:} Claude.ai connection. & CLI Flags \& Subcommands & Anthropic (setup)\\
\texttt{--remote-\allowbreak{}control-\allowbreak{}session-\allowbreak{}name-\allowbreak{}prefix \textless{}prefix\textgreater{}} & Prefix for auto-generated Remote Control session names (defaults to hostname). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--replay-\allowbreak{}user-\allowbreak{}messages} & Re-emit user messages from stdin back on stdout (acknowledgement). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--resume, -r [id]} & Resume a specific session by ID or name; no argument shows an interactive picker. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--session-\allowbreak{}id \textless{}uuid\textgreater{}} & Use a specific session ID (must be a valid UUID). & CLI Flags \& Subcommands & Anthropic\\
\texttt{--setting-\allowbreak{}sources \textless{}list\textgreater{}} & Comma-separated list of setting sources to load: \texttt{user}, \texttt{project}, \texttt{local}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--settings \textless{}path|json\textgreater{}} & Path to a settings JSON file or a JSON string for additional settings. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--strict-\allowbreak{}mcp-\allowbreak{}config} & Use only the MCP config passed via \texttt{--mcp-config}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--system-\allowbreak{}prompt \textless{}text\textgreater{}} & Replace the entire system prompt with custom text. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--system-\allowbreak{}prompt-\allowbreak{}file \textless{}pfad\textgreater{}} & Replace the system prompt with the contents of a file. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--teammate-\allowbreak{}mode \textless{}mode\textgreater{}} & Agent team display: \texttt{auto}, \texttt{in-process}, \texttt{tmux}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--teleport} & Resume a web session in the local terminal. \textbf{Setup:} web account required. & CLI Flags \& Subcommands & Anthropic (setup)\\
\texttt{--tmux [=classic]} & Create a tmux session for the worktree (requires \texttt{--worktree}); uses iTerm2 panes when available. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--tools \textless{}liste|""|default\textgreater{}} & Restrict built-in tools: \texttt{""} disables all, \texttt{default} enables all, or a comma list. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--verbose} & Verbose logging: full turn-by-turn output. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--version, -v} & Output the version number. & CLI Flags \& Subcommands & Anthropic\\
\texttt{--worktree, -w [name]} & Start in an isolated git worktree (\texttt{<repo>/.claude/worktrees/<name>}). & CLI Flags \& Subcommands & Anthropic\\
\texttt{cat file | claude -p "query"} & Pipe content: Claude reads from stdin in print mode. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude} & Start an interactive session. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude "query"} & Start an interactive session with an initial prompt. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude -c} & Continue the most recent conversation in the current directory. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude -p "query"} & Print mode: run a prompt and exit (headless/SDK pattern). & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude -r "\textless{}session\textgreater{}" "query"} & Resume a session by ID or name. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude agents} & Subcommand: open agent view to monitor and dispatch background sessions. Flags: \texttt{--json}, \texttt{--cwd}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude attach \textless{}id\textgreater{}} & Subcommand: attach to a background session in this terminal. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude auth login} & Subcommand: sign in; flags \texttt{--email}, \texttt{--sso}, \texttt{--console}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude auth logout} & Subcommand: sign out. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude auth status} & Subcommand: auth status as JSON (or \texttt{--text}); exit 0 if logged in. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude auto-\allowbreak{}mode defaults} & Subcommand: print built-in auto-mode classifier rules as JSON. \texttt{claude auto-mode config} shows effective config. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude daemon status} & Subcommand: print background session supervisor state, version, and worker count. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude install [version]} & Subcommand: install a specific version (e.g.\ \texttt{2.1.118}, \texttt{stable}, \texttt{latest}). & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude logs \textless{}id\textgreater{}} & Subcommand: print recent output from a background session. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude mcp} & Subcommand: configure MCP servers (add, remove, list, get). & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude plugin} & Subcommand: manage plugins (install, remove, list). Alias: \texttt{claude plugins}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude project purge [path]} & Subcommand: delete local Claude Code state for a project (transcripts, tasks, logs). Flags: \texttt{--dry-run}, \texttt{--all}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude remote-\allowbreak{}control} & Subcommand: start a remote-control server (no local REPL). \textbf{Setup:} Claude.ai connection. & CLI Flags \& Subcommands & Anthropic (setup)\\
\texttt{claude respawn \textless{}id\textgreater{}} & Subcommand: restart a background session with its conversation intact. \texttt{--all} restarts every running session. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude rm \textless{}id\textgreater{}} & Subcommand: remove a background session from the list (transcript stays available via \texttt{--resume}). & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude setup-\allowbreak{}token} & Subcommand: generate a long-lived OAuth token for CI and scripts. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude stop \textless{}id\textgreater{}} & Subcommand: stop a background session. Alias: \texttt{claude kill}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude ultrareview [target]} & Subcommand: run ultrareview non-interactively. Flags: \texttt{--json}, \texttt{--timeout <min>}. & CLI Flags \& Subcommands & Anthropic\\
\texttt{claude update} & Subcommand: update Claude Code to the latest version. & CLI Flags \& Subcommands & Anthropic\\
\texttt{/claude-\allowbreak{}api [migrate|managed-\allowbreak{}agents-\allowbreak{}onboard]} & Load Claude API and Agent SDK reference material; \texttt{migrate} upgrades API code to newer model versions; \texttt{managed-agents-onboard} walks through creating a Managed Agent (bundled skill). & Tools, Skills \& Extensions & Anthropic\\
\end{longtable}
}
\clearpage
\section{Thematic overview}
{\small\sloppy
\begin{longtable}{@{}L{5.4cm} L{9.6cm} L{2.1cm}@{}}
\caption{Session \& Conversation}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{3}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description.}\\
\endlastfoot
\texttt{/add-\allowbreak{}dir \textless{}path\textgreater{}} & Add a working directory for file access during the current session; most \texttt{.claude/} configuration is not auto-discovered. & Anthropic\\
\texttt{/background [prompt]} & Detach the session to run as a background agent, freeing this terminal. Optionally pass one more instruction. Alias: \texttt{/bg}. & Anthropic\\
\texttt{/branch [name]} & Branch the current conversation at this point. Alias: \texttt{/fork}. & Anthropic\\
\texttt{/btw \textless{}frage\textgreater{}} & Ask a quick side question without adding it to the main conversation (answer shown as overlay). & Anthropic\\
\texttt{/clear} & Clear conversation history and free up context. Aliases: \texttt{/reset}, \texttt{/new}. & Anthropic\\
\texttt{/compact [fokus]} & Compact the conversation into a structured summary; optional focus instructions. & Anthropic\\
\texttt{/context} & Visualize current context usage as a colored grid, with optimization suggestions. & Anthropic\\
\texttt{/copy [N]} & Copy the last assistant response to the clipboard (\texttt{/copy 2} for the second-to-last; press \texttt{w} to write to a file). & Anthropic\\
\texttt{/exit} & Exit the CLI. In an attached background session, this detaches while the session keeps running. Alias: \texttt{/quit}. & Anthropic\\
\texttt{/export [datei]} & Export the current conversation as plain text (to a file or the clipboard). & Anthropic\\
\texttt{/goal [bedingung|clear]} & Set a goal: Claude keeps working across turns until the condition is met. \texttt{clear}/\texttt{stop}/\texttt{off} removes an active goal. & Anthropic\\
\texttt{/memory} & Edit \texttt{CLAUDE.md} memory files, toggle auto-memory, view auto-memory entries. & Anthropic\\
\texttt{/recap} & Generate a one-line summary of the current session on demand. & Anthropic\\
\texttt{/rename [name]} & Rename the current session; without an argument, auto-generates a name from the conversation. & Anthropic\\
\texttt{/resume [session]} & Resume a session by ID or name, or open the session picker. Alias: \texttt{/continue}. & Anthropic\\
\texttt{/rewind} & Rewind the conversation and/or code to a previous point. Aliases: \texttt{/checkpoint}, \texttt{/undo}. & Anthropic\\
\texttt{/stop} & Stop the current background session (only when attached). Transcript and worktree are kept. & Anthropic\\
\end{longtable}
}
{\small\sloppy
\begin{longtable}{@{}L{5.4cm} L{9.6cm} L{2.1cm}@{}}
\caption{Model \& Mode}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{3}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description.}\\
\endlastfoot
\texttt{/effort [level]} & Set the effort level: \texttt{low}, \texttt{medium}, \texttt{high}, \texttt{xhigh}, \texttt{max}, \texttt{ultracode}, or \texttt{auto}. \texttt{ultracode} combines \texttt{xhigh} reasoning with automatic workflow orchestration. & Anthropic\\
\texttt{/fast [on|off]} & Toggle fast mode (available on Opus 4.8/4.7/4.6, does not downgrade to a smaller model). & Anthropic\\
\texttt{/model [name]} & Select or change the AI model: \texttt{opus}, \texttt{sonnet}, \texttt{haiku} or full model ID. & Anthropic\\
\texttt{/plan [beschreibung]} & Enter plan mode, optionally with a task description (e.g.\ \texttt{/plan fix auth bug}). & Anthropic\\
\texttt{/voice [hold|tap|off]} & Toggle voice dictation or set mode (\texttt{hold}, \texttt{tap}, \texttt{off}). \textbf{Setup:} requires a Claude.ai account. & Anthropic (setup)\\
\end{longtable}
}
{\small\sloppy
\begin{longtable}{@{}L{5.4cm} L{9.6cm} L{2.1cm}@{}}
\caption{Configuration \& Customization}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{3}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description.}\\
\endlastfoot
\texttt{/color [farbe]} & Set the prompt bar color: \texttt{red}, \texttt{blue}, \texttt{green}, \texttt{yellow}, \texttt{purple}, \texttt{orange}, \texttt{pink}, \texttt{cyan}, \texttt{default}. & Anthropic\\
\texttt{/config} & Open the settings interface (theme, model, output style, and more). Alias: \texttt{/settings}. & Anthropic\\
\texttt{/debug [beschreibung]} & Enable debug logging for the session and analyze issues (bundled skill). & Anthropic\\
\texttt{/fewer-\allowbreak{}permission-\allowbreak{}prompts} & Scan transcripts for common read-only Bash and MCP tool calls and add a prioritized allowlist to \texttt{.claude/settings.json} (bundled skill). & Anthropic\\
\texttt{/focus} & Toggle focus view (last prompt, one-line tool summary, final response). Fullscreen rendering only. & Anthropic\\
\texttt{/heapdump} & Write a JavaScript heap snapshot and memory breakdown to Desktop for diagnosing high memory usage. & Anthropic\\
\texttt{/hooks} & View hook configurations for tool events. & Anthropic\\
\texttt{/ide} & Manage IDE integrations and show connection status. & Anthropic\\
\texttt{/keybindings} & Open or create the keybindings configuration file. & Anthropic\\
\texttt{/permissions} & Manage allow/ask/deny rules, review auto-mode denials. Alias: \texttt{/allowed-tools}. & Anthropic\\
\texttt{/privacy-\allowbreak{}settings} & View and update privacy settings. \textbf{Setup:} Pro and Max subscribers only. & Anthropic (setup)\\
\texttt{/reload-\allowbreak{}plugins} & Reload all active plugins without restarting; reports reloaded components and load errors. & Anthropic\\
\texttt{/reload-\allowbreak{}skills} & Re-scan skill and command directories so skills added or changed on disk become available without restarting. & Anthropic\\
\texttt{/sandbox} & Toggle OS-level sandbox mode. \textbf{Setup:} available on supported platforms only. & Anthropic (setup)\\
\texttt{/scroll-\allowbreak{}speed} & Adjust mouse wheel scroll speed interactively. Available in fullscreen rendering only. & Anthropic\\
\texttt{/statusline} & Configure the status line -- describe what you want, or auto-configure from your shell prompt. & Anthropic\\
\texttt{/terminal-\allowbreak{}setup} & Install terminal keybindings (Shift+Enter etc.). \textbf{Setup:} only in VS~Code, Alacritty, Warp. & Anthropic (setup)\\
\texttt{/theme} & Change the color theme (light/dark, accessible variants, ANSI themes, custom themes from \texttt{\textasciitilde{}/.claude/themes/}). & Anthropic\\
\texttt{/tui [default|fullscreen]} & Set the terminal UI renderer and relaunch with conversation intact. \texttt{fullscreen} enables the flicker-free alt-screen renderer. & Anthropic\\
\end{longtable}
}
{\small\sloppy
\begin{longtable}{@{}L{5.4cm} L{9.6cm} L{2.1cm}@{}}
\caption{Tools, Skills \& Extensions}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{3}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description.}\\
\endlastfoot
\texttt{/agents} & Manage subagent configurations (create, list, delete). & Anthropic\\
\texttt{/batch \textless{}anweisung\textgreater{}} & Plan a large change across the repo, decompose into 5--30 units, and spawn one agent per unit in a worktree (bundled skill). & Anthropic\\
\texttt{/deep-\allowbreak{}research \textless{}frage\textgreater{}} & Fan out web searches on a question, fetch and cross-check sources, and synthesize a cited report (bundled workflow). & Anthropic\\
\texttt{/loop [intervall] \textless{}prompt\textgreater{}} & Run a prompt or slash command on an interval, e.g.\ \texttt{/loop 5m check deploy} (bundled skill). & Anthropic\\
\texttt{/mcp} & Manage MCP server connections and OAuth authentication; subcommands \texttt{enable}, \texttt{disable}, \texttt{add}, \texttt{list}, \texttt{remove}. & Anthropic\\
\texttt{/plugin} & Manage Claude Code plugins (install, marketplace, updates). Alias: \texttt{/plugins}. & Anthropic\\
\texttt{/schedule [beschreibung]} & Create, update, list, or run routines (cloud-scheduled tasks) on Anthropic-managed infrastructure. Alias: \texttt{/routines}. & Anthropic\\
\texttt{/simplify [fokus]} & Review changed files for reuse, quality, and efficiency with three parallel review agents and fixes (bundled skill). & Anthropic\\
\texttt{/skills} & List available skills from project, user, and plugin sources. & Anthropic\\
\texttt{/tasks} & List and manage background tasks. Alias: \texttt{/bashes}. & Anthropic\\
\texttt{/team-\allowbreak{}onboarding} & Generate a team onboarding guide from your Claude Code usage history of the past 30 days. & Anthropic\\
\texttt{/workflows} & Open the workflow progress view to watch, pause, resume, or save running and completed workflows. & Anthropic\\
\texttt{/claude-\allowbreak{}api [migrate|managed-\allowbreak{}agents-\allowbreak{}onboard]} & Load Claude API and Agent SDK reference material; \texttt{migrate} upgrades API code to newer model versions; \texttt{managed-agents-onboard} walks through creating a Managed Agent (bundled skill). & Anthropic\\
\end{longtable}
}
{\small\sloppy
\begin{longtable}{@{}L{5.4cm} L{9.6cm} L{2.1cm}@{}}
\caption{Web, Mobile \& Remote}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{3}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description.}\\
\endlastfoot
\texttt{/chrome} & Claude in Chrome (beta) settings. \textbf{Setup:} browser extension required. & Anthropic (setup)\\
\texttt{/desktop} & Continue the current session in Claude Code Desktop. Alias: \texttt{/app}. \textbf{Setup:} macOS and Windows only. & Anthropic (setup)\\
\texttt{/mobile} & Show the QR code to download the mobile app. Aliases: \texttt{/ios}, \texttt{/android}. \textbf{Setup:} app required on the device. & Anthropic (setup)\\
\texttt{/remote-\allowbreak{}control} & Make the session available for remote control from claude.ai or the app. Alias: \texttt{/rc}. \textbf{Setup:} Claude.ai connection required. & Anthropic (setup)\\
\texttt{/remote-\allowbreak{}env} & Configure the default remote environment for web sessions. \textbf{Setup:} used by \texttt{claude --remote}. & Anthropic (setup)\\
\texttt{/teleport} & Pull a web session into this terminal: fetches branch and conversation. Alias: \texttt{/tp}. \textbf{Setup:} Claude subscription required. & Anthropic (setup)\\
\texttt{/ultraplan \textless{}prompt\textgreater{}} & Draft a big plan in an ultraplan web session, review in the browser, and execute remotely or locally. \textbf{Setup:} web account required. & Anthropic (setup)\\
\texttt{/web-\allowbreak{}setup} & Connect your GitHub account to Claude Code on the web using local \texttt{gh} CLI credentials. \textbf{Setup:} \texttt{gh} CLI required. & Anthropic (setup)\\
\end{longtable}
}
{\small\sloppy
\begin{longtable}{@{}L{5.4cm} L{9.6cm} L{2.1cm}@{}}
\caption{Code, Git \& Review}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{3}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description.}\\
\endlastfoot
\texttt{/autofix-\allowbreak{}pr [prompt]} & Spawn a web session that watches the current branch's PR and pushes fixes when CI fails or reviewers comment. \textbf{Setup:} \texttt{gh} CLI + web access. & Anthropic (setup)\\
\texttt{/code-\allowbreak{}review [level] [--fix] [--comment] [target]} & Review the current diff for bugs and cleanups. \texttt{--fix} applies findings, \texttt{--comment} posts as PR comments, \texttt{ultra} runs a cloud review (bundled skill). & Anthropic\\
\texttt{/diff} & Interactive diff viewer for uncommitted changes and per-turn diffs (arrow keys switch files/turns). & Anthropic\\
\texttt{/init} & Initialize a project with a \texttt{CLAUDE.md} guide; \texttt{CLAUDE\_CODE\_NEW\_INIT=1} enables an interactive flow. & Anthropic\\
\texttt{/install-\allowbreak{}github-\allowbreak{}app} & Set up Claude GitHub Actions for a repository. \textbf{Setup:} interactive GitHub App installation. & Anthropic (setup)\\
\texttt{/install-\allowbreak{}slack-\allowbreak{}app} & Install the Claude Slack app (OAuth flow in the browser). \textbf{Setup:} Slack workspace rights required. & Anthropic (setup)\\
\texttt{/review [PR]} & Review a pull request locally in the current session. For a deeper cloud review, use \texttt{/code-review ultra}. & Anthropic\\
\texttt{/run} & Launch and drive your project's app to see a change working in the running app, not just in tests (bundled skill). & Anthropic\\
\texttt{/run-\allowbreak{}skill-\allowbreak{}generator} & Teach \texttt{/run} and \texttt{/verify} how to build, launch, and drive your project's app (bundled skill). & Anthropic\\
\texttt{/security-\allowbreak{}review} & Analyze pending changes on the current branch for security risks (injection, auth, data exposure). & Anthropic\\
\texttt{/ultrareview [PR]} & Run a deep multi-agent code review in a cloud sandbox. Preferred invocation: \texttt{/code-review ultra}; \texttt{/ultrareview} remains as an alias. & Anthropic\\
\texttt{/verify} & Confirm a code change works by building the project's app, running it, and observing the result (bundled skill). & Anthropic\\
\end{longtable}
}
{\small\sloppy
\begin{longtable}{@{}L{5.4cm} L{9.6cm} L{2.1cm}@{}}
\caption{Account, Status \& Help}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{3}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description.}\\
\endlastfoot
\texttt{/cost} & Show session token usage (per model, cache-hit breakdown for subscribers). & Anthropic\\
\texttt{/doctor} & Diagnose and verify the Claude Code installation and settings. & Anthropic\\
\texttt{/feedback [report]} & Submit feedback about Claude Code or share your conversation. Aliases: \texttt{/bug}, \texttt{/share}. & Anthropic\\
\texttt{/help} & Show help and all available commands. & Anthropic\\
\texttt{/insights} & Generate a report on sessions: project areas, interaction patterns, friction points. & Anthropic\\
\texttt{/login} & Sign in to your Anthropic account. & Anthropic\\
\texttt{/logout} & Sign out from your Anthropic account. & Anthropic\\
\texttt{/passes} & Share a free week of Claude Code with friends. \textbf{Setup:} only if your account is eligible. & Anthropic (setup)\\
\texttt{/powerup} & Discover Claude Code features through quick interactive lessons. & Anthropic\\
\texttt{/radio} & Open Claude FM lo-fi radio in your browser. Not available on Bedrock, Vertex, or Foundry. & Anthropic\\
\texttt{/release-\allowbreak{}notes} & View the changelog in an interactive version picker. & Anthropic\\
\texttt{/setup-\allowbreak{}bedrock} & Configure Amazon Bedrock auth, region, and model pins interactively. \textbf{Setup:} requires \texttt{CLAUDE\_CODE\_USE\_BEDROCK=1}. & Anthropic (setup)\\
\texttt{/setup-\allowbreak{}vertex} & Configure Google Vertex AI auth, project, region, and model pins interactively. \textbf{Setup:} requires \texttt{CLAUDE\_CODE\_USE\_VERTEX=1}. & Anthropic (setup)\\
\texttt{/stats} & Visualize daily usage, session history, streaks, and model preferences. & Anthropic\\
\texttt{/status} & Settings status tab: version, model, account, connectivity -- works while Claude is responding. & Anthropic\\
\texttt{/stickers} & Order Claude Code stickers. & Anthropic\\
\texttt{/upgrade} & Open the upgrade page to switch to a higher plan tier. & Anthropic\\
\texttt{/usage} & Show session cost, plan usage limits, and activity stats. Aliases: \texttt{/cost}, \texttt{/stats}. & Anthropic\\
\texttt{/usage-\allowbreak{}credits} & Configure usage credits to keep working when rate limits are hit. Previously \texttt{/extra-usage}. & Anthropic\\
\end{longtable}
}
{\small\sloppy
\begin{longtable}{@{}L{5.4cm} L{9.6cm} L{2.1cm}@{}}
\caption{CLI Flags \& Subcommands}\\
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endfirsthead
\toprule
\textbf{Command} & \textbf{Description} & \textbf{Source}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\multicolumn{3}{@{}p{17.5cm}@{}}{\textit{Note.} Subcommands and aliases are mentioned in the description.}\\
\endlastfoot
\texttt{--add-\allowbreak{}dir \textless{}path\textgreater{} [path ...]} & Additional working directories (file access, no config discovery). & Anthropic\\
\texttt{--agent \textless{}name\textgreater{}} & Specify an agent for the session (overrides the \texttt{agent} setting). & Anthropic\\
\texttt{--agents '\textless{}json\textgreater{}'} & Define custom subagents dynamically via JSON (\texttt{description}, \texttt{prompt}, \texttt{tools}, \ldots). & Anthropic\\
\texttt{--allow-\allowbreak{}dangerously-\allowbreak{}skip-\allowbreak{}permissions} & Add \texttt{bypassPermissions} to the Shift+Tab mode cycle without starting in it. & Anthropic\\
\texttt{--allowedTools \textless{}liste\textgreater{}} & Tools that run without permission prompts (e.g.\ \texttt{"Bash(git log *)" Read}). & Anthropic\\
\texttt{--append-\allowbreak{}system-\allowbreak{}prompt \textless{}text\textgreater{}} & Append text to the default system prompt. & Anthropic\\
\texttt{--append-\allowbreak{}system-\allowbreak{}prompt-\allowbreak{}file \textless{}pfad\textgreater{}} & Append file contents to the default system prompt. & Anthropic\\
\texttt{--bare} & Minimal mode: skip auto-discovery (hooks, skills, plugins, MCP, CLAUDE.md). Only Bash, Read, Edit. & Anthropic\\
\texttt{--betas \textless{}header\textgreater{}} & Beta headers in API requests (API key users only), e.g.\ \texttt{interleaved-thinking}. & Anthropic\\
\texttt{--bg} & Start the session as a background agent and return immediately. Combine with \texttt{--exec} (shell job) or \texttt{--agent}. & Anthropic\\
\texttt{--channels \textless{}liste\textgreater{}} & (Research preview) MCP servers whose channel notifications Claude listens to (\texttt{plugin:name@marketplace}). & Anthropic\\
\texttt{--chrome} & Enable Chrome browser integration. \textbf{Setup:} Chrome extension required. & Anthropic (setup)\\
\texttt{--continue, -c} & Load the most recent conversation in the current directory. & Anthropic\\
\texttt{--dangerously-\allowbreak{}skip-\allowbreak{}permissions} & Skip all permission prompts (equivalent to \texttt{bypassPermissions}). Risky. & Anthropic\\
\texttt{--debug [kategorien]} & Debug mode with optional category filter, e.g.\ \texttt{"api,hooks"} or \texttt{"!statsig,!file"}. & Anthropic\\
\texttt{--debug-\allowbreak{}file \textless{}path\textgreater{}} & Write debug logs to a specific file; implicitly enables debug mode. & Anthropic\\
\texttt{--disable-\allowbreak{}slash-\allowbreak{}commands} & Disable all skills and slash commands for the session. & Anthropic\\
\texttt{--disallowedTools \textless{}liste\textgreater{}} & Tools removed from the model context and unavailable. & Anthropic\\
\texttt{--effort \textless{}level\textgreater{}} & Effort level for the session: \texttt{low}, \texttt{medium}, \texttt{high}, \texttt{xhigh}, \texttt{max}. & Anthropic\\
\texttt{--exclude-\allowbreak{}dynamic-\allowbreak{}system-\allowbreak{}prompt-\allowbreak{}sections} & Move per-machine system prompt sections into the first user message (improves prompt cache reuse across users). & Anthropic\\
\texttt{--exec} & Run a shell command as a PTY-backed background job instead of a Claude session. Use with \texttt{--bg}. & Anthropic\\
\texttt{--fallback-\allowbreak{}model \textless{}name\textgreater{}} & Fallback model when the primary is overloaded (print mode only). & Anthropic\\
\texttt{--fork-\allowbreak{}session} & When resuming, create a new session ID instead of reusing the original. & Anthropic\\
\texttt{--from-\allowbreak{}pr \textless{}pr\textgreater{}} & Resume sessions linked to a specific GitHub PR (number or URL). & Anthropic\\
\texttt{--ide} & Automatically connect to the detected IDE on startup. & Anthropic\\
\texttt{--include-\allowbreak{}hook-\allowbreak{}events} & Include all hook lifecycle events in the stream (requires \texttt{--output-format stream-json}). & Anthropic\\
\texttt{--include-\allowbreak{}partial-\allowbreak{}messages} & Include partial streaming events in output (print + stream-json). & Anthropic\\
\texttt{--init} & Run initialization hooks, then start interactive mode. & Anthropic\\
\texttt{--init-\allowbreak{}only} & Run initialization hooks and exit (no session). & Anthropic\\
\texttt{--input-\allowbreak{}format \textless{}fmt\textgreater{}} & Input format in print mode: \texttt{text} or \texttt{stream-json}. & Anthropic\\
\texttt{--json-\allowbreak{}schema '\textless{}schema\textgreater{}'} & Validated JSON output matching a JSON Schema (print mode only). & Anthropic\\
\texttt{--maintenance} & Run maintenance hooks, then start interactive mode. & Anthropic\\
\texttt{--max-\allowbreak{}budget-\allowbreak{}usd \textless{}amount\textgreater{}} & Maximum dollar amount for API calls (print mode); stops at the limit. & Anthropic\\
\texttt{--max-\allowbreak{}turns \textless{}n\textgreater{}} & Limit the number of agent turns (print mode); errors out when the limit is reached. & Anthropic\\
\texttt{--mcp-\allowbreak{}config \textless{}path|json\textgreater{}} & Load MCP servers from JSON file(s) or string (space-separated). & Anthropic\\
\texttt{--model \textless{}name\textgreater{}} & Set the session model: \texttt{opus}, \texttt{sonnet}, \texttt{haiku}, or full ID (e.g.\ \texttt{claude-opus-4-8}). & Anthropic\\
\texttt{--name, -n \textless{}name\textgreater{}} & Set a display name for the session (shown in \texttt{/resume} and the terminal title). & Anthropic\\
\texttt{--no-\allowbreak{}chrome} & Disable Chrome browser integration for this session. & Anthropic\\
\texttt{--no-\allowbreak{}session-\allowbreak{}persistence} & Do not persist the session to disk (print mode only). & Anthropic\\
\texttt{--output-\allowbreak{}format \textless{}fmt\textgreater{}} & Output format in print mode: \texttt{text}, \texttt{json}, \texttt{stream-json}. & Anthropic\\
\texttt{--permission-\allowbreak{}mode \textless{}mode\textgreater{}} & Start mode: \texttt{default}, \texttt{acceptEdits}, \texttt{plan}, \texttt{auto}, \texttt{dontAsk}, \texttt{bypassPermissions}. & Anthropic\\
\texttt{--permission-\allowbreak{}prompt-\allowbreak{}tool \textless{}mcp\textgreater{}} & MCP tool that handles permission prompts in non-interactive mode. & Anthropic\\
\texttt{--plugin-\allowbreak{}dir \textless{}path\textgreater{}} & Load a plugin from a directory or \texttt{.zip} archive for this session (repeatable). & Anthropic\\
\texttt{--plugin-\allowbreak{}url \textless{}url\textgreater{}} & Fetch a plugin \texttt{.zip} archive from a URL for this session (repeatable). & Anthropic\\
\texttt{--print, -p} & Print the response and exit (non-interactive); ideal for scripts and CI. & Anthropic\\
\texttt{--prompt-\allowbreak{}suggestions} & Emit a predicted next user prompt after each turn (requires print, stream-json, verbose). & Anthropic\\
\texttt{--remote "\textless{}task\textgreater{}"} & Start a new web session on claude.ai with the given task. \textbf{Setup:} web account. & Anthropic (setup)\\
\texttt{--remote-\allowbreak{}control, --rc [name]} & Start an interactive session with remote control enabled. \textbf{Setup:} Claude.ai connection. & Anthropic (setup)\\
\texttt{--remote-\allowbreak{}control-\allowbreak{}session-\allowbreak{}name-\allowbreak{}prefix \textless{}prefix\textgreater{}} & Prefix for auto-generated Remote Control session names (defaults to hostname). & Anthropic\\
\texttt{--replay-\allowbreak{}user-\allowbreak{}messages} & Re-emit user messages from stdin back on stdout (acknowledgement). & Anthropic\\
\texttt{--resume, -r [id]} & Resume a specific session by ID or name; no argument shows an interactive picker. & Anthropic\\
\texttt{--session-\allowbreak{}id \textless{}uuid\textgreater{}} & Use a specific session ID (must be a valid UUID). & Anthropic\\
\texttt{--setting-\allowbreak{}sources \textless{}list\textgreater{}} & Comma-separated list of setting sources to load: \texttt{user}, \texttt{project}, \texttt{local}. & Anthropic\\
\texttt{--settings \textless{}path|json\textgreater{}} & Path to a settings JSON file or a JSON string for additional settings. & Anthropic\\
\texttt{--strict-\allowbreak{}mcp-\allowbreak{}config} & Use only the MCP config passed via \texttt{--mcp-config}. & Anthropic\\
\texttt{--system-\allowbreak{}prompt \textless{}text\textgreater{}} & Replace the entire system prompt with custom text. & Anthropic\\
\texttt{--system-\allowbreak{}prompt-\allowbreak{}file \textless{}pfad\textgreater{}} & Replace the system prompt with the contents of a file. & Anthropic\\
\texttt{--teammate-\allowbreak{}mode \textless{}mode\textgreater{}} & Agent team display: \texttt{auto}, \texttt{in-process}, \texttt{tmux}. & Anthropic\\
\texttt{--teleport} & Resume a web session in the local terminal. \textbf{Setup:} web account required. & Anthropic (setup)\\
\texttt{--tmux [=classic]} & Create a tmux session for the worktree (requires \texttt{--worktree}); uses iTerm2 panes when available. & Anthropic\\
\texttt{--tools \textless{}liste|""|default\textgreater{}} & Restrict built-in tools: \texttt{""} disables all, \texttt{default} enables all, or a comma list. & Anthropic\\
\texttt{--verbose} & Verbose logging: full turn-by-turn output. & Anthropic\\
\texttt{--version, -v} & Output the version number. & Anthropic\\
\texttt{--worktree, -w [name]} & Start in an isolated git worktree (\texttt{<repo>/.claude/worktrees/<name>}). & Anthropic\\
\texttt{cat file | claude -p "query"} & Pipe content: Claude reads from stdin in print mode. & Anthropic\\
\texttt{claude} & Start an interactive session. & Anthropic\\
\texttt{claude "query"} & Start an interactive session with an initial prompt. & Anthropic\\
\texttt{claude -c} & Continue the most recent conversation in the current directory. & Anthropic\\
\texttt{claude -p "query"} & Print mode: run a prompt and exit (headless/SDK pattern). & Anthropic\\
\texttt{claude -r "\textless{}session\textgreater{}" "query"} & Resume a session by ID or name. & Anthropic\\
\texttt{claude agents} & Subcommand: open agent view to monitor and dispatch background sessions. Flags: \texttt{--json}, \texttt{--cwd}. & Anthropic\\
\texttt{claude attach \textless{}id\textgreater{}} & Subcommand: attach to a background session in this terminal. & Anthropic\\
\texttt{claude auth login} & Subcommand: sign in; flags \texttt{--email}, \texttt{--sso}, \texttt{--console}. & Anthropic\\
\texttt{claude auth logout} & Subcommand: sign out. & Anthropic\\
\texttt{claude auth status} & Subcommand: auth status as JSON (or \texttt{--text}); exit 0 if logged in. & Anthropic\\
\texttt{claude auto-\allowbreak{}mode defaults} & Subcommand: print built-in auto-mode classifier rules as JSON. \texttt{claude auto-mode config} shows effective config. & Anthropic\\
\texttt{claude daemon status} & Subcommand: print background session supervisor state, version, and worker count. & Anthropic\\
\texttt{claude install [version]} & Subcommand: install a specific version (e.g.\ \texttt{2.1.118}, \texttt{stable}, \texttt{latest}). & Anthropic\\
\texttt{claude logs \textless{}id\textgreater{}} & Subcommand: print recent output from a background session. & Anthropic\\
\texttt{claude mcp} & Subcommand: configure MCP servers (add, remove, list, get). & Anthropic\\
\texttt{claude plugin} & Subcommand: manage plugins (install, remove, list). Alias: \texttt{claude plugins}. & Anthropic\\
\texttt{claude project purge [path]} & Subcommand: delete local Claude Code state for a project (transcripts, tasks, logs). Flags: \texttt{--dry-run}, \texttt{--all}. & Anthropic\\
\texttt{claude remote-\allowbreak{}control} & Subcommand: start a remote-control server (no local REPL). \textbf{Setup:} Claude.ai connection. & Anthropic (setup)\\
\texttt{claude respawn \textless{}id\textgreater{}} & Subcommand: restart a background session with its conversation intact. \texttt{--all} restarts every running session. & Anthropic\\
\texttt{claude rm \textless{}id\textgreater{}} & Subcommand: remove a background session from the list (transcript stays available via \texttt{--resume}). & Anthropic\\
\texttt{claude setup-\allowbreak{}token} & Subcommand: generate a long-lived OAuth token for CI and scripts. & Anthropic\\
\texttt{claude stop \textless{}id\textgreater{}} & Subcommand: stop a background session. Alias: \texttt{claude kill}. & Anthropic\\
\texttt{claude ultrareview [target]} & Subcommand: run ultrareview non-interactively. Flags: \texttt{--json}, \texttt{--timeout <min>}. & Anthropic\\
\texttt{claude update} & Subcommand: update Claude Code to the latest version. & Anthropic\\
\end{longtable}
}
\end{document}
