Claude Code Cheatsheet
Kompakte Referenz für dokumentierte Claude Code CLI-Befehle, MCP-Konfiguration, Plugin-Verwaltung, interaktive Slash Commands, dynamische Befehle und CLI-Flags.
claudeStartet eine interaktive Sitzung.
claude -p "query"Führt eine einmalige Anfrage aus und beendet sich.
claude mcpKonfiguriert MCP servers.
/permissionsVerwaltet erlaubte tools in einer Sitzung.
Einige Slash Commands erscheinen möglicherweise nicht für alle Benutzer. Verfügbarkeit kann von Plattform, Plan, Umgebung, Feature Flags, installierten Plugins, MCP Servers und Skills abhängen.
CLI
CLI-Top-Level-Befehle
Terminalbefehle und häufige Aufrufmuster für Claude Code.
| Befehl | Verwendung | Hinweis |
|---|---|---|
claude | Startet eine interaktive Sitzung. | Most common entry point |
claude "query" | Startet eine interaktive Sitzung mit anfänglichem Prompt. | Describe a task directly |
claude -p "query" | Fragt über das SDK ab und beendet sich. | -p = --print |
cat file | claude -p "query" | Verarbeitet gepipeten Inhalt. | Useful for scripts |
claude -c | Setzt die neueste Unterhaltung fort. | -c = --continue |
claude -c -p "query" | Setzt die neueste Unterhaltung im print mode fort. | Useful for automation |
claude -r "<session>" "query" | Nimmt eine bestimmte Sitzung wieder auf. | -r = --resume |
claude update | Aktualisiert auf die neueste Version. | - |
claude install [version] | Installiert oder reinstalliert das native binary. | - |
claude auth login | Anmelden. | - |
claude auth logout | Abmelden. | - |
claude auth status | Zeigt den Authentifizierungsstatus. | - |
claude agents | Öffnet die agent-Ansicht. | Manage parallel or background agents |
claude attach <id> | Attach to a background session. | - |
claude auto-mode defaults | Print built-in auto-mode rules. | - |
claude auto-mode config | Show effective auto-mode config. | - |
claude daemon status | Show daemon status. | - |
claude daemon stop --any | Stop the daemon. | - |
claude logs <id> | Zeigt Logs für eine Sitzung. | - |
claude mcp | Konfiguriert MCP servers. | - |
claude plugin | Verwaltet plugins. | - |
claude plugins | Alias for claude plugin. | - |
claude project purge [path] | Purge project-related data. | - |
claude remote-control | Configure or enable remote control. | - |
claude respawn <id> | Respawn a background session. | - |
claude rm <id> | Remove a background session. | - |
claude setup-token | Set up token-based authentication. | - |
claude stop <id> | Stop a background session. | - |
claude kill <id> | Alias for claude stop <id>. | - |
claude ultrareview [target] | Run ultra-level code review. | Also available as /code-review ultra |
claudeStartet eine interaktive Sitzung.
Most common entry point
claude "query"Startet eine interaktive Sitzung mit anfänglichem Prompt.
Describe a task directly
claude -p "query"Fragt über das SDK ab und beendet sich.
-p = --print
cat file | claude -p "query"Verarbeitet gepipeten Inhalt.
Useful for scripts
claude -cSetzt die neueste Unterhaltung fort.
-c = --continue
claude -c -p "query"Setzt die neueste Unterhaltung im print mode fort.
Useful for automation
claude -r "<session>" "query"Nimmt eine bestimmte Sitzung wieder auf.
-r = --resume
claude updateAktualisiert auf die neueste Version.
claude install [version]Installiert oder reinstalliert das native binary.
claude auth loginAnmelden.
claude auth logoutAbmelden.
claude auth statusZeigt den Authentifizierungsstatus.
claude agentsÖffnet die agent-Ansicht.
Manage parallel or background agents
claude attach <id>Attach to a background session.
claude auto-mode defaultsPrint built-in auto-mode rules.
claude auto-mode configShow effective auto-mode config.
claude daemon statusShow daemon status.
claude daemon stop --anyStop the daemon.
claude logs <id>Zeigt Logs für eine Sitzung.
claude mcpKonfiguriert MCP servers.
claude pluginVerwaltet plugins.
claude pluginsAlias for claude plugin.
claude project purge [path]Purge project-related data.
claude remote-controlConfigure or enable remote control.
claude respawn <id>Respawn a background session.
claude rm <id>Remove a background session.
claude setup-tokenSet up token-based authentication.
claude stop <id>Stop a background session.
claude kill <id>Alias for claude stop <id>.
claude ultrareview [target]Run ultra-level code review.
Also available as /code-review ultra
MCP
MCP-Befehle
Befehle und Optionen zum Hinzufügen, Anzeigen, Entfernen und Bereitstellen von MCP servers.
| Befehl | Verwendung | Hinweis |
|---|---|---|
claude mcp add --transport http <name> <url> | Add an HTTP MCP server. | Recommended transport |
claude mcp add --transport sse <name> <url> | Add an SSE MCP server. | Deprecated |
claude mcp add [options] <name> -- <command> [args...] | Add a stdio MCP server. | Command follows -- |
claude mcp add-json <name> '<json>' | Add MCP server from JSON config. | Useful for complex config |
claude mcp list | List configured MCP servers. | - |
claude mcp get <name> | Show MCP server configuration. | - |
claude mcp remove <name> | Remove an MCP server. | - |
claude mcp reset-project-choices | Reset project-level MCP choices. | - |
claude mcp add-from-claude-desktop | Import MCP servers from Claude Desktop. | - |
claude mcp serve | Run Claude Code as an MCP server. | - |
/mcp | View MCP status inside session. | Slash command |
--scope local | Store server in local project scope. | - |
--scope project | Store server in shared project scope. | - |
--scope user | Store server in user scope. | - |
--env KEY=VALUE | Pass environment variables to stdio server. | - |
--transport http | Use HTTP transport. | - |
--transport sse | Use SSE transport. | - |
--transport stdio | Use stdio transport. | - |
claude mcp add --transport http <name> <url>Add an HTTP MCP server.
Recommended transport
claude mcp add --transport sse <name> <url>Add an SSE MCP server.
Deprecated
claude mcp add [options] <name> -- <command> [args...]Add a stdio MCP server.
Command follows --
claude mcp add-json <name> '<json>'Add MCP server from JSON config.
Useful for complex config
claude mcp listList configured MCP servers.
claude mcp get <name>Show MCP server configuration.
claude mcp remove <name>Remove an MCP server.
claude mcp reset-project-choicesReset project-level MCP choices.
claude mcp add-from-claude-desktopImport MCP servers from Claude Desktop.
claude mcp serveRun Claude Code as an MCP server.
/mcpView MCP status inside session.
Slash command
--scope localStore server in local project scope.
--scope projectStore server in shared project scope.
--scope userStore server in user scope.
--env KEY=VALUEPass environment variables to stdio server.
--transport httpUse HTTP transport.
--transport sseUse SSE transport.
--transport stdioUse stdio transport.
Plugin
Plugin-Befehle
Nicht interaktive plugin CLI-Befehle und interaktive /plugin-Befehle.
| Befehl | Verwendung | Hinweis |
|---|---|---|
claude plugin init <name> | Create a new plugin scaffold. | - |
claude plugin new <name> | Alias for plugin init. | - |
claude plugin install <plugin> | Install a plugin. | - |
claude plugin uninstall <plugin> | Uninstall a plugin. | - |
claude plugin remove <plugin> | Alias for uninstall. | - |
claude plugin rm <plugin> | Alias for uninstall. | - |
claude plugin prune | Remove unused plugin dependencies. | - |
claude plugin autoremove | Alias for prune. | - |
claude plugin enable <plugin> | Enable a plugin. | - |
claude plugin disable <plugin> | Disable a plugin. | - |
claude plugin update <plugin> | Update a plugin. | - |
claude plugin list | List plugins. | - |
claude plugin details <name> | Show plugin details. | - |
claude plugin tag [options] | Manage plugin tags. | - |
claude plugin validate <path> | Validate a plugin. | Supports strict validation |
/plugin | Open plugin management. | - |
/plugin list | List installed plugins. | - |
/plugin install <plugin> | Install a plugin. | - |
/plugin disable <plugin> | Disable a plugin. | - |
/plugin enable <plugin> | Enable a plugin. | - |
/plugin uninstall <plugin> | Uninstall a plugin. | - |
/plugin validate <path> | Validate a plugin. | - |
/plugin marketplace add <source> | Add a plugin marketplace. | - |
/plugin marketplace list | List marketplaces. | - |
/plugin marketplace update | Update marketplace snapshots. | - |
/plugin marketplace remove <name> | Remove a marketplace. | - |
/plugin market ... | Shortcut for /plugin marketplace ... | - |
claude plugin init <name>Create a new plugin scaffold.
claude plugin new <name>Alias for plugin init.
claude plugin install <plugin>Install a plugin.
claude plugin uninstall <plugin>Uninstall a plugin.
claude plugin remove <plugin>Alias for uninstall.
claude plugin rm <plugin>Alias for uninstall.
claude plugin pruneRemove unused plugin dependencies.
claude plugin autoremoveAlias for prune.
claude plugin enable <plugin>Enable a plugin.
claude plugin disable <plugin>Disable a plugin.
claude plugin update <plugin>Update a plugin.
claude plugin listList plugins.
claude plugin details <name>Show plugin details.
claude plugin tag [options]Manage plugin tags.
claude plugin validate <path>Validate a plugin.
Supports strict validation
/pluginOpen plugin management.
/plugin listList installed plugins.
/plugin install <plugin>Install a plugin.
/plugin disable <plugin>Disable a plugin.
/plugin enable <plugin>Enable a plugin.
/plugin uninstall <plugin>Uninstall a plugin.
/plugin validate <path>Validate a plugin.
/plugin marketplace add <source>Add a plugin marketplace.
/plugin marketplace listList marketplaces.
/plugin marketplace updateUpdate marketplace snapshots.
/plugin marketplace remove <name>Remove a marketplace.
/plugin market ...Shortcut for /plugin marketplace ...
Slash
Interaktive Slash Commands
Für Claude Code-Sitzungen dokumentierte slash commands. Verfügbarkeit kann je nach Umgebung variieren.
| Befehl | Verwendung | Hinweis |
|---|---|---|
/add-dir <path> | Add a working directory. | - |
/advisor [model|off] | Enable or disable advisor. | Can specify model |
/agents | Manage agents. | - |
/autofix-pr [prompt] | Automatically fix PR issues. | - |
/background [prompt] | Start a background task. | Alias /bg |
/bg [prompt] | Alias for /background. | - |
/batch <instruction> | Run batch work. | Skill |
/branch [name] | Create or switch branch context. | - |
/btw <question> | Ask a side question. | Does not interrupt main thread |
/cd <path> | Change working directory. | - |
/chrome | Manage Chrome integration. | - |
/claude-api [migrate|managed-agents-onboard] | Help with Claude API workflows. | Skill |
/clear [name] | Clear session or start fresh. | Aliases /reset, /new |
/reset [name] | Alias for /clear. | - |
/new [name] | Alias for /clear. | - |
/code-review [level] [target] | Führt Code Review aus. | Skill |
/code-review low | Low-effort review. | - |
/code-review medium | Medium-effort review. | - |
/code-review high | High-effort review. | - |
/code-review xhigh | Extra-high review. | - |
/code-review max | Maximum review. | - |
/code-review ultra | Ultra review. | Replacement for /ultrareview |
/code-review --fix | Review and fix. | - |
/code-review --comment | Review and comment. | - |
/color [color|default] | Change color. | - |
/compact [instructions] | Compact conversation context. | - |
/config | Open settings. | Alias /settings |
/settings | Alias for /config. | - |
/context [all] | Show context. | - |
/copy [N] | Kopiert die letzte Ausgabe. | - |
/cost | Show usage or cost. | Alias /usage |
/usage | Zeigt Nutzung. | - |
/debug [description] | Debug an issue. | Skill |
/deep-research <question> | Run deep research. | Workflow |
/desktop | Open desktop app. | Alias /app |
/app | Alias for /desktop. | - |
/diff | Zeigt den Diff. | - |
/doctor | Führt Diagnosen aus. | - |
/effort [level|auto] | Set reasoning effort. | - |
/exit | Exit Claude Code. | Alias /quit |
/quit | Alias for /exit. | - |
/export [filename] | Export conversation. | - |
/fast [on|off] | Toggle fast mode. | - |
/feedback [report] | Send feedback. | Aliases /bug, /share |
/bug [report] | Alias for /feedback. | - |
/share [report] | Alias for /feedback. | - |
/fewer-permission-prompts | Reduce permission prompts. | Skill |
/focus | Focus current task. | - |
/fork <directive> | Fork conversation. | - |
/goal [condition|clear] | Set or clear goal. | - |
/heapdump | Create heap dump. | Debugging command |
/help | Show help. | - |
/hooks | Manage hooks. | - |
/ide | Manage IDE integration. | - |
/init | Initialize project instructions. | Usually generates CLAUDE.md |
/insights | Show insights. | - |
/install-github-app | Install GitHub app. | - |
/install-slack-app | Install Slack app. | - |
/keybindings | Configure keybindings. | - |
/login | Log in. | - |
/logout | Log out. | - |
/loop [interval] [prompt] | Run repeated or proactive loop. | Skill; alias /proactive |
/proactive [interval] [prompt] | Alias for /loop. | - |
/mcp [reconnect <server>|enable|disable] | Manage MCP in session. | - |
/memory | Manage memory. | - |
/mobile | Set up mobile. | Aliases /ios, /android |
/ios | Alias for /mobile. | - |
/android | Alias for /mobile. | - |
/model [model] | Wählt das Modell. | - |
/passes | Show or configure passes. | - |
/permissions | Manage allowed tools. | Alias /allowed-tools |
/allowed-tools | Alias for /permissions. | - |
/plan [description] | Enter or create plan. | - |
/plugin [subcommand] | Verwaltet plugins. | - |
/powerup | Power up workflow. | - |
/pr-comments [PR] | Handle PR comments. | Removed in v2.1.91 |
/privacy-settings | Open privacy settings. | - |
/radio | Manage radio mode. | - |
/recap | Recap the session. | - |
/release-notes | Show release notes. | - |
/reload-plugins [--force] | Reload plugins. | - |
/reload-skills | Reload skills. | - |
/remote-control | Manage remote control. | Alias /rc |
/rc | Alias for /remote-control. | - |
/remote-env | Manage remote environment. | - |
/rename [name] | Rename session. | - |
/resume [session] | Resume session. | Alias /continue |
/continue [session] | Alias for /resume. | - |
/review [PR] | Review pull request. | - |
/rewind | Rewind to checkpoint. | Aliases /checkpoint, /undo |
/checkpoint | Alias for /rewind. | - |
/undo | Alias for /rewind. | - |
/run | Run a command or skill workflow. | Skill |
/run-skill-generator | Generate a skill. | Skill |
/sandbox | Manage sandbox. | - |
/schedule [description] | Schedule routines. | Alias /routines |
/routines [description] | Alias for /schedule. | - |
/scroll-speed | Configure scroll speed. | - |
/security-review | Run security review. | - |
/setup-bedrock | Set up Amazon Bedrock. | - |
/setup-vertex | Set up Google Vertex AI. | - |
/simplify [target] | Simplify code or content. | Skill |
/skills | Browse skills. | - |
/stats | Show usage statistics. | Alias /usage |
/status | Show session status. | - |
/statusline | Configure status line. | - |
/stickers | Manage stickers. | - |
/stop | Stop current operation. | - |
/tasks | Show background tasks. | Alias /bashes |
/bashes | Alias for /tasks. | - |
/team-onboarding | Team onboarding flow. | - |
/teleport | Teleport session or context. | Alias /tp |
/tp | Alias for /teleport. | - |
/terminal-setup | Set up terminal integration. | - |
/theme | Change theme. | - |
/tui [default|fullscreen] | Configure TUI mode. | - |
/ultraplan <prompt> | Create an ultra-detailed plan. | - |
/ultrareview [PR] | Ultra code review. | Now prefer /code-review ultra |
/upgrade | Upgrade plan or CLI. | - |
/usage-credits | Show usage credits. | - |
/verify | Verify changes. | Skill |
/vim | Schaltet Vim mode um. | Removed in v2.1.92 |
/voice [hold|tap|off] | Configure voice input. | - |
/web-setup | Set up web integration. | - |
/workflows | Browse workflows. | - |
/add-dir <path>Add a working directory.
/advisor [model|off]Enable or disable advisor.
Can specify model
/agentsManage agents.
/autofix-pr [prompt]Automatically fix PR issues.
/background [prompt]Start a background task.
Alias /bg
/bg [prompt]Alias for /background.
/batch <instruction>Run batch work.
Skill
/branch [name]Create or switch branch context.
/btw <question>Ask a side question.
Does not interrupt main thread
/cd <path>Change working directory.
/chromeManage Chrome integration.
/claude-api [migrate|managed-agents-onboard]Help with Claude API workflows.
Skill
/clear [name]Clear session or start fresh.
Aliases /reset, /new
/reset [name]Alias for /clear.
/new [name]Alias for /clear.
/code-review [level] [target]Führt Code Review aus.
Skill
/code-review lowLow-effort review.
/code-review mediumMedium-effort review.
/code-review highHigh-effort review.
/code-review xhighExtra-high review.
/code-review maxMaximum review.
/code-review ultraUltra review.
Replacement for /ultrareview
/code-review --fixReview and fix.
/code-review --commentReview and comment.
/color [color|default]Change color.
/compact [instructions]Compact conversation context.
/configOpen settings.
Alias /settings
/settingsAlias for /config.
/context [all]Show context.
/copy [N]Kopiert die letzte Ausgabe.
/costShow usage or cost.
Alias /usage
/usageZeigt Nutzung.
/debug [description]Debug an issue.
Skill
/deep-research <question>Run deep research.
Workflow
/desktopOpen desktop app.
Alias /app
/appAlias for /desktop.
/diffZeigt den Diff.
/doctorFührt Diagnosen aus.
/effort [level|auto]Set reasoning effort.
/exitExit Claude Code.
Alias /quit
/quitAlias for /exit.
/export [filename]Export conversation.
/fast [on|off]Toggle fast mode.
/feedback [report]Send feedback.
Aliases /bug, /share
/bug [report]Alias for /feedback.
/share [report]Alias for /feedback.
/fewer-permission-promptsReduce permission prompts.
Skill
/focusFocus current task.
/fork <directive>Fork conversation.
/goal [condition|clear]Set or clear goal.
/heapdumpCreate heap dump.
Debugging command
/helpShow help.
/hooksManage hooks.
/ideManage IDE integration.
/initInitialize project instructions.
Usually generates CLAUDE.md
/insightsShow insights.
/install-github-appInstall GitHub app.
/install-slack-appInstall Slack app.
/keybindingsConfigure keybindings.
/loginLog in.
/logoutLog out.
/loop [interval] [prompt]Run repeated or proactive loop.
Skill; alias /proactive
/proactive [interval] [prompt]Alias for /loop.
/mcp [reconnect <server>|enable|disable]Manage MCP in session.
/memoryManage memory.
/mobileSet up mobile.
Aliases /ios, /android
/iosAlias for /mobile.
/androidAlias for /mobile.
/model [model]Wählt das Modell.
/passesShow or configure passes.
/permissionsManage allowed tools.
Alias /allowed-tools
/allowed-toolsAlias for /permissions.
/plan [description]Enter or create plan.
/plugin [subcommand]Verwaltet plugins.
/powerupPower up workflow.
/pr-comments [PR]Handle PR comments.
Removed in v2.1.91
/privacy-settingsOpen privacy settings.
/radioManage radio mode.
/recapRecap the session.
/release-notesShow release notes.
/reload-plugins [--force]Reload plugins.
/reload-skillsReload skills.
/remote-controlManage remote control.
Alias /rc
/rcAlias for /remote-control.
/remote-envManage remote environment.
/rename [name]Rename session.
/resume [session]Resume session.
Alias /continue
/continue [session]Alias for /resume.
/review [PR]Review pull request.
/rewindRewind to checkpoint.
Aliases /checkpoint, /undo
/checkpointAlias for /rewind.
/undoAlias for /rewind.
/runRun a command or skill workflow.
Skill
/run-skill-generatorGenerate a skill.
Skill
/sandboxManage sandbox.
/schedule [description]Schedule routines.
Alias /routines
/routines [description]Alias for /schedule.
/scroll-speedConfigure scroll speed.
/security-reviewRun security review.
/setup-bedrockSet up Amazon Bedrock.
/setup-vertexSet up Google Vertex AI.
/simplify [target]Simplify code or content.
Skill
/skillsBrowse skills.
/statsShow usage statistics.
Alias /usage
/statusShow session status.
/statuslineConfigure status line.
/stickersManage stickers.
/stopStop current operation.
/tasksShow background tasks.
Alias /bashes
/bashesAlias for /tasks.
/team-onboardingTeam onboarding flow.
/teleportTeleport session or context.
Alias /tp
/tpAlias for /teleport.
/terminal-setupSet up terminal integration.
/themeChange theme.
/tui [default|fullscreen]Configure TUI mode.
/ultraplan <prompt>Create an ultra-detailed plan.
/ultrareview [PR]Ultra code review.
Now prefer /code-review ultra
/upgradeUpgrade plan or CLI.
/usage-creditsShow usage credits.
/verifyVerify changes.
Skill
/vimSchaltet Vim mode um.
Removed in v2.1.92
/voice [hold|tap|off]Configure voice input.
/web-setupSet up web integration.
/workflowsBrowse workflows.
Dynamisch
Dynamische Befehle
Muster, die durch skills, plugins und MCP prompts erzeugt werden.
| Befehl | Verwendung | Hinweis |
|---|---|---|
/<skill-name> | Run a skill command. | Local, project, or user skill |
/deploy | Example custom skill command. | Generated by skill files |
/<plugin-name>:<skill-name> | Run a plugin-provided skill. | Plugin namespace |
/mcp__<server>__<prompt> | Run an MCP prompt. | Generated by MCP |
/<skill-name>Run a skill command.
Local, project, or user skill
/deployExample custom skill command.
Generated by skill files
/<plugin-name>:<skill-name>Run a plugin-provided skill.
Plugin namespace
/mcp__<server>__<prompt>Run an MCP prompt.
Generated by MCP
Flag
CLI-Flags
Options und aliases, die neben die Befehlsreferenz gehören.
| Befehl | Verwendung | Hinweis |
|---|---|---|
--add-dir <path> | Add additional working directories. | - |
--advisor <model> | Set advisor model. | - |
--agent | Select agent behavior. | - |
--agents | Enable or configure agents. | - |
--allow-dangerously-skip-permissions | Allow dangerous permission bypass. | - |
--allowedTools | Allow specific tools. | - |
--allowed-tools | Alias for --allowedTools. | - |
--append-system-prompt | Append text to system prompt. | - |
--append-system-prompt-file | Append system prompt from file. | - |
--bare | Use bare output/session mode. | - |
--betas | Enable beta features. | - |
--bg | Run in background. | - |
--channels | Select channels. | - |
--chrome | Enable Chrome integration. | - |
--continue, -c | Continue latest conversation. | - |
--dangerously-load-development-channels | Load development channels. | - |
--dangerously-skip-permissions | Skip permission checks. | - |
--debug | Enable debug output. | - |
--debug-file <path> | Write debug logs to file. | - |
--disable-slash-commands | Disable slash commands. | - |
--disallowedTools | Disallow specific tools. | - |
--disallowed-tools | Alias for --disallowedTools. | - |
--effort <level> | Set reasoning effort. | - |
--enable-auto-mode | Enable auto mode. | - |
--exclude-dynamic-system-prompt-sections | Exclude dynamic prompt sections. | - |
--exec | Execute in command mode. | - |
--fallback-model <model> | Set fallback model. | - |
--fork-session | Fork from a session. | - |
--from-pr | Use pull request as source. | - |
--ide | Enable IDE integration. | - |
--init | Initialize project context. | - |
--init-only | Only initialize, then exit. | - |
--include-hook-events | Include hook events. | - |
--include-partial-messages | Include partial messages. | - |
--input-format | Set input format. | - |
--json-schema | Provide JSON schema. | - |
--maintenance | Run maintenance mode. | - |
--max-budget-usd | Set max budget in USD. | - |
--max-turns | Set maximum turns. | - |
--mcp-config | Load MCP config. | - |
--model <model> | Wählt das Modell. | - |
--name <name>, -n | Set session name. | - |
--no-chrome | Disable Chrome integration. | - |
--no-session-persistence | Do not persist session. | - |
--output-format | Set output format. | - |
--permission-mode | Set permission mode. | - |
--permission-prompt-tool | Set permission prompt tool. | - |
--plugin-dir | Load plugins from directory. | - |
--plugin-url | Load plugin from URL. | - |
--print, -p | Print response and exit. | - |
--prompt-suggestions | Enable prompt suggestions. | - |
--remote | Connect to remote session/server. | - |
--remote-control, --rc | Enable remote control. | - |
--remote-control-session-name-prefix <prefix> | Prefix remote-control session names. | - |
--replay-user-messages | Replay user messages. | - |
--resume, -r | Resume a session. | - |
--safe-mode | Enable safe mode. | - |
--session-id | Specify session ID. | - |
--setting-sources | Select setting sources. | - |
--settings | Load settings. | - |
--strict-mcp-config | Strictly validate MCP config. | - |
--system-prompt | Replace system prompt. | - |
--system-prompt-file | Load system prompt from file. | - |
--teleport | Enable teleport behavior. | - |
--teammate-mode | Enable teammate mode. | - |
--tmux | Enable tmux integration. | - |
--tools | Specify available tools. | - |
--verbose | Enable verbose logging. | - |
--version, -v | Print version. | - |
--worktree, -w | Use worktree mode. | - |
--add-dir <path>Add additional working directories.
--advisor <model>Set advisor model.
--agentSelect agent behavior.
--agentsEnable or configure agents.
--allow-dangerously-skip-permissionsAllow dangerous permission bypass.
--allowedToolsAllow specific tools.
--allowed-toolsAlias for --allowedTools.
--append-system-promptAppend text to system prompt.
--append-system-prompt-fileAppend system prompt from file.
--bareUse bare output/session mode.
--betasEnable beta features.
--bgRun in background.
--channelsSelect channels.
--chromeEnable Chrome integration.
--continue, -cContinue latest conversation.
--dangerously-load-development-channelsLoad development channels.
--dangerously-skip-permissionsSkip permission checks.
--debugEnable debug output.
--debug-file <path>Write debug logs to file.
--disable-slash-commandsDisable slash commands.
--disallowedToolsDisallow specific tools.
--disallowed-toolsAlias for --disallowedTools.
--effort <level>Set reasoning effort.
--enable-auto-modeEnable auto mode.
--exclude-dynamic-system-prompt-sectionsExclude dynamic prompt sections.
--execExecute in command mode.
--fallback-model <model>Set fallback model.
--fork-sessionFork from a session.
--from-prUse pull request as source.
--ideEnable IDE integration.
--initInitialize project context.
--init-onlyOnly initialize, then exit.
--include-hook-eventsInclude hook events.
--include-partial-messagesInclude partial messages.
--input-formatSet input format.
--json-schemaProvide JSON schema.
--maintenanceRun maintenance mode.
--max-budget-usdSet max budget in USD.
--max-turnsSet maximum turns.
--mcp-configLoad MCP config.
--model <model>Wählt das Modell.
--name <name>, -nSet session name.
--no-chromeDisable Chrome integration.
--no-session-persistenceDo not persist session.
--output-formatSet output format.
--permission-modeSet permission mode.
--permission-prompt-toolSet permission prompt tool.
--plugin-dirLoad plugins from directory.
--plugin-urlLoad plugin from URL.
--print, -pPrint response and exit.
--prompt-suggestionsEnable prompt suggestions.
--remoteConnect to remote session/server.
--remote-control, --rcEnable remote control.
--remote-control-session-name-prefix <prefix>Prefix remote-control session names.
--replay-user-messagesReplay user messages.
--resume, -rResume a session.
--safe-modeEnable safe mode.
--session-idSpecify session ID.
--setting-sourcesSelect setting sources.
--settingsLoad settings.
--strict-mcp-configStrictly validate MCP config.
--system-promptReplace system prompt.
--system-prompt-fileLoad system prompt from file.
--teleportEnable teleport behavior.
--teammate-modeEnable teammate mode.
--tmuxEnable tmux integration.
--toolsSpecify available tools.
--verboseEnable verbose logging.
--version, -vPrint version.
--worktree, -wUse worktree mode.
Anhang
Häufige Stolperstellen
Details, die bei Nutzung oder Dokumentation von Claude Code leicht falsch gelesen werden.
claude -p-p means --print, not help.
/usage /cost /statsUsage-related commands overlap and may differ by account or version.
/ultrareviewTreat it as the ultra code-review path; /code-review ultra is the clearer modern form.
/pr-comments /vimThese are documented historically as removed commands.
Dynamic commandsYour local commands may differ because Skills, Plugins, and MCP prompts are dynamic.
Sources
Offizielle Quellen
Diese Seite ist eine kompakte Schnellreferenz auf Basis dokumentierter Claude Code-Befehle, keine vollständige Kopie der offiziellen Dokumentation. Dynamische Befehle aus Skills, Plugins und MCP Prompts hängen von deiner lokalen Konfiguration ab.
Hinweis zum Umfang
Diese Seite ist eine kompakte Schnellreferenz auf Basis dokumentierter Claude Code-Befehle, keine vollständige Kopie der offiziellen Dokumentation. Dynamische Befehle aus Skills, Plugins und MCP Prompts hängen von deiner lokalen Konfiguration ab.