chore(claude-commands): add /radio + /rewind, refine /clear /review /context signatures, bump to v2.1.138
Insert /radio under Config tag (#12) — opens Claude FM lo-fi radio in browser, prints stream URL when no browser is available; not on Bedrock/Vertex/Foundry. Add /rewind under Session tag (#76) — checkpointing alias for /checkpoint and /undo. Update three signatures with optional arguments: /clear → /clear [name] (label previous conversation in /resume picker), /review → /review [PR] (accept optional PR), /context → /context [all] (expand per-item breakdown). Total grows 75 → 76 with renumbering. Badge to v2.1.138 / May 09 2026 6:58 PM PKT. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Commands Best Practice
|
# Commands Best Practice
|
||||||
|
|
||||||
 <br>
|
 <br>
|
||||||
[](../implementation/claude-commands-implementation.md)
|
[](../implementation/claude-commands-implementation.md)
|
||||||
|
|
||||||
Claude Code commands — frontmatter fields and official built-in slash commands.
|
Claude Code commands — frontmatter fields and official built-in slash commands.
|
||||||
@@ -36,7 +36,7 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
##  **(75)**
|
##  **(76)**
|
||||||
|
|
||||||
| # | Command | Tag | Description |
|
| # | Command | Tag | Description |
|
||||||
|---|---------|-----|-------------|
|
|---|---------|-----|-------------|
|
||||||
@@ -51,70 +51,71 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
|||||||
| 9 | `/keybindings` |  | Open or create your keybindings configuration file |
|
| 9 | `/keybindings` |  | Open or create your keybindings configuration file |
|
||||||
| 10 | `/permissions` |  | Manage allow, ask, and deny rules for tool permissions. Opens an interactive dialog where you can view rules by scope, add or remove rules, manage working directories, and review recent auto mode denials. Alias: `/allowed-tools` |
|
| 10 | `/permissions` |  | Manage allow, ask, and deny rules for tool permissions. Opens an interactive dialog where you can view rules by scope, add or remove rules, manage working directories, and review recent auto mode denials. Alias: `/allowed-tools` |
|
||||||
| 11 | `/privacy-settings` |  | View and update your privacy settings. Only available for Pro and Max plan subscribers |
|
| 11 | `/privacy-settings` |  | View and update your privacy settings. Only available for Pro and Max plan subscribers |
|
||||||
| 12 | `/sandbox` |  | Toggle sandbox mode. Available on supported platforms only |
|
| 12 | `/radio` |  | Open Claude FM lo-fi radio in your browser. Prints the stream URL when no browser is available. Not available on Bedrock, Vertex, or Foundry |
|
||||||
| 13 | `/statusline` |  | Configure Claude Code's status line. Describe what you want, or run without arguments to auto-configure from your shell prompt |
|
| 13 | `/sandbox` |  | Toggle sandbox mode. Available on supported platforms only |
|
||||||
| 14 | `/stickers` |  | Order Claude Code stickers |
|
| 14 | `/statusline` |  | Configure Claude Code's status line. Describe what you want, or run without arguments to auto-configure from your shell prompt |
|
||||||
| 15 | `/terminal-setup` |  | Configure terminal keybindings for Shift+Enter and other shortcuts. Only visible in terminals that need it, like VS Code, Cursor, Windsurf, Alacritty, or Zed |
|
| 15 | `/stickers` |  | Order Claude Code stickers |
|
||||||
| 16 | `/theme` |  | Change the color theme. Includes light and dark variants, colorblind-accessible (daltonized) themes, ANSI themes that use your terminal's color palette, an "Auto (match terminal)" option that follows your terminal's light/dark mode, and custom themes loaded from `~/.claude/themes/` or plugins. Select "New custom theme…" to create your own |
|
| 16 | `/terminal-setup` |  | Configure terminal keybindings for Shift+Enter and other shortcuts. Only visible in terminals that need it, like VS Code, Cursor, Windsurf, Alacritty, or Zed |
|
||||||
| 17 | `/tui [default\|fullscreen]` |  | Set the terminal UI renderer and relaunch Claude Code with the current conversation intact. `default` uses inline rendering; `fullscreen` uses an alt-screen TUI |
|
| 17 | `/theme` |  | Change the color theme. Includes light and dark variants, colorblind-accessible (daltonized) themes, ANSI themes that use your terminal's color palette, an "Auto (match terminal)" option that follows your terminal's light/dark mode, and custom themes loaded from `~/.claude/themes/` or plugins. Select "New custom theme…" to create your own |
|
||||||
| 18 | `/voice [hold\|tap\|off]` |  | Toggle voice dictation, or enable it in a specific mode. Requires a Claude.ai account |
|
| 18 | `/tui [default\|fullscreen]` |  | Set the terminal UI renderer and relaunch Claude Code with the current conversation intact. `default` uses inline rendering; `fullscreen` uses an alt-screen TUI |
|
||||||
| 19 | `/context` |  | Visualize current context usage as a colored grid. Shows optimization suggestions for context-heavy tools, memory bloat, and capacity warnings |
|
| 19 | `/voice [hold\|tap\|off]` |  | Toggle voice dictation, or enable it in a specific mode. Requires a Claude.ai account |
|
||||||
| 20 | `/cost` |  | Alias for `/usage` |
|
| 20 | `/context [all]` |  | Visualize current context usage as a colored grid. Shows optimization suggestions for context-heavy tools, memory bloat, and capacity warnings. Pass `all` to expand the per-item breakdown in fullscreen |
|
||||||
| 21 | `/extra-usage` |  | Configure extra usage to keep working when rate limits are hit |
|
| 21 | `/cost` |  | Alias for `/usage` |
|
||||||
| 22 | `/insights` |  | Generate a report analyzing your Claude Code sessions, including project areas, interaction patterns, and friction points |
|
| 22 | `/extra-usage` |  | Configure extra usage to keep working when rate limits are hit |
|
||||||
| 23 | `/stats` |  | Alias for `/usage`. Opens on the Stats tab |
|
| 23 | `/insights` |  | Generate a report analyzing your Claude Code sessions, including project areas, interaction patterns, and friction points |
|
||||||
| 24 | `/status` |  | Open the Settings interface (Status tab) showing version, model, account, and connectivity. Works while Claude is responding, without waiting for the current response to finish |
|
| 24 | `/stats` |  | Alias for `/usage`. Opens on the Stats tab |
|
||||||
| 25 | `/usage` |  | Show session cost, plan usage limits, and activity stats. `/cost` and `/stats` are aliases |
|
| 25 | `/status` |  | Open the Settings interface (Status tab) showing version, model, account, and connectivity. Works while Claude is responding, without waiting for the current response to finish |
|
||||||
| 26 | `/doctor` |  | Diagnose and verify your Claude Code installation and settings. Results show with status icons. Press `f` to have Claude fix any reported issues |
|
| 26 | `/usage` |  | Show session cost, plan usage limits, and activity stats. `/cost` and `/stats` are aliases |
|
||||||
| 27 | `/feedback [report]` |  | Submit feedback about Claude Code. Alias: `/bug` |
|
| 27 | `/doctor` |  | Diagnose and verify your Claude Code installation and settings. Results show with status icons. Press `f` to have Claude fix any reported issues |
|
||||||
| 28 | `/heapdump` |  | Write a JavaScript heap snapshot and memory breakdown to `~/Desktop` for diagnosing high memory usage. Useful when filing bug reports about memory growth |
|
| 28 | `/feedback [report]` |  | Submit feedback about Claude Code. Alias: `/bug` |
|
||||||
| 29 | `/help` |  | Show help and available commands |
|
| 29 | `/heapdump` |  | Write a JavaScript heap snapshot and memory breakdown to `~/Desktop` for diagnosing high memory usage. Useful when filing bug reports about memory growth |
|
||||||
| 30 | `/powerup` |  | Discover Claude Code features through quick interactive lessons with animated demos |
|
| 30 | `/help` |  | Show help and available commands |
|
||||||
| 31 | `/release-notes` |  | View the changelog in an interactive version picker. Select a specific version to see its release notes, or choose to show all versions |
|
| 31 | `/powerup` |  | Discover Claude Code features through quick interactive lessons with animated demos |
|
||||||
| 32 | `/tasks` |  | List and manage background tasks. Alias: `/bashes` |
|
| 32 | `/release-notes` |  | View the changelog in an interactive version picker. Select a specific version to see its release notes, or choose to show all versions |
|
||||||
| 33 | `/copy [N]` |  | Copy the last assistant response to clipboard. Pass a number `N` to copy the Nth-latest response: `/copy 2` copies the second-to-last. When code blocks are present, shows an interactive picker to select individual blocks or the full response. Press `w` in the picker to write the selection to a file instead of the clipboard, which is useful over SSH |
|
| 33 | `/tasks` |  | List and manage background tasks. Alias: `/bashes` |
|
||||||
| 34 | `/export [filename]` |  | Export the current conversation as plain text. With a filename, writes directly to that file. Without, opens a dialog to copy to clipboard or save to a file |
|
| 34 | `/copy [N]` |  | Copy the last assistant response to clipboard. Pass a number `N` to copy the Nth-latest response: `/copy 2` copies the second-to-last. When code blocks are present, shows an interactive picker to select individual blocks or the full response. Press `w` in the picker to write the selection to a file instead of the clipboard, which is useful over SSH |
|
||||||
| 35 | `/agents` |  | Manage agent configurations |
|
| 35 | `/export [filename]` |  | Export the current conversation as plain text. With a filename, writes directly to that file. Without, opens a dialog to copy to clipboard or save to a file |
|
||||||
| 36 | `/chrome` |  | Configure Claude in Chrome settings |
|
| 36 | `/agents` |  | Manage agent configurations |
|
||||||
| 37 | `/hooks` |  | View hook configurations for tool events |
|
| 37 | `/chrome` |  | Configure Claude in Chrome settings |
|
||||||
| 38 | `/ide` |  | Manage IDE integrations and show status |
|
| 38 | `/hooks` |  | View hook configurations for tool events |
|
||||||
| 39 | `/mcp` |  | Manage MCP server connections and OAuth authentication |
|
| 39 | `/ide` |  | Manage IDE integrations and show status |
|
||||||
| 40 | `/plugin` |  | Manage Claude Code plugins |
|
| 40 | `/mcp` |  | Manage MCP server connections and OAuth authentication |
|
||||||
| 41 | `/reload-plugins` |  | Reload all active plugins to apply pending changes without restarting. Reports counts for each reloaded component and flags any load errors |
|
| 41 | `/plugin` |  | Manage Claude Code plugins |
|
||||||
| 42 | `/skills` |  | List available skills. Press `t` to sort by token count |
|
| 42 | `/reload-plugins` |  | Reload all active plugins to apply pending changes without restarting. Reports counts for each reloaded component and flags any load errors |
|
||||||
| 43 | `/memory` |  | Edit `CLAUDE.md` memory files, enable or disable auto-memory, and view auto-memory entries |
|
| 43 | `/skills` |  | List available skills. Press `t` to sort by token count |
|
||||||
| 44 | `/effort [low\|medium\|high\|xhigh\|max\|auto]` |  | Set the model effort level. Available levels depend on the model and include `low`, `medium`, `high`, `xhigh`, and `max` (session-only). Without an argument, opens an interactive slider to pick the level. `auto` resets to the model default. Takes effect immediately without waiting for the current response to finish |
|
| 44 | `/memory` |  | Edit `CLAUDE.md` memory files, enable or disable auto-memory, and view auto-memory entries |
|
||||||
| 45 | `/fast [on\|off]` |  | Toggle fast mode on or off |
|
| 45 | `/effort [low\|medium\|high\|xhigh\|max\|auto]` |  | Set the model effort level. Available levels depend on the model and include `low`, `medium`, `high`, `xhigh`, and `max` (session-only). Without an argument, opens an interactive slider to pick the level. `auto` resets to the model default. Takes effect immediately without waiting for the current response to finish |
|
||||||
| 46 | `/model [model]` |  | Select or change the AI model. For models that support it, use left/right arrows to adjust effort level. The change takes effect immediately without waiting for the current response to finish. When switching mid-conversation after prior output, Claude warns before applying the change |
|
| 46 | `/fast [on\|off]` |  | Toggle fast mode on or off |
|
||||||
| 47 | `/passes` |  | Share a free week of Claude Code with friends. Only visible if your account is eligible |
|
| 47 | `/model [model]` |  | Select or change the AI model. For models that support it, use left/right arrows to adjust effort level. The change takes effect immediately without waiting for the current response to finish. When switching mid-conversation after prior output, Claude warns before applying the change |
|
||||||
| 48 | `/plan [description]` |  | Enter plan mode directly from the prompt. Pass an optional description to enter plan mode and immediately start with that task, for example `/plan fix the auth bug` |
|
| 48 | `/passes` |  | Share a free week of Claude Code with friends. Only visible if your account is eligible |
|
||||||
| 49 | `/ultraplan <prompt>` |  | Draft a plan in an ultraplan session, review it in your browser, then execute remotely or send it back to your terminal |
|
| 49 | `/plan [description]` |  | Enter plan mode directly from the prompt. Pass an optional description to enter plan mode and immediately start with that task, for example `/plan fix the auth bug` |
|
||||||
| 50 | `/add-dir <path>` |  | Add a working directory for file access during the current session. Most `.claude/` configuration is not discovered from the added directory |
|
| 50 | `/ultraplan <prompt>` |  | Draft a plan in an ultraplan session, review it in your browser, then execute remotely or send it back to your terminal |
|
||||||
| 51 | `/diff` |  | Open an interactive diff viewer showing uncommitted changes and per-turn diffs. Use left/right arrows to switch between the current git diff and individual Claude turns, and up/down to browse files |
|
| 51 | `/add-dir <path>` |  | Add a working directory for file access during the current session. Most `.claude/` configuration is not discovered from the added directory |
|
||||||
| 52 | `/init` |  | Initialize project with a `CLAUDE.md` guide. Set `CLAUDE_CODE_NEW_INIT=1` for an interactive flow that also walks through skills, hooks, and personal memory files |
|
| 52 | `/diff` |  | Open an interactive diff viewer showing uncommitted changes and per-turn diffs. Use left/right arrows to switch between the current git diff and individual Claude turns, and up/down to browse files |
|
||||||
| 53 | `/review` |  | Review a pull request locally in your current session. For a deeper cloud-based review, see `/ultrareview` |
|
| 53 | `/init` |  | Initialize project with a `CLAUDE.md` guide. Set `CLAUDE_CODE_NEW_INIT=1` for an interactive flow that also walks through skills, hooks, and personal memory files |
|
||||||
| 54 | `/security-review` |  | Analyze pending changes on the current branch for security vulnerabilities. Reviews the git diff and identifies risks like injection, auth issues, and data exposure |
|
| 54 | `/review [PR]` |  | Review a pull request locally in your current session. Pass an optional PR number or URL to target a specific PR. For a deeper cloud-based review, see `/ultrareview` |
|
||||||
| 55 | `/team-onboarding` |  | Generate a team onboarding guide from your Claude Code usage history. Analyzes sessions, commands, and MCP server usage from the past 30 days |
|
| 55 | `/security-review` |  | Analyze pending changes on the current branch for security vulnerabilities. Reviews the git diff and identifies risks like injection, auth issues, and data exposure |
|
||||||
| 56 | `/ultrareview [PR]` |  | Run a deep, multi-agent code review of the given pull request in a cloud sandbox. Produces a structured review with prioritized findings; complements the local `/review` command |
|
| 56 | `/team-onboarding` |  | Generate a team onboarding guide from your Claude Code usage history. Analyzes sessions, commands, and MCP server usage from the past 30 days |
|
||||||
| 57 | `/autofix-pr [prompt]` |  | Spawn a Claude Code on the web session that watches the current branch's PR and pushes fixes when CI fails or reviewers leave comments. Detects the open PR from your checked-out branch with `gh pr view`; to watch a different PR, check out its branch first. Requires the `gh` CLI and access to Claude Code on the web |
|
| 57 | `/ultrareview [PR]` |  | Run a deep, multi-agent code review of the given pull request in a cloud sandbox. Produces a structured review with prioritized findings; complements the local `/review` command |
|
||||||
| 58 | `/desktop` |  | Continue the current session in the Claude Code Desktop app. macOS and Windows only. Alias: `/app` |
|
| 58 | `/autofix-pr [prompt]` |  | Spawn a Claude Code on the web session that watches the current branch's PR and pushes fixes when CI fails or reviewers leave comments. Detects the open PR from your checked-out branch with `gh pr view`; to watch a different PR, check out its branch first. Requires the `gh` CLI and access to Claude Code on the web |
|
||||||
| 59 | `/install-github-app` |  | Set up the Claude GitHub Actions app for a repository. Walks you through selecting a repo and configuring the integration |
|
| 59 | `/desktop` |  | Continue the current session in the Claude Code Desktop app. macOS and Windows only. Alias: `/app` |
|
||||||
| 60 | `/install-slack-app` |  | Install the Claude Slack app. Opens a browser to complete the OAuth flow |
|
| 60 | `/install-github-app` |  | Set up the Claude GitHub Actions app for a repository. Walks you through selecting a repo and configuring the integration |
|
||||||
| 61 | `/mobile` |  | Show QR code to download the Claude mobile app. Aliases: `/ios`, `/android` |
|
| 61 | `/install-slack-app` |  | Install the Claude Slack app. Opens a browser to complete the OAuth flow |
|
||||||
| 62 | `/remote-control` |  | Make this session available for remote control from claude.ai. Alias: `/rc` |
|
| 62 | `/mobile` |  | Show QR code to download the Claude mobile app. Aliases: `/ios`, `/android` |
|
||||||
| 63 | `/remote-env` |  | Configure the default remote environment for web sessions started with `--remote` |
|
| 63 | `/remote-control` |  | Make this session available for remote control from claude.ai. Alias: `/rc` |
|
||||||
| 64 | `/schedule [description]` |  | Create, update, list, or run routines. Claude walks you through the setup conversationally. Alias: `/routines` |
|
| 64 | `/remote-env` |  | Configure the default remote environment for web sessions started with `--remote` |
|
||||||
| 65 | `/teleport` |  | Pull a Claude Code on the web session into this terminal: opens a picker, then fetches the branch and conversation. Also available as `/tp`. Requires a claude.ai subscription |
|
| 65 | `/schedule [description]` |  | Create, update, list, or run routines. Claude walks you through the setup conversationally. Alias: `/routines` |
|
||||||
| 66 | `/web-setup` |  | Connect your GitHub account to Claude Code on the web using your local `gh` CLI credentials. `/schedule` prompts for this automatically if GitHub is not connected |
|
| 66 | `/teleport` |  | Pull a Claude Code on the web session into this terminal: opens a picker, then fetches the branch and conversation. Also available as `/tp`. Requires a claude.ai subscription |
|
||||||
| 67 | `/branch [name]` |  | Create a branch of the current conversation at this point. Alias: `/fork`. When `CLAUDE_CODE_FORK_SUBAGENT` is set, `/fork` instead spawns a forked subagent and is no longer an alias for this command |
|
| 67 | `/web-setup` |  | Connect your GitHub account to Claude Code on the web using your local `gh` CLI credentials. `/schedule` prompts for this automatically if GitHub is not connected |
|
||||||
| 68 | `/btw <question>` |  | Ask a quick side question without adding to the conversation |
|
| 68 | `/branch [name]` |  | Create a branch of the current conversation at this point. Alias: `/fork`. When `CLAUDE_CODE_FORK_SUBAGENT` is set, `/fork` instead spawns a forked subagent and is no longer an alias for this command |
|
||||||
| 69 | `/clear` |  | Start a new conversation with empty context. The previous conversation stays available in `/resume`. To free up context while continuing the same conversation, use `/compact` instead. Aliases: `/reset`, `/new` |
|
| 69 | `/btw <question>` |  | Ask a quick side question without adding to the conversation |
|
||||||
| 70 | `/compact [instructions]` |  | Compact conversation with optional focus instructions |
|
| 70 | `/clear [name]` |  | Start a new conversation with empty context. Pass an optional name to label the previous conversation in the `/resume` picker. The previous conversation stays available in `/resume`. To free up context while continuing the same conversation, use `/compact` instead. Aliases: `/reset`, `/new` |
|
||||||
| 71 | `/exit` |  | Exit the CLI. Alias: `/quit` |
|
| 71 | `/compact [instructions]` |  | Compact conversation with optional focus instructions |
|
||||||
| 72 | `/recap` |  | Generate a one-line summary of the current session on demand, without affecting the ongoing conversation |
|
| 72 | `/exit` |  | Exit the CLI. Alias: `/quit` |
|
||||||
| 73 | `/rename [name]` |  | Rename the current session and show the name on the prompt bar. Without a name, auto-generates one from conversation history |
|
| 73 | `/recap` |  | Generate a one-line summary of the current session on demand, without affecting the ongoing conversation |
|
||||||
| 74 | `/resume [session]` |  | Resume a conversation by ID or name, or open the session picker. Alias: `/continue` |
|
| 74 | `/rename [name]` |  | Rename the current session and show the name on the prompt bar. Without a name, auto-generates one from conversation history |
|
||||||
| 75 | `/rewind` |  | Rewind the conversation and/or code to a previous point, or summarize from a selected message. See checkpointing. Alias: `/checkpoint`, `/undo` |
|
| 75 | `/resume [session]` |  | Resume a conversation by ID or name, or open the session picker. Alias: `/continue` |
|
||||||
|
| 76 | `/rewind` |  | Rewind the conversation and/or code to a previous point, or summarize from a selected message. See checkpointing. Alias: `/checkpoint`, `/undo` |
|
||||||
|
|
||||||
Bundled skills such as `/debug` can also appear in the slash-command menu, but they are not built-in commands.
|
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