1,005 pages for path.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Model configuration
Claude Code CLI · in the page
model-config
…ome, not the steps**: hand it the result you want and let it plan the path. To keep it working toward that outcome, [set a goal](/docs/en/goal). * **Hand it ambiguous problems**: root-cause investigat…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…nt. If nothing arrives, start Claude Code with `claude --debug-file <path>` and check the log it writes to that path. Claude Code reports failures from the exporters you configure as `[3P telemetry]`…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…trust it directly: ```bash theme={null} export NODE_EXTRA_CA_CERTS=/path/to/ca-cert.pem ``` ## mTLS authentication For enterprise environments requiring client certificate authentication: ```bash…
Output styles
Claude Code CLI · in the page
output-styles
…Use `flowchart TD` for control flow and `sequenceDiagram` for request paths. Keep diagrams under 15 nodes. ``` </Step> <Step title="Switch to your style"> Run `/output-style <style>` in t…
Overview
Claude Code CLI · in the page
overview
…isn't found or isn't recognized, the install directory isn't on your PATH yet: see [Fix your PATH](/docs/en/troubleshoot-install#command-not-found-claude-after-installation). If you see `The…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…app's label doesn't depend on your CLI version. Writes to [protected paths](#protected-paths) are never auto-approved except in `bypassPermissions` mode and in plan-mode sessions where bypass permiss…
Configure permissions
Claude Code CLI · in the page
permissions
…keys: Esc to cancel and Tab to amend." width="1512" height="680" data-path="images/permission-prompt-bash-light.png" /> <img src="https://mintcdn.com/claude-code/oa7CKjMeIChox26S/images/permission-…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…report and iterate"> Open the `Published:` URL, or the `Report:` path when no `Published:` line appears, to see each grader's verdict and explanation for every run, and for `llm` graders the judg…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…es the fields below. `id`, `version`, `scope`, `enabled`, and `installPath` are always present, and the others appear only when they apply. | Field | Type | Description | | :- | :- | :- | | `id` | st…
Code intelligence plugins
Claude Code CLI · in the page
plugins/code-intelligence
…typescript`. After you install the binary, confirm it's on the `PATH` of the shell you start `claude` from, for example with `which typescript-language-server`, or `Get-Command typescript-langua…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…> { const PIECES = [{ id: 'manifest', name: 'Manifest', path: '.claude-plugin/plugin.json', lines: [{ depth: 0, kind: 'folder', text: '.claude-plugin/' }, {…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…e steps from it. You can keep a plugin anywhere, because you pass its path to Claude Code when you start a session. <Steps> <Step title="Create the plugin directory"> Create the plugin director…
Create a marketplace
Claude Code CLI · in the page
plugins/create-marketplace
…ry and needs a `name` and a `source`. Write the entry's `source` as a path from the marketplace root. The root is `my-marketplace/`, the directory that contains `.claude-plugin/`. ```json my-mark…
Plugin dependencies
Claude Code CLI · in the page
plugins/dependencies
…own repository, so the plugin's author creates the tags * **Relative path such as `./plugins/secrets-vault`**: the marketplace repository, so the marketplace maintainer creates the tags ### Create a…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…marketplace add /Volumes/shared/claude-plugins` | Read access to the path | To pin a branch or tag of a GitHub or git-URL marketplace, tell users to append `#<ref>`, as in `your-org/your-marketplace…
Install and manage plugins
Claude Code CLI · in the page
plugins/install
…lace.git#v1.0.0` | | Local directory or file | A relative or absolute path to a directory that holds `.claude-plugin/marketplace.json`, or to the JSON file itself. Start a relative path with `./` or `…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…nstalled_plugins.json` records each install with its `scope`, `installPath`, and `version` * `cache/` holds the plugin files * **Loaded, in the running session**: the plugin set Claude Code loaded a…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…ence for plugin.json: 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 `.clau…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…rces](#marketplace-sources) * **Output from [`claude plugin validate <path>`](/docs/en/plugins/cli-reference)**: [Validation messages](#validation-messages), which maps each message to the field it na…
Manage mods for your organization
Claude Code CLI · in the page
plugins/mods/admin
…a user's machine, start Claude Code there with `--plugin-dir` and the path of a directory that holds a mod, such as `claude --plugin-dir ./first-mod`. The mod's hooks don't run, and the transcript and…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…of access: | Namespace | What it does | | :- | :- | | `$.fs` | `read(path)`, `write(path, text)`, `exists(path)`, `stat(path)`, and `list(path)` work on files and directories | | `$.process` | `run([…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…h is `~/.claude/dev-mods/` followed by the session's ID. A mod's full path looks like `~/.claude/dev-mods/3f2a9c1e-5b7d-4e8a-9c21-6d0f4b8a7e13/git-branch/`. <Note> In the `default` and `acc…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…nst changed = !result.deny && !result.isError if (changed && e.file_path.endsWith('.mdx')) $.ui.log('Claude changed ' + e.file_path) // Return the result as it came, so Claude reads what the tool…
Interface gallery for mods
Claude Code CLI · in the page
plugins/mods/gallery
…color red, and backgroundColor blue." width="1872" height="490" data-path="images/mods-el-text-light.png" /> <img src="https://mintcdn.com/claude-code/EXkwf0kKMewZsyod/images/mods-el-text-dark.png?f…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…nner. The prompt is Claude Code's own." width="600" height="336" data-path="images/mods-screen-map.svg" /> <img src="https://mintcdn.com/claude-code/dgiVO_Od1X1faduV/images/mods-screen-map-dark.svg?f…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
…hen 2, then 3, as Claude lists the files and reads two of them." data-path="images/mods-overview-light.mp4" /> <video autoPlay muted loop playsInline controls className="w-full hidden dark:block" s…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…d fields. | | `hooks/hooks.json` | Yes | `modules`: an array with one path, relative to this file, to the hooks module, as in `"modules": ["./register.js"]`. Can also hold [settings hooks](/docs/en/ho…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…ol: 'Bash', command: 'ls' }) await $.tool.call({ tool: 'Read', file_path: 'README.md' }) // Run /tally and check the text its hook returns const answer = await $.command.run({ command: 'tally',…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…n your shell start Claude Code with `--debug`, or with `--debug-file <path>` to choose where it goes: ```bash theme={null} claude --debug-file ./mod-debug.log --plugin-dir ./first-mod ``` In another…
Manage Claude Code plugins for your organization
Claude Code CLI · in the page
plugins/org
…ins that Claude Code fetches from a git repository, a URL, or a local path. Once you register a marketplace on a machine, Claude Code can install plugins from it. To install plugins for a fleet, set…
Plugins overview
Claude Code CLI · in the page
plugins/overview
…an MCP server that gives Claude tools." width="760" height="336" data-path="images/plugin-directory.svg" /> <img src="https://mintcdn.com/claude-code/2Q_GtOEovg5qaBem/images/plugin-directory-dark.svg…
Publish and distribute a plugin
Claude Code CLI · in the page
plugins/publish
…-strict` if you chose to omit `version` in the previous step. * **Paths**: validation reports component paths that don't start with `./`. Inside hook commands and MCP server configs, refer to file…
Recommend plugins for your org
Claude Code CLI · in the page
plugins/relevance
…ry.terraform.io"]`. Bare lowercase hostname only: no scheme, port, or path. Exact case-insensitive match. | 20 entries of 128 characters each | | `filesRead` | array of strings | Glob patterns matched…
Plugin security and trust
Claude Code CLI · in the page
plugins/security
…ry**: Claude Code adds each enabled plugin's `bin/` directory to the `PATH` of the Bash tool's shell, so Claude's Bash commands can run any executable there. * **Skills, commands, and agents**: these…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…Claude Code isn't installed, or its install directory isn't on your `PATH` in this shell. Follow [`command not found: claude` after installation](/docs/en/troubleshoot-install#command-not-found-claud…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…re request is reprocessed and written." width="720" height="454" data-path="images/prompt-caching-prefix.svg" /> <img src="https://mintcdn.com/claude-code/_xqph1dUOslCOwsj/images/prompt-caching-prefi…
Prompt library
Claude Code CLI · in the page
prompt-library
…er', cat: 'Understand', roles: [], prompt: 'explain what {path} does and how data flows through it. write it up as {format}', slots: { path: 'src/scheduler/queue.ts', forma…
Quickstart
Claude Code CLI · in the page
quickstart
…isn't found or isn't recognized, the install directory isn't on your PATH yet: see [Fix your PATH](/docs/en/troubleshoot-install#command-not-found-claude-after-installation). If you see `The tok…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…t configuration all stay available, and typing `@` autocompletes file paths from your local project. * **Work from both surfaces at once**: the conversation and the progress of [subagents](/docs/en/su…
Automate work with routines
Claude Code CLI · in the page
routines
…trigger](#add-a-github-trigger) from the web or from the CLI. The CLI path requires Claude Code v2.1.225 or later. A routine with no schedule trigger, such as one started only by API calls or GitHub…
Choose a sandbox environment
Claude Code CLI · in the page
sandbox-environments
…ot spawn arbitrary code. [Permission rules](/docs/en/permissions) for path or domain gate them instead. * [MCP](/docs/en/mcp) servers and [command hooks](/docs/en/hooks#command-hook-fields) are separa…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…ditional-directories-grant-file-access-not-configuration). [Protected paths](#protected-paths) stay write-denied | [`filesystem.allowWrite`](/docs/en/settings-reference#sandbox-filesystem-allowwrite),…
Run prompts on a schedule
Claude Code CLI · in the page
scheduled-tasks
…oks for the file in two locations and uses the first one it finds. | Path | Scope | | :- | :- | | `.claude/loop.md` | Project-level. Takes precedence when both files exist. | | `~/.claude/loop.md` |…
Security
Claude Code CLI · in the page
security
…Bash commands like `mkdir`, `touch`, `rm`, `mv`, `cp`, and `sed` for paths in the working directory. Other Bash commands and out-of-scope paths still prompt ### User responsibility You're responsib…
Catch security issues as Claude writes code
Claude Code CLI · in the page
security-guidance
…er-security-tools). ## Prerequisites * Python 3.7 or later on your `PATH`. The agentic commit review needs Python 3.10 or later, as do all model-backed reviews when Claude Code uses a third-party pr…
Self-hosted environments
Claude Code CLI · in the page
self-hosted-environments
…ty and limitations](#availability-and-limitations) for the enablement path and what's excluded. </Note> A self-hosted environment executes Claude Code cloud sessions on infrastructure your organizati…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…binary, so signals and exit codes propagate correctly. Point `--exec-path`, or `SELF_HOSTED_RUNNER_EXEC_PATH`, at the wrapper when you start the runner: ```bash theme={null} claude self-hosted-runne…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…sted-environments#availability-and-limitations) covers the enablement path. This page covers running the fleet in production; see the [quickstart](/docs/en/self-hosted-environments-quickstart) for you…
Verify session identity in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-identity
…| jq -re '.act.email // .act.sub' ``` Wrappers receive the absolute path to the runner's own binary in `CLAUDE_RUNNER_CLAUDE_BIN`; use that path rather than a PATH-resolved `claude` so the decode ru…
Self-hosted environments quickstart
Claude Code CLI · in the page
self-hosted-environments-quickstart
…sted-environments#availability-and-limitations) covers the enablement path. This page gets your first session running; see [Self-hosted environments](/docs/en/self-hosted-environments) for what they a…