1,322 pages for user.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…ive there. To register a server once for all your projects, add it at user scope, covered in [Change server scope](#change-server-scope). **2. Check the connection status** Confirm the server appear…
How Claude remembers your project
Claude Code CLI · in the page
memory
…tructions and rules | Learnings and patterns | | **Scope** | Project, user, or org | Per repository, shared across worktrees | | **Loaded into** | Every session | Every session (first 200 lines or 25K…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…dentials) > [!NOTE] > > If you are deploying Claude Code to multiple users, [pin your model versions](#4-pin-model-versions) before rolling out. ## Setup ### 1. Provision Microsoft Foundry resource…
Model configuration
Claude Code CLI · in the page
model-config
…_FABLE_MODEL`. If you connect to the Anthropic API directly and your user settings hold `claude-fable-5` or `claude-fable-5[1m]` as the model, for example because you selected Fable in the `/model` p…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…ify a logs-only setup, submit a prompt and check for the `claude_code.user_prompt` event. If nothing arrives, start Claude Code with `claude --debug-file <path>` and check the log it writes to that p…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…als in the proxy URL: ```bash theme={null} export HTTPS_PROXY=http://username:[email protected]:8080 ``` > [!WARNING] > > Avoid hardcoding passwords in scripts. Use environment variables or…
Output styles
Claude Code CLI · in the page
output-styles
…e becomes the style name unless you set `name` in the frontmatter. * User: `~/.claude/output-styles` * Project: `.claude/output-styles` * Managed policy: `.claude/output-styles` inside the [managed s…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…sessions where that setting reaches Claude Code * Tools that require user interaction: the built-in `AskUserQuestion` tool and MCP tools marked [`requiresUserInteraction`](/docs/en/mcp#require-approv…
Configure permissions
Claude Code CLI · in the page
permissions
…ols pre-approved via `/permissions` or `permissions.allow` rules. `AskUserQuestion`, MCP tools marked [`requiresUserInteraction`](/docs/en/mcp#require-approval-for-a-specific-tool), [reads from networ…
Platforms and integrations
Claude Code CLI · in the page
platforms
…ess | Shared team access on Team and Enterprise plans, instead of per-user Slack sessions | For integrations not listed here, [MCP servers](/docs/en/mcp.md) and [connectors](/docs/en/desktop.md#conne…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…gin.json` * One skill in the plugin you want to test, and a request a user would type that should trigger it **1. Create the cases** From the plugin root, run: ```bash theme={null} claude plugin ev…
Recommend your plugin from your CLI
Claude Code CLI · in the page
plugins/cli-hints
# Recommend your plugin from your CLI > Prompt Claude Code users to install your official-marketplace plugin by emitting a claude-code-hint tag from your CLI or SDK. If you maintain a CLI or SDK, yo…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…figure` takes only the qualified form. * **Scopes**: `--scope` takes `user`, `project`, or `local`, and names the settings file the command writes to. `update` also takes `managed`. ### plugin init…
Code intelligence plugins
Claude Code CLI · in the page
plugins/code-intelligence
…hoices: * **Yes, install**: Claude Code installs the plugin for your user account and prints `<plugin> installed · restart to apply`. Start a new session to load the server. * **No, not now**: the di…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…gin/plugin.json` that replaces or adds to that folder, and a name the user sees. For each key's full field table, see the [manifest reference](/docs/en/plugins/manifest-reference.md#fields). Use this…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…decide-whether-you-need-a-plugin) on the overview > * **Your plugin's users are on claude.ai or in Cowork**: the same folder installs there with a different subset of components. See [Plugin structure…
Create a marketplace
Claude Code CLI · in the page
plugins/create-marketplace
…e plugin from it. That is the whole loop, and it's the same loop your users go through once you host the marketplace somewhere they can reach. Run every command in your shell, from the directory where…
Plugin dependencies
Claude Code CLI · in the page
plugins/dependencies
…ncy moves to each new release its marketplace publishes the next time users update. If that release renames an MCP tool your plugin calls, your plugin breaks for everyone who updates. With a constrai…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…Host and maintain a marketplace > Publish a plugin marketplace where users can reach it, grant access to a private one, and release updates and renames without breaking installs. Hosting a marketpla…
Install and manage plugins
Claude Code CLI · in the page
plugins/install
…ope** Select one of the three install options: * **Install for you (user scope)**: you get the plugin in every project on this machine * **Install for all collaborators on this repository (project s…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…laude Code writes the marketplace to `extraKnownMarketplaces` in your user settings as well as to disk * **Fetched, on disk under `~/.claude/plugins/`**: the records of what Claude Code has fetched, a…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…: every field with its type and default, accepted path forms, and the userConfig and environment variable schemas. A plugin manifest is the `plugin.json` file in a plugin's `.claude-plugin/` director…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…aces), and [`blockedMarketplaces`](/docs/en/plugins/org#restrict-what-users-can-install). > [!NOTE] > > These cases are covered on other pages: > > * **Building or hosting a marketplace**: see [Creat…
Measure plugin cost and usage
Claude Code CLI · in the page
plugins/measure
…and commands in Claude's context, and those tokens count against the user's usage whether or not the plugin gets used. This page shows how to see that number for a plugin, how to reduce it if you mai…
Manage mods for your organization
Claude Code CLI · in the page
plugins/mods/admin
…organization > Control Claude Code mods with managed settings: stop user-installed mods, allow only your own, review what a mod can do, and enforce policy with your own mod. A [mod](/docs/en/plugin…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…-build). ## Add a command or a tool A mod can add a command for the user to run and a tool for Claude to call. Register both in a [`session.start`](/docs/en/plugins/mods/reference#session) hook. Cla…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…`tool.call` hook runs for that call. #### Hold a tool call until the user decides A hook can pause a tool call and ask the user what to do before it goes ahead. A `tool.call` hook can `await` before…
Interface gallery for mods
Claude Code CLI · in the page
plugins/mods/gallery
…URL as text after the label. Whether a click opens it depends on the user's terminal. ## Show code and changes `Code` draws source text with Claude Code's own syntax colors, or a diff. In the VS Co…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…ok on its name from this table: | Site | What it is | | :- | :- | | `UserMessage`, `AssistantMessage` | A message in the transcript | | `ToolUse`, `ToolResult`, `ToolGroup` | A tool call's row, its r…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
…call or a request**: for example, hold a tool call while you ask the user a question, answer it without running the tool, or send one request to a different model. See [Guard or change a tool call](/…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…ter` receives `on` and `options`. `options` holds the values of the [`userConfig`](/docs/en/plugins/components#user-configuration) fields the manifest declares, with defaults filled in. ## The hook f…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…tool.call` stub, because the question reaches it as a call to the `AskUserQuestion` tool: `($, e) => ({ result: { answers: { [e.questions[0].question]: 'Run it' } } })`. Check `e.tool` first if your m…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…ask its author to fix the error. ### `options do not fit plugin.json userConfig` The line starts with the mod's name, then `hooks module did not load: options do not fit plugin.json userConfig:` and…
Manage Claude Code plugins for your organization
Claude Code CLI · in the page
plugins/org
…laude Code installs and allows on every machine in your organization. Users can't override them. You deliver them either as [server-managed settings](/docs/en/server-managed-settings.md) from the clau…
Plugins overview
Claude Code CLI · in the page
plugins/overview
…arty. Whatever the tier, a plugin you install can run code with your user privileges. Read [Plugin security and trust](/docs/en/plugins/security.md) for how to review a plugin before you install it.…
Publish and distribute a plugin
Claude Code CLI · in the page
plugins/publish
…tplace or Anthropic's directory, with a pre-release checklist and how users get updates. Publishing a Claude Code plugin means listing it in a marketplace, a JSON catalog that lists plugins and where…
Recommend plugins for your org
Claude Code CLI · in the page
plugins/relevance
…ock to marketplace plugin entries so Claude Code suggests them when a user's work matches, and allowlist the marketplace in managed settings. Claude Code can suggest installing a plugin from your org…
Plugin security and trust
Claude Code CLI · in the page
plugins/security
…ugin you install can execute arbitrary code on your machine with your user privileges. You install a plugin from a marketplace, which is the catalog Claude Code fetches it from. Some marketplace name…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…A GitHub `owner/repo` shorthand * An `https://` or `http://` URL * A `user@host:path` SSH URL * A local path starting with `./`, `../`, `/`, or `~` A bare name such as `claude-plugins-official` match…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…if needed. ### Editing CLAUDE.md mid-session Your project-root and user-level CLAUDE.md files are read once at session start and held in memory. Editing them mid-session does not invalidate the cac…
Prompt library
Claude Code CLI · in the page
prompt-library
…pm'], prompt: 'I am a {role}. walk me through what happens when a user {action}, from the UI down to the result', slots: { role: 'PM', action: 'clicks Export to PDF' }, nex…
Quickstart
Claude Code CLI · in the page
quickstart
…ural language: ```text wrap theme={null} add input validation to the user registration form ``` Or fix existing issues: ```text wrap theme={null} there's a bug where users can submit empty forms -…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…ettings.md) outranks it, because Claude Code saves the choice to your user settings. A `false` in project or local settings (`.claude/settings.json`, `.claude/settings.local.json`) turns auto-connect…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…onnectors appears as you. Commits and pull requests carry your GitHub user, and Slack messages, Linear tickets, or other connector actions use your linked accounts for those services. ### Create from…
Choose a sandbox environment
Claude Code CLI · in the page
sandbox-environments
…g as root, so run the container, VM, or sandbox runtime as a non-root user. [Auto mode](/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) replaces the prompt with a classifier that revie…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…ge it with | | :- | :- | :- | | Writes | The working directory, a per-user temp directory, and [directories you've added](/docs/en/permissions.md#additional-directories-grant-file-access-not-configura…
Run prompts on a schedule
Claude Code CLI · in the page
scheduled-tasks
…el. Takes precedence when both files exist. | | `~/.claude/loop.md` | User-level. Applies in any project that does not define its own. | The file is plain Markdown with no required structure. Write i…
Security
Claude Code CLI · in the page
security
…n prompt, so a Bash command you approve can still write anywhere your user account can * To read a folder without the prompt, add it as an [additional directory](/docs/en/permissions.md#working-dire…
Catch security issues as Claude writes code
Claude Code CLI · in the page
security-guidance
…* **Cloud sessions**: a cloud session doesn't load plugins from your user settings or from the repository's `.claude/settings.json`, as [What carries over from your setup](/docs/en/cloud-environments…
Self-hosted environments
Claude Code CLI · in the page
self-hosted-environments
…Who the owner is depends on how the session started: * **Sessions a user starts**: the owner is that user's account. * **Claude Tag channel sessions**: Claude runs them with no user account attached…