SpyBara
Go Premium

Documentation 2025-10-12 18:01 UTC to 2025-10-13 21:01 UTC

10 files changed +55 −19. View all changes and history on the product overview
2025
Fri 31 00:04 Thu 30 18:02 Wed 29 21:02 Tue 28 18:02 Mon 27 18:02 Fri 24 21:01 Thu 23 21:02 Tue 21 00:04 Mon 20 21:02 Fri 17 18:01 Thu 16 18:02 Wed 15 18:02 Mon 13 21:01

analytics.md +0 −1

Details

38Percentage of times users accept code editing tool usage, including:38Percentage of times users accept code editing tool usage, including:

39 39 

40* Edit40* Edit

41* MultiEdit

42* Write41* Write

43* NotebookEdit42* NotebookEdit

44 43 

hooks.md +1 −1

Details

156* `Glob` - File pattern matching156* `Glob` - File pattern matching

157* `Grep` - Content search157* `Grep` - Content search

158* `Read` - File reading158* `Read` - File reading

159* `Edit`, `MultiEdit` - File editing159* `Edit` - File editing

160* `Write` - File writing160* `Write` - File writing

161* `WebFetch`, `WebSearch` - Web operations161* `WebFetch`, `WebSearch` - Web operations

162 162 

hooks-guide.md +3 −3

Details

144 "hooks": {144 "hooks": {

145 "PostToolUse": [145 "PostToolUse": [

146 {146 {

147 "matcher": "Edit|MultiEdit|Write",147 "matcher": "Edit|Write",

148 "hooks": [148 "hooks": [

149 {149 {

150 "type": "command",150 "type": "command",


166 "hooks": {166 "hooks": {

167 "PostToolUse": [167 "PostToolUse": [

168 {168 {

169 "matcher": "Edit|MultiEdit|Write",169 "matcher": "Edit|Write",

170 "hooks": [170 "hooks": [

171 {171 {

172 "type": "command",172 "type": "command",


311 "hooks": {311 "hooks": {

312 "PreToolUse": [312 "PreToolUse": [

313 {313 {

314 "matcher": "Edit|MultiEdit|Write",314 "matcher": "Edit|Write",

315 "hooks": [315 "hooks": [

316 {316 {

317 "type": "command",317 "type": "command",

Details

4 4 

5## Keyboard shortcuts5## Keyboard shortcuts

6 6 

7<Note>

8 Keyboard shortcuts may vary by platform and terminal. Press `?` to see available shortcuts for your environment.

9</Note>

10 

7### General controls11### General controls

8 12 

9| Shortcut | Description | Context |13| Shortcut | Description | Context |

10| :--------------- | :----------------------------------------------------------------------- | :---------------------------------------------------------- |14| :------------------------------------------- | :----------------------------------------------------------------------- | :---------------------------------------------------------- |

11| `Ctrl+C` | Cancel current input or generation | Standard interrupt |15| `Ctrl+C` | Cancel current input or generation | Standard interrupt |

12| `Ctrl+D` | Exit Claude Code session | EOF signal |16| `Ctrl+D` | Exit Claude Code session | EOF signal |

13| `Ctrl+L` | Clear terminal screen | Keeps conversation history |17| `Ctrl+L` | Clear terminal screen | Keeps conversation history |

18| `Ctrl+O` | Toggle verbose output | Shows detailed tool usage and execution |

14| `Ctrl+R` | Reverse search command history | Search through previous commands interactively |19| `Ctrl+R` | Reverse search command history | Search through previous commands interactively |

20| `Ctrl+V` (macOS/Linux) or `Alt+V` (Windows) | Paste image from clipboard | Pastes an image or path to an image file |

15| `Up/Down arrows` | Navigate command history | Recall previous inputs |21| `Up/Down arrows` | Navigate command history | Recall previous inputs |

16| `Esc` + `Esc` | Rewind the code/conversation | Restore the code and/or conversation to a previous point |22| `Esc` + `Esc` | Rewind the code/conversation | Restore the code and/or conversation to a previous point |

17| `Tab` | Toggle [extended thinking](/en/docs/build-with-claude/extended-thinking) | Switch between Thinking on and Thinking off |23| `Tab` | Toggle [extended thinking](/en/docs/build-with-claude/extended-thinking) | Switch between Thinking on and Thinking off |

18| `Shift+Tab` | Toggle permission modes | Switch between Auto-Accept Mode, Plan Mode, and normal mode |24| `Shift+Tab` or `Alt+M` (some configurations) | Toggle permission modes | Switch between Auto-Accept Mode, Plan Mode, and normal mode |

19 25 

20### Multiline input26### Multiline input

21 27 


38| `#` at start | Memory shortcut - add to CLAUDE.md | Prompts for file selection |44| `#` at start | Memory shortcut - add to CLAUDE.md | Prompts for file selection |

39| `/` at start | Slash command | See [slash commands](/en/docs/claude-code/slash-commands) |45| `/` at start | Slash command | See [slash commands](/en/docs/claude-code/slash-commands) |

40| `!` at start | Bash mode | Run commands directly and add execution output to the session |46| `!` at start | Bash mode | Run commands directly and add execution output to the session |

47| `@` | File path mention | Trigger file path autocomplete |

41 48 

42## Vim editor mode49## Vim editor mode

43 50 

mcp.md +4 −7

Details

136 description: "Access real-time customer conversations, tickets, and user data",136 description: "Access real-time customer conversations, tickets, and user data",

137 documentation: "https://developers.intercom.com/docs/guides/mcp",137 documentation: "https://developers.intercom.com/docs/guides/mcp",

138 urls: {138 urls: {

139 sse: "https://mcp.intercom.com/sse",

140 http: "https://mcp.intercom.com/mcp"139 http: "https://mcp.intercom.com/mcp"

141 },140 },

142 authentication: {141 authentication: {


169 description: "Integrate with Linear's issue tracking and project management",168 description: "Integrate with Linear's issue tracking and project management",

170 documentation: "https://linear.app/docs/mcp",169 documentation: "https://linear.app/docs/mcp",

171 urls: {170 urls: {

172 sse: "https://mcp.linear.app/sse"171 http: "https://mcp.linear.app/mcp"

173 },172 },

174 authentication: {173 authentication: {

175 type: "oauth"174 type: "oauth"


201 description: "Integrate PayPal commerce capabilities, payment processing, transaction management",200 description: "Integrate PayPal commerce capabilities, payment processing, transaction management",

202 documentation: "https://www.paypal.ai/",201 documentation: "https://www.paypal.ai/",

203 urls: {202 urls: {

204 sse: "https://mcp.paypal.com/sse",

205 http: "https://mcp.paypal.com/mcp"203 http: "https://mcp.paypal.com/mcp"

206 },204 },

207 authentication: {205 authentication: {


234 description: "Monitor errors, debug production issues",232 description: "Monitor errors, debug production issues",

235 documentation: "https://docs.sentry.io/product/sentry-mcp/",233 documentation: "https://docs.sentry.io/product/sentry-mcp/",

236 urls: {234 urls: {

237 sse: "https://mcp.sentry.dev/sse",

238 http: "https://mcp.sentry.dev/mcp"235 http: "https://mcp.sentry.dev/mcp"

239 },236 },

240 authentication: {237 authentication: {


1055You can use Claude Code itself as an MCP server that other applications can connect to:1052You can use Claude Code itself as an MCP server that other applications can connect to:

1056 1053 

1057```bash theme={null}1054```bash theme={null}

1058# Start Claude as a stdio MCP server with explicit transport1055# Start Claude as a stdio MCP server

1059claude mcp serve --transport stdio1056claude mcp serve

1060```1057```

1061 1058 

1062You can use this in Claude Desktop by adding this configuration to claude\_desktop\_config.json:1059You can use this in Claude Desktop by adding this configuration to claude\_desktop\_config.json:


1067 "claude-code": {1064 "claude-code": {

1068 "type": "stdio",1065 "type": "stdio",

1069 "command": "claude",1066 "command": "claude",

1070 "args": ["mcp", "serve", "--transport", "stdio"],1067 "args": ["mcp", "serve"],

1071 "env": {}1068 "env": {}

1072 }1069 }

1073 }1070 }

model-config.md +13 −0

Details

111 111 

112Note: `ANTHROPIC_SMALL_FAST_MODEL` is deprecated in favor of112Note: `ANTHROPIC_SMALL_FAST_MODEL` is deprecated in favor of

113`ANTHROPIC_DEFAULT_HAIKU_MODEL`.113`ANTHROPIC_DEFAULT_HAIKU_MODEL`.

114 

115### Prompt caching configuration

116 

117Claude Code automatically uses [prompt caching](/en/docs/build-with-claude/prompt-caching) to optimize performance and reduce costs. You can disable prompt caching globally or for specific model tiers:

118 

119| Env var | Description |

120| ------------------------------- | ---------------------------------------------------------------------------------------------- |

121| `DISABLE_PROMPT_CACHING` | Set to `1` to disable prompt caching for all models (takes precedence over per-model settings) |

122| `DISABLE_PROMPT_CACHING_HAIKU` | Set to `1` to disable prompt caching for Haiku models only |

123| `DISABLE_PROMPT_CACHING_SONNET` | Set to `1` to disable prompt caching for Sonnet models only |

124| `DISABLE_PROMPT_CACHING_OPUS` | Set to `1` to disable prompt caching for Opus models only |

125 

126These environment variables give you fine-grained control over prompt caching behavior. The global `DISABLE_PROMPT_CACHING` setting takes precedence over the model-specific settings, allowing you to quickly disable all caching when needed. The per-model settings are useful for selective control, such as when debugging specific models or working with cloud providers that may have different caching implementations.

Details

309 309 

310#### Code Edit Tool Decision Counter310#### Code Edit Tool Decision Counter

311 311 

312Incremented when user accepts or rejects Edit, MultiEdit, Write, or NotebookEdit tool usage.312Incremented when user accepts or rejects Edit, Write, or NotebookEdit tool usage.

313 313 

314**Attributes**:314**Attributes**:

315 315 

316* All [standard attributes](#standard-attributes)316* All [standard attributes](#standard-attributes)

317* `tool`: Tool name (`"Edit"`, `"MultiEdit"`, `"Write"`, `"NotebookEdit"`)317* `tool`: Tool name (`"Edit"`, `"Write"`, `"NotebookEdit"`)

318* `decision`: User decision (`"accept"`, `"reject"`)318* `decision`: User decision (`"accept"`, `"reject"`)

319* `language`: Programming language of the edited file (e.g., `"TypeScript"`, `"Python"`, `"JavaScript"`, `"Markdown"`). Returns `"unknown"` for unrecognized file extensions.319* `language`: Programming language of the edited file (e.g., `"TypeScript"`, `"Python"`, `"JavaScript"`, `"Markdown"`). Returns `"unknown"` for unrecognized file extensions.

320 320 


411* All [standard attributes](#standard-attributes)411* All [standard attributes](#standard-attributes)

412* `event.name`: `"tool_decision"`412* `event.name`: `"tool_decision"`

413* `event.timestamp`: ISO 8601 timestamp413* `event.timestamp`: ISO 8601 timestamp

414* `tool_name`: Name of the tool (e.g., "Read", "Edit", "MultiEdit", "Write", "NotebookEdit", etc.)414* `tool_name`: Name of the tool (e.g., "Read", "Edit", "Write", "NotebookEdit", etc.)

415* `decision`: Either `"accept"` or `"reject"`415* `decision`: Either `"accept"` or `"reject"`

416* `source`: Decision source - `"config"`, `"user_permanent"`, `"user_temporary"`, `"user_abort"`, or `"user_reject"`416* `source`: Decision source - `"config"`, `"user_permanent"`, `"user_temporary"`, `"user_abort"`, or `"user_reject"`

417 417 

quickstart.md +7 −0

Details

28 Alternatively, try our new native install, now in beta.28 Alternatively, try our new native install, now in beta.

29</Tip>29</Tip>

30 30 

31**Homebrew (macOS, Linux):**

32 

33```sh theme={null}

34brew install --cask claude-code

35```

36 

31**macOS, Linux, WSL:**37**macOS, Linux, WSL:**

32 38 

33```bash theme={null}39```bash theme={null}


286 </Accordion>292 </Accordion>

287 293 

288 <Accordion title="Save time with shortcuts">294 <Accordion title="Save time with shortcuts">

295 * Press `?` to see all available keyboard shortcuts

289 * Use Tab for command completion296 * Use Tab for command completion

290 * Press ↑ for command history297 * Press ↑ for command history

291 * Type `/` to see all slash commands298 * Type `/` to see all slash commands

settings.md +4 −1

Details

288| `DISABLE_COST_WARNINGS` | Set to `1` to disable cost warning messages |288| `DISABLE_COST_WARNINGS` | Set to `1` to disable cost warning messages |

289| `DISABLE_ERROR_REPORTING` | Set to `1` to opt out of Sentry error reporting |289| `DISABLE_ERROR_REPORTING` | Set to `1` to opt out of Sentry error reporting |

290| `DISABLE_NON_ESSENTIAL_MODEL_CALLS` | Set to `1` to disable model calls for non-critical paths like flavor text |290| `DISABLE_NON_ESSENTIAL_MODEL_CALLS` | Set to `1` to disable model calls for non-critical paths like flavor text |

291| `DISABLE_PROMPT_CACHING` | Set to `1` to disable prompt caching for all models (takes precedence over per-model settings) |

292| `DISABLE_PROMPT_CACHING_HAIKU` | Set to `1` to disable prompt caching for Haiku models |

293| `DISABLE_PROMPT_CACHING_OPUS` | Set to `1` to disable prompt caching for Opus models |

294| `DISABLE_PROMPT_CACHING_SONNET` | Set to `1` to disable prompt caching for Sonnet models |

291| `DISABLE_TELEMETRY` | Set to `1` to opt out of Statsig telemetry (note that Statsig events do not include user data like code, file paths, or bash commands) |295| `DISABLE_TELEMETRY` | Set to `1` to opt out of Statsig telemetry (note that Statsig events do not include user data like code, file paths, or bash commands) |

292| `HTTP_PROXY` | Specify HTTP proxy server for network connections |296| `HTTP_PROXY` | Specify HTTP proxy server for network connections |

293| `HTTPS_PROXY` | Specify HTTPS proxy server for network connections |297| `HTTPS_PROXY` | Specify HTTPS proxy server for network connections |


315| **Edit** | Makes targeted edits to specific files | Yes |319| **Edit** | Makes targeted edits to specific files | Yes |

316| **Glob** | Finds files based on pattern matching | No |320| **Glob** | Finds files based on pattern matching | No |

317| **Grep** | Searches for patterns in file contents | No |321| **Grep** | Searches for patterns in file contents | No |

318| **MultiEdit** | Performs multiple edits on a single file atomically | Yes |

319| **NotebookEdit** | Modifies Jupyter notebook cells | Yes |322| **NotebookEdit** | Modifies Jupyter notebook cells | Yes |

320| **NotebookRead** | Reads and displays Jupyter notebook contents | No |323| **NotebookRead** | Reads and displays Jupyter notebook contents | No |

321| **Read** | Reads the contents of files | No |324| **Read** | Reads the contents of files | No |

setup.md +11 −1

Details

82 82 

83If you have an existing installation of Claude Code, use `claude install` to start the native binary installation.83If you have an existing installation of Claude Code, use `claude install` to start the native binary installation.

84 84 

85For a fresh install, run the following command:85For a fresh install, run one of the following commands:

86 

87**Homebrew (macOS, Linux):**

88 

89```sh theme={null}

90brew install --cask claude-code

91```

92 

93<Note>

94 Claude Code installed via Homebrew will auto-update outside of the brew directory unless explicitly disabled with the `DISABLE_AUTOUPDATER` environment variable (see [Auto updates](#auto-updates) section).

95</Note>

86 96 

87**macOS, Linux, WSL:**97**macOS, Linux, WSL:**

88 98