updated to 2.1.76
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.
|
||||
@@ -25,70 +25,72 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
|
||||
---
|
||||
|
||||
##  **(60)**
|
||||
##  **(62)**
|
||||
|
||||
| # | Command | Tag | Description |
|
||||
|---|---------|-----|-------------|
|
||||
| 1 | `/login` |  | Authenticate with Claude Code via OAuth |
|
||||
| 2 | `/logout` |  | Log out from Claude Code |
|
||||
| 3 | `/upgrade` |  | Open the upgrade page to switch to a higher plan tier |
|
||||
| 4 | `/config` |  | Open the interactive settings interface with search |
|
||||
| 5 | `/keybindings` |  | Customize keyboard shortcuts per context and create chord sequences |
|
||||
| 6 | `/permissions` |  | View or update tool permissions |
|
||||
| 7 | `/privacy-settings` |  | Manage privacy and telemetry preferences |
|
||||
| 8 | `/sandbox` |  | Configure sandboxing with dependency status |
|
||||
| 9 | `/statusline` |  | Set up Claude Code's status line UI |
|
||||
| 10 | `/stickers` |  | Order Claude Code stickers |
|
||||
| 11 | `/terminal-setup` |  | Enable shift+enter for newlines in IDE terminals |
|
||||
| 12 | `/theme` |  | Change the color theme |
|
||||
| 13 | `/vim` |  | Enable vim-style editing mode |
|
||||
| 14 | `/context` |  | Visualize current context usage as a colored grid with token counts |
|
||||
| 15 | `/cost` |  | Show token usage statistics for the current session |
|
||||
| 16 | `/extra-usage` |  | Configure pay-as-you-go overflow billing for subscription plans |
|
||||
| 17 | `/insights` |  | Generate a report analyzing your Claude Code sessions, including project areas, interaction patterns, and friction points |
|
||||
| 18 | `/stats` |  | Visualize daily usage, session history, streaks, and model preferences |
|
||||
| 19 | `/status` |  | Show a concise session status summary |
|
||||
| 20 | `/usage` |  | Show plan usage limits and rate limit status (subscription plans only) |
|
||||
| 21 | `/doctor` |  | Check the health of your Claude Code installation |
|
||||
| 22 | `/feedback [description]` |  | Generate a GitHub issue URL for reporting bugs or feedback. Alias: `/bug` |
|
||||
| 23 | `/help` |  | Show slash-command help |
|
||||
| 24 | `/release-notes` |  | Show recent Claude Code release notes |
|
||||
| 25 | `/tasks` |  | List and manage background tasks |
|
||||
| 26 | `/copy` |  | Copy the last assistant response to the clipboard |
|
||||
| 27 | `/export [filename]` |  | Export the current conversation to a file or clipboard |
|
||||
| 28 | `/agents` |  | Manage custom subagents — view, create, edit, delete |
|
||||
| 29 | `/chrome` |  | Manage Claude in Chrome browser integration |
|
||||
| 30 | `/hooks` |  | Manage hook configurations for tool events |
|
||||
| 31 | `/ide` |  | Connect to IDE integration |
|
||||
| 32 | `/mcp` |  | Manage MCP server connections |
|
||||
| 33 | `/plugin` |  | Manage Claude Code plugins |
|
||||
| 34 | `/reload-plugins` |  | Reload installed plugins without restarting |
|
||||
| 35 | `/skills` |  | List available skills |
|
||||
| 36 | `/memory` |  | View and edit memory files |
|
||||
| 37 | `/fast` |  | Toggle fast mode — same Opus 4.6 model with faster output |
|
||||
| 38 | `/model` |  | Switch models (haiku, sonnet, opus) and adjust effort level |
|
||||
| 39 | `/passes [number]` |  | Share a free week of Claude Code with friends. Only visible if your account is eligible |
|
||||
| 40 | `/plan` |  | Enter read-only planning mode — suggests approaches without making changes |
|
||||
| 41 | `/add-dir` |  | Add additional working directories to the current session |
|
||||
| 42 | `/diff` |  | Review the current git diff in the active repo |
|
||||
| 43 | `/init [prompt]` |  | Initialize a new project with a CLAUDE.md guide |
|
||||
| 44 | `/pr-comments` |  | Review or reply to pull-request comments |
|
||||
| 45 | `/review` |  | Deprecated — install the `code-review` plugin instead |
|
||||
| 46 | `/security-review` |  | Run a focused security review on current changes |
|
||||
| 47 | `/desktop` |  | Connect to or manage the desktop companion app |
|
||||
| 48 | `/install-github-app` |  | Install the GitHub app for PR-linked workflows |
|
||||
| 49 | `/install-slack-app` |  | Install the Slack app for notifications and sharing |
|
||||
| 50 | `/mobile` |  | Connect to or manage the mobile companion app |
|
||||
| 51 | `/remote-control` |  | Continue the current session from another device |
|
||||
| 52 | `/remote-env` |  | Inspect or copy the remote-control environment setup |
|
||||
| 53 | `/btw <question>` |  | Ask a quick side question without adding to the conversation |
|
||||
| 54 | `/clear` |  | Clear conversation history and start fresh |
|
||||
| 55 | `/compact [prompt]` |  | Compress conversation to free context window. Optional prompt focuses the compaction |
|
||||
| 56 | `/exit` |  | Exit the REPL |
|
||||
| 57 | `/fork` |  | Fork the current conversation into a new session |
|
||||
| 58 | `/rename <name>` |  | Rename the current session for easier identification |
|
||||
| 59 | `/resume [session]` |  | Resume a previous conversation by ID or name, or open the session picker |
|
||||
| 60 | `/rewind` |  | Rewind conversation and/or code to an earlier point |
|
||||
| 4 | `/color [color\|default]` |  | Set the prompt bar color for the current session |
|
||||
| 5 | `/config` |  | Open the interactive settings interface with search |
|
||||
| 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 |
|
||||
| 9 | `/sandbox` |  | Configure sandboxing with dependency status |
|
||||
| 10 | `/statusline` |  | Set up Claude Code's status line UI |
|
||||
| 11 | `/stickers` |  | Order Claude Code stickers |
|
||||
| 12 | `/terminal-setup` |  | Enable shift+enter for newlines in IDE terminals |
|
||||
| 13 | `/theme` |  | Change the color theme |
|
||||
| 14 | `/vim` |  | Enable vim-style editing mode |
|
||||
| 15 | `/context` |  | Visualize current context usage as a colored grid with token counts |
|
||||
| 16 | `/cost` |  | Show token usage statistics for the current session |
|
||||
| 17 | `/extra-usage` |  | Configure pay-as-you-go overflow billing for subscription plans |
|
||||
| 18 | `/insights` |  | Generate a report analyzing your Claude Code sessions, including project areas, interaction patterns, and friction points |
|
||||
| 19 | `/stats` |  | Visualize daily usage, session history, streaks, and model preferences |
|
||||
| 20 | `/status` |  | Open the Settings interface (Status tab) showing version, model, account, and connectivity |
|
||||
| 21 | `/usage` |  | Show plan usage limits and rate limit status (subscription plans only) |
|
||||
| 22 | `/doctor` |  | Check the health of your Claude Code installation |
|
||||
| 23 | `/feedback [description]` |  | Generate a GitHub issue URL for reporting bugs or feedback. Alias: `/bug` |
|
||||
| 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 |
|
||||
| 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 |
|
||||
| 31 | `/hooks` |  | Manage hook configurations for tool events |
|
||||
| 32 | `/ide` |  | Connect to IDE integration |
|
||||
| 33 | `/mcp` |  | Manage MCP server connections |
|
||||
| 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 |
|
||||
| 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 |
|
||||
| 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. |
|
||||
| 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 |
|
||||
| 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 |
|
||||
| 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 |
|
||||
| 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 |
|
||||
|
||||
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