SpyBara
Go Premium

Documentation 2026-02-28 21:01 UTC to 2026-03-01 06:10 UTC

6 files changed +70 −32. View all changes and history on the product overview
2026
Tue 31 21:09 Mon 30 21:13 Sat 28 18:04 Fri 27 21:09 Thu 26 21:07 Wed 25 21:08 Tue 24 18:15 Mon 23 21:08 Sun 22 18:04 Sat 21 18:03 Fri 20 21:05 Thu 19 06:17 Wed 18 18:16 Tue 17 21:10 Mon 16 21:10 Sat 14 03:44 Fri 13 21:07 Thu 12 21:07 Wed 11 03:43 Tue 10 03:43 Mon 9 21:06 Sat 7 03:37 Fri 6 06:10 Thu 5 06:12 Wed 4 21:06 Sun 1 06:10
Details

45| `--continue`, `-c` | Load the most recent conversation in the current directory | `claude --continue` |45| `--continue`, `-c` | Load the most recent conversation in the current directory | `claude --continue` |

46| `--dangerously-skip-permissions` | Skip all permission prompts (use with caution) | `claude --dangerously-skip-permissions` |46| `--dangerously-skip-permissions` | Skip all permission prompts (use with caution) | `claude --dangerously-skip-permissions` |

47| `--debug` | Enable debug mode with optional category filtering (for example, `"api,hooks"` or `"!statsig,!file"`) | `claude --debug "api,mcp"` |47| `--debug` | Enable debug mode with optional category filtering (for example, `"api,hooks"` or `"!statsig,!file"`) | `claude --debug "api,mcp"` |

48| `--disable-slash-commands` | Disable all skills and slash commands for this session | `claude --disable-slash-commands` |48| `--disable-slash-commands` | Disable all skills and commands for this session | `claude --disable-slash-commands` |

49| `--disallowedTools` | Tools that are removed from the model's context and cannot be used | `"Bash(git log *)" "Bash(git diff *)" "Edit"` |49| `--disallowedTools` | Tools that are removed from the model's context and cannot be used | `"Bash(git log *)" "Bash(git diff *)" "Edit"` |

50| `--fallback-model` | Enable automatic fallback to specified model when default model is overloaded (print mode only) | `claude -p --fallback-model sonnet "query"` |50| `--fallback-model` | Enable automatic fallback to specified model when default model is overloaded (print mode only) | `claude -p --fallback-model sonnet "query"` |

51| `--fork-session` | When resuming, create a new session ID instead of reusing the original (use with `--resume` or `--continue`) | `claude --resume abc123 --fork-session` |51| `--fork-session` | When resuming, create a new session ID instead of reusing the original (use with `--resume` or `--continue`) | `claude --resume abc123 --fork-session` |

Details

26* **[Hooks](/en/hooks)** run outside the loop entirely as deterministic scripts26* **[Hooks](/en/hooks)** run outside the loop entirely as deterministic scripts

27* **[Plugins](/en/plugins)** and **[marketplaces](/en/plugin-marketplaces)** package and distribute these features27* **[Plugins](/en/plugins)** and **[marketplaces](/en/plugin-marketplaces)** package and distribute these features

28 28 

29[Skills](/en/skills) are the most flexible extension. A skill is a markdown file containing knowledge, workflows, or instructions. You can invoke skills with a slash command like `/deploy`, or Claude can load them automatically when relevant. Skills can run in your current conversation or in an isolated context via subagents.29[Skills](/en/skills) are the most flexible extension. A skill is a markdown file containing knowledge, workflows, or instructions. You can invoke skills with a command like `/deploy`, or Claude can load them automatically when relevant. Skills can run in your current conversation or in an isolated context via subagents.

30 30 

31## Match features to your goal31## Match features to your goal

32 32 


202 </Tab>202 </Tab>

203 203 

204 <Tab title="Skills">204 <Tab title="Skills">

205 Skills are extra capabilities in Claude's toolkit. They can be reference material (like an API style guide) or invocable workflows you trigger with `/<name>` (like `/deploy`). Some are built-in; you can also create your own. Claude uses skills when appropriate, or you can invoke one directly.205 Skills are extra capabilities in Claude's toolkit. They can be reference material (like an API style guide) or invocable workflows you trigger with `/<name>` (like `/deploy`). Claude Code ships with [bundled skills](/en/skills#bundled-skills) like `/simplify`, `/batch`, and `/debug` that work out of the box. You can also create your own. Claude uses skills when appropriate, or you can invoke one directly.

206 206 

207 **When:** Depends on the skill's configuration. By default, descriptions load at session start and full content loads when used. For user-only skills (`disable-model-invocation: true`), nothing loads until you invoke them.207 **When:** Depends on the skill's configuration. By default, descriptions load at session start and full content loads when used. For user-only skills (`disable-model-invocation: true`), nothing loads until you invoke them.

208 208 

hooks-guide.md +1 −1

Details

623 623 

624### Limitations624### Limitations

625 625 

626* Command hooks communicate through stdout, stderr, and exit codes only. They cannot trigger slash commands or tool calls directly. HTTP hooks communicate through the response body instead.626* Command hooks communicate through stdout, stderr, and exit codes only. They cannot trigger commands or tool calls directly. HTTP hooks communicate through the response body instead.

627* Hook timeout is 10 minutes by default, configurable per hook with the `timeout` field (in seconds).627* Hook timeout is 10 minutes by default, configurable per hook with the `timeout` field (in seconds).

628* `PostToolUse` hooks cannot undo actions since the tool has already executed.628* `PostToolUse` hooks cannot undo actions since the tool has already executed.

629* `PermissionRequest` hooks do not fire in [non-interactive mode](/en/headless) (`-p`). Use `PreToolUse` hooks for automated permission decisions.629* `PermissionRequest` hooks do not fire in [non-interactive mode](/en/headless) (`-p`). Use `PreToolUse` hooks for automated permission decisions.

Details

86 86 

87## Built-in commands87## Built-in commands

88 88 

89Built-in commands are shortcuts for common actions. The table below covers commonly used commands but not all available options. Type `/` in Claude Code to see the full list, or type `/` followed by any letters to filter.89Type `/` in Claude Code to see all available commands, or type `/` followed by any letters to filter. Not all commands are visible to every user. Some depend on your platform, plan, or environment. For example, `/desktop` only appears on macOS and Windows, `/upgrade` and `/privacy-settings` are only available on Pro and Max plans, and `/terminal-setup` is hidden when your terminal natively supports its keybindings.

90 90 

91To create your own commands you can invoke with `/`, see [skills](/en/skills).91Claude Code also ships with [bundled skills](/en/skills#bundled-skills) like `/simplify`, `/batch`, and `/debug` that appear alongside built-in commands when you type `/`. To create your own commands, see [skills](/en/skills).

92 

93In the table below, `<arg>` indicates a required argument and `[arg]` indicates an optional one.

92 94 

93| Command | Purpose |95| Command | Purpose |

94| :------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |96| :------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

95| `/clear` | Clear conversation history |97| `/add-dir <path>` | Add a new working directory to the current session |

98| `/agents` | Manage [agent](/en/sub-agents) configurations |

99| `/chrome` | Configure [Claude in Chrome](/en/chrome) settings |

100| `/clear` | Clear conversation history and free up context. Aliases: `/reset`, `/new` |

96| `/compact [instructions]` | Compact conversation with optional focus instructions |101| `/compact [instructions]` | Compact conversation with optional focus instructions |

97| `/config` | Open the Settings interface (Config tab) |102| `/config` | Open the [Settings](/en/settings) interface (Config tab). Alias: `/settings` |

98| `/context` | Visualize current context usage as a colored grid |103| `/context` | Visualize current context usage as a colored grid |

99| `/cost` | Show token usage statistics. See [cost tracking guide](/en/costs#using-the-cost-command) for subscription-specific details. |104| `/copy` | Copy the last assistant response to clipboard. When code blocks are present, shows an interactive picker to select individual blocks or the full response |

100| `/debug [description]` | Troubleshoot the current session by reading the session debug log. Optionally describe the issue |105| `/cost` | Show token usage statistics. See [cost tracking guide](/en/costs#using-the-cost-command) for subscription-specific details |

101| `/doctor` | Checks the health of your Claude Code installation |106| `/desktop` | Continue the current session in the Claude Code Desktop app. macOS and Windows only. Alias: `/app` |

102| `/exit` | Exit the REPL |107| `/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 |

103| `/export [filename]` | Export the current conversation to a file or clipboard |108| `/doctor` | Diagnose and verify your Claude Code installation and settings |

104| `/help` | Get usage help |109| `/exit` | Exit the CLI. Alias: `/quit` |

110| `/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 |

111| `/extra-usage` | Configure extra usage to keep working when rate limits are hit |

112| `/fast [on\|off]` | Toggle [fast mode](/en/fast-mode) on or off |

113| `/feedback [report]` | Submit feedback about Claude Code. Alias: `/bug` |

114| `/fork [name]` | Create a fork of the current conversation at this point |

115| `/help` | Show help and available commands |

116| `/hooks` | Manage [hook](/en/hooks) configurations for tool events |

117| `/ide` | Manage IDE integrations and show status |

105| `/init` | Initialize project with `CLAUDE.md` guide |118| `/init` | Initialize project with `CLAUDE.md` guide |

119| `/insights` | Generate a report analyzing your Claude Code sessions, including project areas, interaction patterns, and friction points |

120| `/install-github-app` | Set up the [Claude GitHub Actions](/en/github-actions) app for a repository. Walks you through selecting a repo and configuring the integration |

121| `/install-slack-app` | Install the Claude Slack app. Opens a browser to complete the OAuth flow |

122| `/keybindings` | Open or create your keybindings configuration file |

123| `/login` | Sign in to your Anthropic account |

124| `/logout` | Sign out from your Anthropic account |

106| `/mcp` | Manage MCP server connections and OAuth authentication |125| `/mcp` | Manage MCP server connections and OAuth authentication |

107| `/memory` | Edit `CLAUDE.md` memory files |126| `/memory` | Edit `CLAUDE.md` memory files, enable or disable [auto-memory](/en/memory#auto-memory), and view auto-memory entries |

108| `/model` | Select or change the AI model. With Opus 4.6, use left/right arrows to [adjust effort level](/en/model-config#adjust-effort-level). The change takes effect immediately without waiting for the current response to finish |127| `/mobile` | Show QR code to download the Claude mobile app. Aliases: `/ios`, `/android` |

109| `/permissions` | View or update [permissions](/en/permissions#manage-permissions) |128| `/model [model]` | Select or change the AI model. For models that support it, use left/right arrows to [adjust effort level](/en/model-config#adjust-effort-level). The change takes effect immediately without waiting for the current response to finish |

129| `/output-style [style]` | Switch between [output styles](/en/output-styles). **Default** is standard behavior, **Explanatory** adds educational insights about implementation choices and codebase patterns, and **Learning** pauses to ask you to write small code pieces for hands-on practice. You can also [create custom output styles](/en/output-styles#create-a-custom-output-style) |

130| `/passes` | Share a free week of Claude Code with friends. Only visible if your account is eligible |

131| `/permissions` | View or update [permissions](/en/permissions#manage-permissions). Alias: `/allowed-tools` |

110| `/plan` | Enter plan mode directly from the prompt |132| `/plan` | Enter plan mode directly from the prompt |

111| `/rename [name]` | Rename the current session. Without a name, generates one from conversation history (requires at least one message in the conversation context). |133| `/plugin` | Manage Claude Code [plugins](/en/plugins) |

112| `/resume [session]` | Resume a conversation by ID or name, or open the session picker |134| `/pr-comments [PR]` | Fetch and display comments from a GitHub pull request. Automatically detects the PR for the current branch, or pass a PR URL or number. Requires the `gh` CLI |

113| `/rewind` | Rewind the conversation and/or code, or summarize from a selected message |135| `/privacy-settings` | View and update your privacy settings. Only available for Pro and Max plan subscribers |

136| `/release-notes` | View the full changelog, with the most recent version closest to your prompt |

137| `/remote-control` | Make this session available for [remote control](/en/remote-control) from claude.ai. Alias: `/rc` |

138| `/remote-env` | Configure the default remote environment for [teleport sessions](/en/claude-code-on-the-web#teleport-a-web-session-to-your-terminal) |

139| `/rename [name]` | Rename the current session. Without a name, auto-generates one from conversation history |

140| `/resume [session]` | Resume a conversation by ID or name, or open the session picker. Alias: `/continue` |

141| `/review` | Review a pull request for code quality, correctness, security, and test coverage. Pass a PR number, or omit to list open PRs. Requires the `gh` CLI |

142| `/rewind` | Rewind the conversation and/or code to a previous point, or summarize from a selected message. See [checkpointing](/en/checkpointing). Alias: `/checkpoint` |

143| `/sandbox` | Toggle [sandbox mode](/en/sandboxing). Available on supported platforms only |

144| `/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 |

145| `/skills` | List available [skills](/en/skills) |

114| `/stats` | Visualize daily usage, session history, streaks, and model preferences |146| `/stats` | Visualize daily usage, session history, streaks, and model preferences |

115| `/status` | Open the Settings interface (Status tab) showing version, model, account, and connectivity |147| `/status` | Open the Settings interface (Status tab) showing version, model, account, and connectivity |

116| `/statusline` | Set up Claude Code's status line UI |148| `/statusline` | Configure Claude Code's [status line](/en/statusline). Describe what you want, or run without arguments to auto-configure from your shell prompt |

117| `/copy` | Copy the last response to clipboard. When code blocks are present, shows an interactive picker to select individual code blocks or the full response. Select **Always copy full response** in the picker to skip it in future sessions; revert by setting `copyFullResponse` to `false` in `/config` |149| `/stickers` | Order Claude Code stickers |

118| `/tasks` | List and manage background tasks |150| `/tasks` | List and manage background tasks |

119| `/teleport` | Resume a remote session from claude.ai (subscribers only) |151| `/terminal-setup` | Configure terminal keybindings for Shift+Enter and other shortcuts. Only visible in terminals that need it, like VS Code, Alacritty, or Warp |

120| `/desktop` | Hand off the current CLI session to the Claude Code Desktop app (macOS and Windows only) |152| `/theme` | Change the color theme. Includes light and dark variants, colorblind-accessible (daltonized) themes, and ANSI themes that use your terminal's color palette |

121| `/theme` | Change the color theme |153| `/upgrade` | Open the upgrade page to switch to a higher plan tier |

122| `/todos` | List current TODO items |154| `/usage` | Show plan usage limits and rate limit status |

123| `/usage` | For subscription plans only: show plan usage limits and rate limit status |155| `/vim` | Toggle between Vim and Normal editing modes |

124 156 

125### MCP prompts157### MCP prompts

126 158 

overview.md +1 −1

Details

158 <Accordion title="Customize with instructions, skills, and hooks" icon="sliders">158 <Accordion title="Customize with instructions, skills, and hooks" icon="sliders">

159 [`CLAUDE.md`](/en/memory) is a markdown file you add to your project root that Claude Code reads at the start of every session. Use it to set coding standards, architecture decisions, preferred libraries, and review checklists. Claude also builds [auto memory](/en/memory#auto-memory) as it works, saving learnings like build commands and debugging insights across sessions without you writing anything.159 [`CLAUDE.md`](/en/memory) is a markdown file you add to your project root that Claude Code reads at the start of every session. Use it to set coding standards, architecture decisions, preferred libraries, and review checklists. Claude also builds [auto memory](/en/memory#auto-memory) as it works, saving learnings like build commands and debugging insights across sessions without you writing anything.

160 160 

161 Create [custom slash commands](/en/skills) to package repeatable workflows your team can share, like `/review-pr` or `/deploy-staging`.161 Create [custom commands](/en/skills) to package repeatable workflows your team can share, like `/review-pr` or `/deploy-staging`.

162 162 

163 [Hooks](/en/hooks) let you run shell commands before or after Claude Code actions, like auto-formatting after every file edit or running lint before a commit.163 [Hooks](/en/hooks) let you run shell commands before or after Claude Code actions, like auto-formatting after every file edit or running lint before a commit.

164 </Accordion>164 </Accordion>

skills.md +9 −3

Details

4 4 

5# Extend Claude with skills5# Extend Claude with skills

6 6 

7> Create, manage, and share skills to extend Claude's capabilities in Claude Code. Includes custom slash commands.7> Create, manage, and share skills to extend Claude's capabilities in Claude Code. Includes custom commands and bundled skills.

8 8 

9Skills extend what Claude can do. Create a `SKILL.md` file with instructions, and Claude adds it to its toolkit. Claude uses skills when relevant, or you can invoke one directly with `/skill-name`.9Skills extend what Claude can do. Create a `SKILL.md` file with instructions, and Claude adds it to its toolkit. Claude uses skills when relevant, or you can invoke one directly with `/skill-name`.

10 10 

11<Note>11<Note>

12 For built-in commands like `/help` and `/compact`, see [interactive mode](/en/interactive-mode#built-in-commands).12 For built-in commands like `/help` and `/compact`, see [interactive mode](/en/interactive-mode#built-in-commands).

13 13 

14 **Custom slash commands have been merged into skills.** A file at `.claude/commands/review.md` and a skill at `.claude/skills/review/SKILL.md` both create `/review` and work the same way. Your existing `.claude/commands/` files keep working. Skills add optional features: a directory for supporting files, frontmatter to [control whether you or Claude invokes them](#control-who-invokes-a-skill), and the ability for Claude to load them automatically when relevant.14 **Custom commands have been merged into skills.** A file at `.claude/commands/review.md` and a skill at `.claude/skills/review/SKILL.md` both create `/review` and work the same way. Your existing `.claude/commands/` files keep working. Skills add optional features: a directory for supporting files, frontmatter to [control whether you or Claude invokes them](#control-who-invokes-a-skill), and the ability for Claude to load them automatically when relevant.

15</Note>15</Note>

16 16 

17Claude Code skills follow the [Agent Skills](https://agentskills.io) open standard, which works across multiple AI tools. Claude Code extends the standard with additional features like [invocation control](#control-who-invokes-a-skill), [subagent execution](#run-skills-in-a-subagent), and [dynamic context injection](#inject-dynamic-context).17Claude Code skills follow the [Agent Skills](https://agentskills.io) open standard, which works across multiple AI tools. Claude Code extends the standard with additional features like [invocation control](#control-who-invokes-a-skill), [subagent execution](#run-skills-in-a-subagent), and [dynamic context injection](#inject-dynamic-context).

18 18 

19## Bundled skills19## Bundled skills

20 20 

21Claude Code ships with two built-in skills available in every session:21Bundled skills ship with Claude Code and are available in every session. Unlike [built-in commands](/en/interactive-mode#built-in-commands), which execute fixed logic directly, bundled skills are prompt-based: they give Claude a detailed playbook and let it orchestrate the work using its tools. This means bundled skills can spawn parallel agents, read files, and adapt to your codebase.

22 

23You invoke bundled skills the same way as any other skill: type `/` followed by the skill name.

22 24 

23* **`/simplify`**: reviews your recently changed files for code reuse, quality, and efficiency issues, then fixes them. Run it after implementing a feature or bug fix to clean up your work. It spawns three review agents in parallel (code reuse, code quality, efficiency), aggregates their findings, and applies fixes. Pass optional text to focus on specific concerns: `/simplify focus on memory efficiency`.25* **`/simplify`**: reviews your recently changed files for code reuse, quality, and efficiency issues, then fixes them. Run it after implementing a feature or bug fix to clean up your work. It spawns three review agents in parallel (code reuse, code quality, efficiency), aggregates their findings, and applies fixes. Pass optional text to focus on specific concerns: `/simplify focus on memory efficiency`.

24 26 

25* **`/batch <instruction>`**: orchestrates large-scale changes across a codebase in parallel. Provide a description of the change and `/batch` researches the codebase, decomposes the work into 5 to 30 independent units, and presents a plan for your approval. Once approved, it spawns one background agent per unit, each in an isolated [git worktree](/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees). Each agent implements its unit, runs tests, and opens a pull request. Requires a git repository. Example: `/batch migrate src/ from Solid to React`.27* **`/batch <instruction>`**: orchestrates large-scale changes across a codebase in parallel. Provide a description of the change and `/batch` researches the codebase, decomposes the work into 5 to 30 independent units, and presents a plan for your approval. Once approved, it spawns one background agent per unit, each in an isolated [git worktree](/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees). Each agent implements its unit, runs tests, and opens a pull request. Requires a git repository. Example: `/batch migrate src/ from Solid to React`.

26 28 

29* **`/debug [description]`**: troubleshoots your current Claude Code session by reading the session debug log. Optionally describe the issue to focus the analysis.

30 

31Claude Code also includes a bundled developer platform skill that activates automatically when your code imports the Anthropic SDK. You don't need to invoke it manually.

32 

27## Getting started33## Getting started

28 34 

29### Create your first skill35### Create your first skill