docs(claude-commands): update to v2.1.145
Rename /extra-usage -> /usage-credits, add /share alias to /feedback, add xhigh to effort options; badge -> v2.1.145. 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.
|
||||
@@ -28,7 +28,7 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
| `paths` | string/list | No | Glob patterns that limit when this skill is activated. Accepts a comma-separated string or a YAML list. When set, Claude loads the skill automatically only when working with files matching the patterns |
|
||||
| `allowed-tools` | string | No | Tools allowed without permission prompts when this command is active |
|
||||
| `model` | string | No | Model to use when this command runs (e.g., `haiku`, `sonnet`, `opus`) |
|
||||
| `effort` | string | No | Override the model effort level when invoked (`low`, `medium`, `high`, `max`) |
|
||||
| `effort` | string | No | Override the model effort level when invoked (`low`, `medium`, `high`, `xhigh`, `max`) |
|
||||
| `context` | string | No | Set to `fork` to run the command in an isolated subagent context |
|
||||
| `agent` | string | No | Subagent type when `context: fork` is set (default: `general-purpose`) |
|
||||
| `shell` | string | No | Shell for `` !`command` `` blocks — accepts `bash` (default) or `powershell`. Requires `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` |
|
||||
@@ -62,13 +62,13 @@ Claude Code commands — frontmatter fields and official built-in slash commands
|
||||
| 20 | `/voice [hold\|tap\|off]` |  | Toggle voice dictation, or enable it in a specific mode. Requires a Claude.ai account |
|
||||
| 21 | `/context` |  | Visualize current context usage as a colored grid. Shows optimization suggestions for context-heavy tools, memory bloat, and capacity warnings |
|
||||
| 22 | `/cost` |  | Alias for `/usage` |
|
||||
| 23 | `/extra-usage` |  | Configure extra usage to keep working when rate limits are hit |
|
||||
| 24 | `/insights` |  | Generate a report analyzing your Claude Code sessions, including project areas, interaction patterns, and friction points |
|
||||
| 25 | `/stats` |  | Alias for `/usage`. Opens on the Stats tab |
|
||||
| 26 | `/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 |
|
||||
| 27 | `/usage` |  | Show session cost, plan usage limits, and activity stats. `/cost` and `/stats` are aliases |
|
||||
| 23 | `/insights` |  | Generate a report analyzing your Claude Code sessions, including project areas, interaction patterns, and friction points |
|
||||
| 24 | `/stats` |  | Alias for `/usage`. Opens on the Stats tab |
|
||||
| 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 | `/usage` |  | Show session cost, plan usage limits, and activity stats. `/cost` and `/stats` are aliases |
|
||||
| 27 | `/usage-credits` |  | Configure usage credits to keep working when you hit a limit. Previously `/extra-usage` |
|
||||
| 28 | `/doctor` |  | Diagnose and verify your Claude Code installation and settings. Results show with status icons. Press `f` to have Claude fix any reported issues |
|
||||
| 29 | `/feedback [report]` |  | Submit feedback about Claude Code. Alias: `/bug` |
|
||||
| 29 | `/feedback [report]` |  | Submit feedback, report a bug, or share your conversation. Aliases: `/bug`, `/share` |
|
||||
| 30 | `/heapdump` |  | Write a JavaScript heap snapshot and memory breakdown to `~/Desktop` for diagnosing high memory usage. Useful when filing bug reports about memory growth |
|
||||
| 31 | `/help` |  | Show help and available commands |
|
||||
| 32 | `/powerup` |  | Discover Claude Code features through quick interactive lessons with animated demos |
|
||||
|
||||
Reference in New Issue
Block a user