Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,334 pages for file.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Install and manage plugins Claude Code CLI · in the page plugins/install …hoose an install scope](#choose-an-install-scope) says which settings file each one writes to and which applies when the same plugin is set at more than one. > > After you select a scope, Claude Code… Plugin loading reference Claude Code CLI · in the page plugins/loading …nce > Trace where Claude Code loads each plugin from, which settings file decides whether it loads, and why an update changed nothing. Use this page when a plugin didn't load, loaded a different cop… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …environment variable schemas. A plugin manifest is the `plugin.json` file in a plugin's `.claude-plugin/` directory. It carries the plugin's metadata and the [`userConfig`](#user-configuration) value… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …source objects, with where each is valid. `marketplace.json` is the file that defines a plugin marketplace. It contains the marketplace's name, its owner, and one entry per plugin. Each entry's plug… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …the person who deploys managed settings for Claude Code, whether as a file, through MDM, or from the claude.ai admin console. Mods are on by default in Claude Code v2.1.286 and later. Start with the s… Use the mods API Claude Code CLI · in the page plugins/mods/api …call a model, run work on a timer, message other sessions, and reach files and the network. The mods API is the set of methods a mod calls to act: add commands and tools, call a model, run work betw… Create a mod Claude Code CLI · in the page plugins/mods/create …n](https://code.claude.com/docs/en/plugins/overview.md) with an entry file, called the hooks module: a JavaScript or TypeScript file whose functions Claude Code calls when events happen. To make one:… React to events with a mod Claude Code CLI · in the page plugins/mods/events …er runs return { deny: 'Bash is turned off in this project. Use the file tools.' } }) ``` When Claude tries a Bash command, the command doesn't run, and Claude reads the `deny` text as the tool's r… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …com/docs/en/plugins/mods/create.md#write-a-mod-yourself) explains the files. Save the manifest as `gallery/.claude-plugin/plugin.json`: ```json gallery/.claude-plugin/plugin.json theme={null} { "n… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …ith a manifest, a `hooks.json` that points to your code, and the code file. [Create a mod](https://code.claude.com/docs/en/plugins/mods/create.md#write-a-mod-yourself) explains each one. Create a dire… Mods overview Claude Code CLI · in the page plugins/mods/overview …pane that charts how full your context is after each request. For the files in a mod and a complete example, see [How a mod works](#how-a-mod-works). > [!NOTE] > > Claude Code's existing [hooks](http… Mods reference Claude Code CLI · in the page plugins/mods/reference …declarations that list every mod event, method, and prop, and look up file layout, which app draws what, and limits. The [type declarations on GitHub](https://github.com/anthropics/claude-code/blob/m… Test a mod Claude Code CLI · in the page plugins/mods/test …ou run tests from your shell with `claude plugin test`, and each test file imports the test kit, a test library in the `claude-code/testing` module. Give each test file a name that ends in `.test.ts`… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …When a mod does nothing, check what Claude Code reads from the mod's files, and the line it writes when it skips something. To check the files, in your shell run [`claude plugin validate`](https://co… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …as endpoint-managed settings through MDM or a `managed-settings.json` file. Most controls on this page take effect only from managed settings. This page is for administrators, and the settings here g… Plugins overview Claude Code CLI · in the page plugins/overview …irectory of components, usually with a manifest. The manifest, a JSON file at `.claude-plugin/plugin.json`, gives the plugin its name and can add a version, a description, and other [metadata](https:/… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …tart with `./`. Inside hook commands and MCP server configs, refer to files as `${CLAUDE_PLUGIN_ROOT}/...`. See [path rules](https://code.claude.com/docs/en/plugins/manifest-reference.md#path-rules).… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …ls you define for that plugin. Signals include the working directory, files Claude has read, and commands Claude has run. You define them by adding a `relevance` block to the plugin's entry in `market… Plugin security and trust Claude Code CLI · in the page plugins/security …lugin from, Claude Code updates that plugin in the background, so the files you reviewed can change on disk. [When auto-update runs](https://code.claude.com/docs/en/plugins/loading.md#when-auto-update… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …prints `Installed plugin: <plugin>@<marketplace>`. ### `zsh: no such file or directory: /plugin` You typed `/plugin ...` at a shell prompt, and the shell reported that no file named `/plugin` exists… Work with PR Steward on a pull request Claude Code CLI · in the page pr-steward-pull-requests …you-open) * **For everyone's pull requests in a repository**: [save a file at `.claude/skills/steward/SKILL.md`](#save-pr-steward-instructions-for-everyone-in-a-repository) in that repository ### Def… What PR Steward can access Claude Code CLI · in the page pr-steward-security …nt write on workflows, which lets PR Steward push changes to workflow files. See the app's [permission list](https://code.claude.com/docs/en/github-actions.md#github-app-permissions) | | Token | The a… Set up PR Steward Claude Code CLI · in the page pr-steward-setup …lf-hosted environment, PR Steward doesn't load a `CLAUDE.md` or rules file from the runner or from the runner's checkout of the pull request. It doesn't load a [managed `CLAUDE.md`](https://code.claud… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …nywhere in the prefix recomputes everything after it. There is no per-file or per-segment caching. See [how prompt caching works](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#h… Prompt library Claude Code CLI · in the page prompt-library …e do we {behavior}?', slots: { behavior: 'validate uploaded file types' }, src: 'workflows' }, { id: 'see-what-depends-on', sdlc: 'discover', cat: 'Understand', rol… Quickstart Claude Code CLI · in the page quickstart …theme={null} what does this project do? ``` Claude will analyze your files and provide a summary. You can also ask more specific questions: ```text wrap theme={null} what technologies does this proj… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …ude keeps running locally the entire time, so your code execution and filesystem access stay on your machine. With Remote Control you can: * **Use your full local environment remotely**: your filesys… Automate work with scheduled tasks Claude Code CLI · in the page routines …aude.com/docs/en/artifacts.md#pull-live-data-with-mcp-connectors) or [file downloads](https://code.claude.com/docs/en/artifacts.md#offer-a-file-download), Claude asks first. In those runs, Claude rep… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …runtime](#sandbox-runtime) | The whole Claude Code process, including file tools, MCP servers, and hooks | No | Low | | [Dev container](#dev-containers) | Full development environment | Yes | Medium |… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing # Configure the sandboxed Bash tool > Restrict the files and network hosts Claude Code's shell commands can reach with the built-in sandbox. Turn it on, set the boundary, and fix what it breaks. The… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …laude.com/docs/en/scheduled-tasks.md#limitations) | | Access to local files | No (fresh clone) | Yes | Yes | | MCP servers | Connectors configured per task | [Config files](https://code.claude.com/doc… Security Claude Code CLI · in the page security …Claude Code starts with read-only permissions. When it needs to edit files, run tests, or execute commands, it asks you first, and you choose whether to approve the action once or allow it from then… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …Claude's work at three points, each at a different depth: * [On each file edit](#on-each-file-edit): a fast pattern match for risky calls, with no model call * [At the end of each turn](#at-the-end-o… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …frastructure Repository checkouts, build artifacts, secrets, and any files a session creates or modifies stay on the machines you provision. The conversation itself, including prompts, responses, and… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …to replacing checkout entirely. Wrappers and hooks run as executable files on the runner host, which is Linux or macOS, and the examples on this page assume a POSIX shell. A few hook environment var… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …com/docs/en/self-hosted-environments#runner-lifecycle). Don't reuse a filesystem between runner restarts, except in the deliberate [pre-warmed checkout](#reuse-a-pre-warmed-checkout) setup, and never… Self-hosted environments quickstart Claude Code CLI · in the page self-hosted-environments-quickstart …ments-deploy.md#pin-the-version). For container images, see the Dockerfile in [Deploy to production](https://code.claude.com/docs/en/self-hosted-environments-deploy.md#build-the-runner-image). * **Git… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …nment variables spell it `environment`, such as `--environment-secret-file`; the deprecated `pool` spellings still work, as the [`--environment-secret-file` row](#runner-cli-flags) describes. ## Runn… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …k you install on the runner writes each turn's final reply to a local file, and the script reads it from there. If your test runners are on separate infrastructure, see [Remote test runners](#remote-t… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …ies (macOS managed preferences, Windows registry) or managed settings files. | Approach | Best for | Security model | | :- | :- | :- | | **Server-managed settings** | Organizations without MDM, or us… Manage sessions Claude Code CLI · in the page sessions …esume a session Sessions are saved continuously to [local transcript files](#export-and-locate-session-data) as you work, so you can return to one after exiting or running `/clear`. Use these entry p… Claude Code settings Claude Code CLI · in the page settings …aged delivery; all users on the machine for plist, HKLM registry, and file delivery; the current user for HKCU registry delivery | Yes (deployed by IT) | | **User**… All settings Claude Code CLI · in the page settings-reference …This reference page lists each key Claude Code reads from a settings file, plus the [short group of keys](#global-config-settings) it keeps in `~/.claude.json` instead. To pick a file, or check prece… Advanced setup Claude Code CLI · in the page setup …Claude Code can't find Git Bash, set the path in your [settings.json file](https://code.claude.com/docs/en/settings.md): ```json theme={null} { "env": { "CLAUDE_CODE_GIT_BASH_PATH": "C… Share a cloud or Remote Control session Claude Code CLI · in the page share-sessions …uch as: * **Messages**: your prompts, images you added, the names of files you attached, and Claude's replies and thinking * **Code and commands**: file contents that Claude read, wrote, or edited, a… Get a pull request ready with /ship and /steward Claude Code CLI · in the page ship-command …on-another-host). Before v2.1.331, no watch starts there * **Only the files that you want in the pull request, for `/ship`**: `/ship` can commit all your uncommitted changes, new files included. In yo… Troubleshoot /ship and /steward Claude Code CLI · in the page ship-command-troubleshooting …lists the settings that loaded. In each one that's your own [settings file](https://code.claude.com/docs/en/settings.md#find-or-create-your-settings-files), remove [`disableBundledSkills`](https://cod… Extend Claude with skills Claude Code CLI · in the page skills …undled skills. Skills 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 `… Customize your status line Claude Code CLI · in the page statusline …ns describing what you want displayed. Claude Code generates a script file in `~/.claude/` and updates your settings automatically: ```text theme={null} /statusline show model name and context percen… Create custom subagents Claude Code CLI · in the page sub-agents …task would flood your main conversation with search results, logs, or file contents you won't reference again: the subagent does that work in its own context and returns only the summary. Define a cus…
Feedback