v2.1.77
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Commands Best Practice
|
||||
|
||||
<br>
|
||||
<br>
|
||||
[](../implementation/claude-commands-implementation.md)
|
||||
|
||||
Claude Code commands — frontmatter fields and official built-in slash commands.
|
||||
@@ -33,7 +33,7 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
| 2 | `/logout` |  | Log out from Claude Code |
|
||||
| 3 | `/upgrade` |  | Open the upgrade page to switch to a higher plan tier |
|
||||
| 4 | `/color [color\|default]` |  | Set the prompt bar color for the current session |
|
||||
| 5 | `/config` |  | Open the interactive settings interface with search |
|
||||
| 5 | `/config` |  | Open the Settings interface to adjust theme, model, output style, and other preferences. Alias: `/settings` |
|
||||
| 6 | `/keybindings` |  | Customize keyboard shortcuts per context and create chord sequences |
|
||||
| 7 | `/permissions` |  | View or update tool permissions |
|
||||
| 8 | `/privacy-settings` |  | Manage privacy and telemetry preferences |
|
||||
@@ -55,7 +55,7 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
| 24 | `/help` |  | Show slash-command help |
|
||||
| 25 | `/release-notes` |  | Show recent Claude Code release notes |
|
||||
| 26 | `/tasks` |  | List and manage background tasks |
|
||||
| 27 | `/copy` |  | Copy the last assistant response to the clipboard |
|
||||
| 27 | `/copy` |  | Copy the last assistant response to clipboard. Shows interactive picker for code blocks |
|
||||
| 28 | `/export [filename]` |  | Export the current conversation to a file or clipboard |
|
||||
| 29 | `/agents` |  | Manage custom subagents — view, create, edit, delete |
|
||||
| 30 | `/chrome` |  | Manage Claude in Chrome browser integration |
|
||||
@@ -65,32 +65,32 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
| 34 | `/plugin` |  | Manage Claude Code plugins |
|
||||
| 35 | `/reload-plugins` |  | Reload installed plugins without restarting |
|
||||
| 36 | `/skills` |  | List available skills |
|
||||
| 37 | `/memory` |  | View and edit memory files |
|
||||
| 37 | `/memory` |  | Edit CLAUDE.md memory files, enable or disable auto-memory, and view auto-memory entries |
|
||||
| 38 | `/effort [low\|medium\|high\|max\|auto]` |  | Set the model effort level |
|
||||
| 39 | `/fast` |  | Toggle fast mode — same Opus 4.6 model with faster output |
|
||||
| 40 | `/model` |  | Switch models (haiku, sonnet, opus) and adjust effort level |
|
||||
| 41 | `/passes [number]` |  | Share a free week of Claude Code with friends. Only visible if your account is eligible |
|
||||
| 42 | `/plan` |  | Enter read-only planning mode — suggests approaches without making changes |
|
||||
| 43 | `/add-dir` |  | Add additional working directories to the current session |
|
||||
| 44 | `/diff` |  | Review the current git diff in the active repo |
|
||||
| 44 | `/diff` |  | Open an interactive diff viewer showing uncommitted changes and per-turn diffs |
|
||||
| 45 | `/init` |  | Initialize a new project with a CLAUDE.md guide |
|
||||
| 46 | `/pr-comments` |  | Review or reply to pull-request comments |
|
||||
| 47 | `/review` |  | Deprecated — install the `code-review` plugin instead |
|
||||
| 48 | `/security-review` |  | Run a focused security review on current changes |
|
||||
| 49 | `/desktop` |  | Continue the current session in the Claude Code Desktop app. macOS and Windows only. |
|
||||
| 49 | `/desktop` |  | Continue the current session in the Claude Code Desktop app. macOS and Windows only. Alias: `/app` |
|
||||
| 50 | `/install-github-app` |  | Install the GitHub app for PR-linked workflows |
|
||||
| 51 | `/install-slack-app` |  | Install the Slack app for notifications and sharing |
|
||||
| 52 | `/mobile` |  | Connect to or manage the mobile companion app |
|
||||
| 53 | `/remote-control` |  | Continue the current session from another device |
|
||||
| 52 | `/mobile` |  | Show QR code to download the Claude mobile app. Aliases: `/ios`, `/android` |
|
||||
| 53 | `/remote-control` |  | Make this session available for remote control from claude.ai. Alias: `/rc` |
|
||||
| 54 | `/remote-env` |  | Inspect or copy the remote-control environment setup |
|
||||
| 55 | `/btw <question>` |  | Ask a quick side question without adding to the conversation |
|
||||
| 56 | `/clear` |  | Clear conversation history and start fresh |
|
||||
| 56 | `/clear` |  | Clear conversation history and free up context. Aliases: `/reset`, `/new` |
|
||||
| 57 | `/compact [prompt]` |  | Compress conversation to free context window. Optional prompt focuses the compaction |
|
||||
| 58 | `/exit` |  | Exit the REPL |
|
||||
| 59 | `/fork` |  | Fork the current conversation into a new session |
|
||||
| 58 | `/exit` |  | Exit the CLI. Alias: `/quit` |
|
||||
| 59 | `/fork` |  | Fork the current conversation into a new session. Alias: `/branch` |
|
||||
| 60 | `/rename <name>` |  | Rename the current session for easier identification |
|
||||
| 61 | `/resume [session]` |  | Resume a previous conversation by ID or name, or open the session picker |
|
||||
| 62 | `/rewind` |  | Rewind conversation and/or code to an earlier point |
|
||||
| 61 | `/resume [session]` |  | Resume a previous conversation by ID or name, or open the session picker. Alias: `/continue` |
|
||||
| 62 | `/rewind` |  | Rewind the conversation and/or code to a previous point, or summarize from a selected message. Alias: `/checkpoint` |
|
||||
|
||||
Bundled skills such as `/debug` can also appear in the slash-command menu, but they are not built-in commands.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user