update commands report to v2.1.97 — add /autofix-pr, /teleport, /web-setup (65→68 commands)
Co-Authored-By: Claude <noreply@anthropic.com>
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.
|
||||
@@ -34,7 +34,7 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
|
||||
---
|
||||
|
||||
##  **(65)**
|
||||
##  **(68)**
|
||||
|
||||
| # | Command | Tag | Description |
|
||||
|---|---------|-----|-------------|
|
||||
@@ -83,26 +83,29 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
| 43 | `/passes` |  | Share a free week of Claude Code with friends. Only visible if your account is eligible |
|
||||
| 44 | `/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` |
|
||||
| 45 | `/ultraplan <prompt>` |  | Draft a plan in an ultraplan session, review it in your browser, then execute remotely or send it back to your terminal |
|
||||
| 46 | `/add-dir <path>` |  | Add a new working directory to the current session |
|
||||
| 46 | `/add-dir <path>` |  | Add a working directory for file access during the current session. Most `.claude/` configuration is not discovered from the added directory |
|
||||
| 47 | `/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 |
|
||||
| 48 | `/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 |
|
||||
| 49 | `/review` |  | Deprecated. Install the `code-review` plugin instead: `claude plugin install code-review@claude-plugins-official` |
|
||||
| 50 | `/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 |
|
||||
| 51 | `/desktop` |  | Continue the current session in the Claude Code Desktop app. macOS and Windows only. Alias: `/app` |
|
||||
| 52 | `/install-github-app` |  | Set up the Claude GitHub Actions app for a repository. Walks you through selecting a repo and configuring the integration |
|
||||
| 53 | `/install-slack-app` |  | Install the Claude Slack app. Opens a browser to complete the OAuth flow |
|
||||
| 54 | `/mobile` |  | Show QR code to download the Claude mobile app. Aliases: `/ios`, `/android` |
|
||||
| 55 | `/remote-control` |  | Make this session available for remote control from claude.ai. Alias: `/rc` |
|
||||
| 56 | `/remote-env` |  | Configure the default remote environment for web sessions started with `--remote` |
|
||||
| 57 | `/schedule [description]` |  | Create, update, list, or run Cloud scheduled tasks. Claude walks you through the setup conversationally |
|
||||
| 58 | `/branch [name]` |  | Create a branch of the current conversation at this point. Alias: `/fork` |
|
||||
| 59 | `/btw <question>` |  | Ask a quick side question without adding to the conversation |
|
||||
| 60 | `/clear` |  | Clear conversation history and free up context. Aliases: `/reset`, `/new` |
|
||||
| 61 | `/compact [instructions]` |  | Compact conversation with optional focus instructions |
|
||||
| 62 | `/exit` |  | Exit the CLI. Alias: `/quit` |
|
||||
| 63 | `/rename [name]` |  | Rename the current session and show the name on the prompt bar. Without a name, auto-generates one from conversation history |
|
||||
| 64 | `/resume [session]` |  | Resume a conversation by ID or name, or open the session picker. Alias: `/continue` |
|
||||
| 65 | `/rewind` |  | Rewind the conversation and/or code to a previous point, or summarize from a selected message. See checkpointing. Alias: `/checkpoint` |
|
||||
| 51 | `/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 |
|
||||
| 52 | `/desktop` |  | Continue the current session in the Claude Code Desktop app. macOS and Windows only. Alias: `/app` |
|
||||
| 53 | `/install-github-app` |  | Set up the Claude GitHub Actions app for a repository. Walks you through selecting a repo and configuring the integration |
|
||||
| 54 | `/install-slack-app` |  | Install the Claude Slack app. Opens a browser to complete the OAuth flow |
|
||||
| 55 | `/mobile` |  | Show QR code to download the Claude mobile app. Aliases: `/ios`, `/android` |
|
||||
| 56 | `/remote-control` |  | Make this session available for remote control from claude.ai. Alias: `/rc` |
|
||||
| 57 | `/remote-env` |  | Configure the default remote environment for web sessions started with `--remote` |
|
||||
| 58 | `/schedule [description]` |  | Create, update, list, or run Cloud scheduled tasks. Claude walks you through the setup conversationally |
|
||||
| 59 | `/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 |
|
||||
| 60 | `/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 |
|
||||
| 61 | `/branch [name]` |  | Create a branch of the current conversation at this point. Alias: `/fork` |
|
||||
| 62 | `/btw <question>` |  | Ask a quick side question without adding to the conversation |
|
||||
| 63 | `/clear` |  | Clear conversation history and free up context. Aliases: `/reset`, `/new` |
|
||||
| 64 | `/compact [instructions]` |  | Compact conversation with optional focus instructions |
|
||||
| 65 | `/exit` |  | Exit the CLI. Alias: `/quit` |
|
||||
| 66 | `/rename [name]` |  | Rename the current session and show the name on the prompt bar. Without a name, auto-generates one from conversation history |
|
||||
| 67 | `/resume [session]` |  | Resume a conversation by ID or name, or open the session picker. Alias: `/continue` |
|
||||
| 68 | `/rewind` |  | Rewind the conversation and/or code to a previous point, or summarize from a selected message. See checkpointing. 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