1,296 pages for type.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Manage costs effectively
Claude Code CLI · in the page
costs
…you're not actively using. ### Install code intelligence plugins for typed languages [Code intelligence plugins](/docs/en/plugins/code-intelligence.md) give Claude precise symbol navigation instead…
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…ou want the other session to know or do. This example is a prompt you type, not a message Claude sends: ```text wrap theme={null} Ask the session running in my other terminal whether the migration fi…
Data usage
Claude Code CLI · in the page
data-usage
…a retention Anthropic retains Claude Code data based on your account type and preferences. **Consumer users (Free, Pro, and Max plans)**: * Users who allow data use for model improvement: 5-year re…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…n/empty ``` **PowerShell** ```powershell theme={null} New-Item -ItemType Directory -Force "$HOME/claude-clean/empty" | Out-Null Set-Location "$HOME/claude-clean/empty" ``` **2. Start Claude Code wi…
Launch sessions from links
Claude Code CLI · in the page
deep-links
…alled who clicks the link sees a session open with the prompt already typed. The prompt is populated but not sent until you press Enter. Because a deep link is a URL, you can put one anywhere a link…
Desktop application
Claude Code CLI · in the page
desktop
…e right end of the row. You can change the model during the session. Type your task and press **Enter** to start. Each session tracks its own context and changes independently. ## Work with code Gi…
Get started with the desktop app
Claude Code CLI · in the page
desktop-quickstart
…he model later from the model picker. **3. Tell Claude what to do** Type what you want Claude to do: * `Find a TODO comment and fix it` * `Add tests for the main function` * `Create a CLAUDE.md wit…
Development containers
Claude Code CLI · in the page
devcontainer
…l} "mounts": [ "source=claude-code-config,target=/home/node/.claude,type=volume" ], "containerEnv": { "CLAUDE_CONFIG_DIR": "/home/node/.claude" } ``` Replace `/home/node` with the home directory…
Environment variables
Claude Code CLI · in the page
env-vars
…| Set to `1` to disable all built-in [subagent](/docs/en/sub-agents) types such as Explore and Plan. Only applies in non-interactive mode (the `-p` flag). Useful for SDK users who want a blank slate.…
Error reference
Claude Code CLI · in the page
errors
…mplete-data-was-received) | | `Bedrock streaming response has content-type "..."; expected "application/vnd.amazon.eventstream"` | [Network](#bedrock-streaming-response-has-an-unexpected-content-type)…
Speed up responses with fast mode
Claude Code CLI · in the page
fast-mode
…Requires Claude Code v2.1.271 or later in the session's environment. Type `/fast on` in the session to turn fast mode on. It stays on for that session only and isn't saved as your default. The [requi…
Extend Claude Code
Claude Code CLI · in the page
features-overview
…ects Claude to a language server for symbol-level navigation and live type errors * **[MCP](/docs/en/mcp.md)** connects Claude to external services and tools * **[Subagents](/docs/en/sub-agents.md)**…
Fullscreen rendering
Claude Code CLI · in the page
fullscreen
…row in a multiple-choice question, focuses its input field so you can type an answer. * **Click a setting's value in the `/config` panel** to change it, and scroll the settings list with the mouse whe…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…ent. ```yaml theme={null} name: Claude Code on: issue_comment: types: [created] pull_request_review_comment: types: [created] jobs: claude: if: contains(github.event.comment.body, '…
Use Claude Code GitHub Actions with cloud providers
Claude Code CLI · in the page
github-actions-cloud-providers
…ts: write issues: write id-token: write on: issue_comment: types: [created] pull_request_review_comment: types: [created] issues: types: [opened] jobs: claude-pr: if: |…
Claude Code with GitHub Enterprise Server
Claude Code CLI · in the page
github-enterprise-server
…t which marketplaces developers can add, use the `hostPattern` source type to allow all marketplaces from your GHES instance without enumerating each repository. See [Delivery mechanisms](/docs/en/man…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…In an issue or MR comment: ```text wrap theme={null} @claude fix the TypeError in the user dashboard component ``` Claude locates the bug, implements a fix, and updates the branch or opens a new MR.…
Glossary
Claude Code CLI · in the page
glossary
…tructions. The opening `---` must be the file's first line. Each file type accepts its own set of fields. Learn more: [Skill frontmatter](/docs/en/skills.md#frontmatter-reference), [Subagent frontmat…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…both fire after every turn. `/goal` is a session-scoped shortcut: you type a condition and it's active for the current session only. A Stop hook lives in your settings file, applies to every session i…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…form may not support the Claude Code default models on every endpoint type. Model availability varies across [specific regions](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations#ge…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…gent SDK to run Claude Code programmatically from the CLI, Python, or TypeScript. The [Agent SDK](/docs/en/agent-sdk/overview.md) gives you the same tools, agent loop, and context management that pow…
Hooks reference
Claude Code CLI · in the page
hooks
…en/hooks.md#userpromptsubmit) | | `UserPromptExpansion` | When a user-typed command expands into a prompt, before it reaches Claude. Can block the expansion | | `PreToolUse` | Before a tool call execu…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…{ "matcher": "", "hooks": [ { "type": "command", "command": "osascript -e 'display notification \"Claude Code needs your attention\" with title \"Cla…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…documentation, look up error messages | | **Code intelligence** | See type errors and warnings after edits, jump to definitions, find references (requires [code intelligence plugins](/docs/en/plugins/…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…docs/en/cross-session-messaging.md#message-another-session), when you type at least one letter after the `@`, Claude Code also suggests your other live sessions on this machine, so you can tell Claude…
Customize keyboard shortcuts
Claude Code CLI · in the page
keybindings
…m:no" } } ] } ``` With these bindings, `y` and `n` still type as letters while a [text field](#text-fields) has focus. Before v2.1.280, `y` was also bound to `confirm:yes` and `n` to `co…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…ge server so it can jump to definitions, find references, and surface type errors directly instead of scanning the tree. The official marketplace has plugins for TypeScript, Python, Go, Rust, and oth…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…IC_AUTH_TOKEN" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{"model": "claude-sonnet-4-6", "max_tokens": 1, "messages": [{"role": "user", "content": "."}]}' `…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…An Amazon Bedrock-format gateway receives a `GET /inference-profiles?type=SYSTEM_DEFINED` request and, when the configured model is an inference profile, `GET /inference-profiles/{profile}` lookups.…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…<gateway-key>" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{"model": "claude-sonnet-4-6", "max_tokens": 1, "messages": [{"role": "user", "content": "."}]}' `…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…ile: ```json theme={null} { "mcpServers": { "github": { "type": "http", "url": "https://api.githubcopilot.com/mcp/" }, "sentry": { "type": "http", "url": "https:…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…sions, the desktop app's Code tab, and [Agent SDK](/docs/en/agent-sdk/typescript.md) sessions read all of these sources. Agent SDK sessions load managed settings even when `settingSources` excludes th…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…JSON in `.mcp.json`, `~/.claude.json`, or `claude mcp add-json`, the `type` field accepts `streamable-http` as an alias for `http`. The MCP specification uses the name `streamable-http` for this trans…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…son theme={null} { "mcpServers": { "claude-code-docs": { "type": "http", "url": "https://code.claude.com/docs/mcp" }, "playwright": { "type": "stdio", "command":…
How Claude remembers your project
Claude Code CLI · in the page
memory
…ents-md) as your project instructions * [Scope rules to specific file types](#organize-rules-with-claude/rules/) with `.claude/rules/` * [Configure auto memory](#auto-memory) so Claude takes notes aut…
Model configuration
Claude Code CLI · in the page
model-config
…. Fable 5.1 is the newer release. Neither Fable model is the account-type default on any plan or provider. Select one explicitly: * **Fable 5.1**: run `/model fable`, or launch with `claude --model…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…ction (required) | `1` | | `OTEL_METRICS_EXPORTER` | Metrics exporter types, comma-separated. Use `none` to disable | `console`, `otlp`, `prometheus`, `none` | | `OTEL_LOGS_EXPORTER` | Logs/events exp…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…the table lists; neither variable extends a watchdog to a connection type it doesn't cover. `CLAUDE_ENABLE_BYTE_WATCHDOG` set to `0` also turns off the first-byte deadline. * `CLAUDE_STREAM_IDLE_TIME…
Output styles
Claude Code CLI · in the page
output-styles
…s in place and calls validateFile() before accepting a file. Size and type checks work for images, but the switch statement has no handling for documents yet. Your Task: In upload.js, implement the c…
Overview
Claude Code CLI · in the page
overview
…nstalling, open the Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`), type "Claude Code", and select **Open in New Tab**. [Get started with VS Code →](/docs/en/vs-code.md#get-started) **Desktop app*…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…K integrations use. The CLI accepts `manual` as an alias wherever you type the value, for example `claude --permission-mode manual` or `"defaultMode": "manual"`. Writes to [protected paths](#protecte…
Configure permissions
Claude Code CLI · in the page
permissions
…on system to balance power and safety. The table shows, for each tool type, whether Manual mode asks before the action runs. The other [permission modes](#permission-modes) change which of these ask y…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…the-result). The prompt is something a person using your plugin might type, such as a request one of its skills should handle. ### What happens in a run For each run of a case, Claude Code starts a…
Anthropic's marketplaces
Claude Code CLI · in the page
plugins/anthropic-marketplaces
…n you install a plugin from one of them in a Claude Code session, you type the marketplace's name after `@`, as in `/plugin install commit-commands@claude-plugins-official`. Use this page to distingu…
Recommend your plugin from your CLI
Claude Code CLI · in the page
plugins/cli-hints
…nv.CLAUDECODE) { process.stderr.write( '<claude-code-hint v="1" type="plugin" value="example-cli@claude-plugins-official" />\n', ) } ``` ```python Python theme={null} import os, sys if os.en…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…lways present, and the others appear only when they apply. | Field | Type | Description | | :- | :- | :- | | `id` | string | `name@marketplace` for installs, `name@inline` for session-only plugins, `…
Code intelligence plugins
Claude Code CLI · in the page
plugins/code-intelligence
…telligence plugins > Install a language server plugin so Claude sees type errors after edits and navigates code by symbol, and answer the LSP plugin recommendation dialog. A code intelligence plugin…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…a plugin > Add skills, hooks, MCP servers, and every other component type to a Claude Code plugin, with an example that validates for each. A Claude Code plugin is built from components, such as ski…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…Use": [ { "matcher": "Write|Edit", "hooks": [{ "type": "command", "command": "jq -r '.tool_input.file_path' | xargs npm run lint:fix" }] } ] } } ``` **4. Test the mi…
Create a marketplace
Claude Code CLI · in the page
plugins/create-marketplace
…ct. These fields cover most entries: * `name`: the identifier people type before `@` when they install. [Plugin entries](/docs/en/plugins/marketplace-reference.md#plugin-entries) gives the characters…