Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

924 pages for files.

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

Mods reference Claude Code CLI · in the page plugins/mods/reference …n](/docs/en/plugins/mods/create.md#get-the-types-for-your-build). ## Files A mod is a plugin directory with these files: | File | Required | Contents | | :- | :- | :- | | `.claude-plugin/plugin.jso… Test a mod Claude Code CLI · in the page plugins/mods/test …clares no test(): nothing ran`. A test file can import your mod's own files and sibling `.ts` helpers, so you can unit test plain functions, such as a game's rules, without the kit. This test fires t… 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. For the first, in your shell run [`claude plugin validate`](/docs/en/plugin… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …anaged-settings.json` at the platform's system path. You can also add files to the `managed-settings.d/` drop-in directory beside it. The file paths per platform are in [Where each mechanism stores th… Plugins overview Claude Code CLI · in the page plugins/overview …h layer, including which settings file takes precedence and where the files are on disk. ## Tell Anthropic's marketplaces from third-party ones A marketplace's name places it in one of three tiers.… 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](/docs/en/plugins/manifest-reference.md#path-rules). **4. Install it from a… 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](/docs/en/plugins/loading.md#when-auto-update-runs) has the timing.… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …ls map to the same folder too. Installing both would put one plugin's files in the other's folder, so Claude Code refuses and the installed plugin keeps its files. The message names the way out: * *… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …running session until `/clear`, `/compact`, or a restart. * [Editing files in your repository](#editing-files-in-your-repository) * [Editing CLAUDE.md mid-session](#editing-claude-md-mid-session) * [… Prompt library Claude Code CLI · in the page prompt-library …cat: 'Understand', roles: ['pm', 'design'], prompt: 'which files would I need to touch to {change}?', slots: { change: 'add a dark mode toggle to settings' }, src: 'teams'… 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 …ation * If the publish carries more than the page, such as supporting files, you own the artifact * The artifact isn't shared publicly * If the artifact is shared with specific people or your organiza… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …also does not change what is sent to the model. Your prompts and the files Claude reads are transmitted to the Anthropic API or your configured provider with or without a sandbox. See [Data usage](/d… 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 …eptions](/docs/en/scheduled-tasks.md#limitations) | | Access to local files | No (fresh clone) | Yes | Yes | | MCP servers | Connectors configured per task | [Config files](/docs/en/mcp.md) and connec… 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 …dangerouslySetInnerHTML`, `.innerHTML =`, `document.write` * Workflow files: edits under `.github/workflows/`, which can grant repository-level permissions The check runs after the edit lands and app… 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 …e](/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 …r>/<repo>` as its own clone, and can reset it and overwrite or delete files in it. If the runner can't create or write to the base directory, it exits at startup with an error naming the directory in… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …-sec` hold, runs the same as without the flag. Name a path on a local filesystem that sessions can't write to. Requires Claude Code v2.1.271 or later. | | `--drain-wait-sec <n>` | `SELF_HOSTED_RUNNER_… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …aude/`, which the runner seeds into every session. ### Save the hook files Save the two files below on the runner host: * The settings block: merge into `~/.claude/settings.json` on the runner host… 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 …as `~/.claude` resolve to `%USERPROFILE%\.claude`. *** ## Settings files The `settings.json` file is the official mechanism for configuring Claude Code through hierarchical settings: * **User set… All settings Claude Code CLI · in the page settings-reference …n` instead. To pick a file, or check precedence, start with [Settings files and precedence](/docs/en/settings.md). ## Settings index Every key below links to its entry. Scope lists the [files](/docs… Advanced setup Claude Code CLI · in the page setup …ull} { "env": { "CLAUDE_CODE_GIT_BASH_PATH": "C:\\Program Files\\Git\\bin\\bash.exe" } } ``` When Git for Windows is installed, the PowerShell tool is available alongside Bash: on… Extend Claude with skills Claude Code CLI · in the page skills …te `/deploy` and work the same way. Your existing `.claude/commands/` files keep working. Skills add optional features: a directory for supporting files, frontmatter to [control whether you or Claude… Claude Code in Slack Claude Code CLI · in the page slack …o need visibility. **Use the web directly when**: You need to upload files, want real-time interaction during development, or are working on longer, more complex tasks. ## Troubleshooting ### "This… Customize your status line Claude Code CLI · in the page statusline …Show git branch with color-coded indicators for staged and modified files. This script uses [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) for terminal colors: `\033[32m`… Create custom subagents Claude Code CLI · in the page sub-agents …a restricted tool set. Explore and Plan start without your CLAUDE.md files and the git status snapshot to keep research fast and inexpensive. Other built-in and [custom subagents](#configure-subagent… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …ey now labeled Option or Alt. **Apple Terminal** Open Settings → Profiles → Keyboard and check "Use Option as Meta Key". If you accepted Claude Code's first-run terminal setup prompt, this is alrea… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …de Code understands your codebase. Organizations can deploy CLAUDE.md files at multiple levels. See [where CLAUDE.md files can live](/docs/en/memory.md#choose-where-to-put-claude-md-files) and [how to… Tools reference Claude Code CLI · in the page tools-reference …ed scheduled tasks | No | | `Edit` | Makes targeted edits to specific files. See [Edit tool behavior](#edit-tool-behavior) | Yes | | `EndConversation` | Ends the session, in rare cases of sustained ab… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …directory to your PATH](#verify-your-path) | | `INFO: Could not find files for the given pattern(s).` from `where.exe claude` | [Check whether Claude Code is installed](#check-for-conflicting-install… Troubleshooting Claude Code CLI · in the page troubleshooting …bug-your-config.md) | | Session started in auto mode, or Claude edits files and runs commands without asking | [Which mode a session starts in](/docs/en/permission-modes.md#which-mode-a-session-starts… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …the checkout requirements, and what happens to uncommitted changes in files named like credentials or keys, such as `.env` and `*.tfvars` files. When you [review a pull request](#review-a-pull-request… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …before accepting them * Auto-accept edits as they're made * @-mention files with specific line ranges from your selection * Access conversation history * Open multiple conversations in separate tabs o… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …e proposes an approach and waits for you to approve it before editing files Cloud sessions don't offer Manual or Bypass permissions. See the [full list of permission modes](/docs/en/permission-modes.… Week 14 · March 30 – April 3, 2026 Claude Code CLI · in the page whats-new/2026-w14 …om skills, custom commands, and plugin commandsEdit tool now works on files viewed via `cat` or `sed -n` without a separate ReadHook output over 50K saved to disk with a path + preview instead of inje… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …e JSON input`CLAUDE_CODE_PERFORCE_MODE`: Edit/Write fail on read-only files with a `p4 edit` hint instead of silently overwritingOS CA certificate store is now trusted by default, so enterprise TLS pr… Week 17 · April 20–24, 2026 Claude Code CLI · in the page whats-new/2026-w17 …nd switch between named color themes from `/theme`, or hand-edit JSON files in `~/.claude/themes/`. Each theme picks a base preset and overrides only the tokens you care about. Plugins can ship themes… Week 18 · April 27 – May 1, 2026 Claude Code CLI · in the page whats-new/2026-w18 …s prompts for writes to `.claude/`, `.git/`, `.vscode/`, shell config files, and other previously protected paths, while catastrophic removal commands still prompt as a safety netThe `/model` picker c… Week 23 · June 1–5, 2026 Claude Code CLI · in the page whats-new/2026-w23 …Cloud's Agent Platform, and Microsoft Foundry, prompt before writing files that can run code in acceptEdits mode, list installed plugins with /plugin list, and require an approved version range for m… Week 24 · June 8–12, 2026 Claude Code CLI · in the page whats-new/2026-w24 …e blocks themAmazon Bedrock reads the AWS region from `~/.aws` config files when `AWS_REGION` is unset, and `/status` shows where the region came fromNew `enforceAvailableModels` managed setting makes… Week 25 · June 15–19, 2026 Claude Code CLI · in the page whats-new/2026-w25 …terSkills in nested `.claude/skills` directories load when working on files there; on a name clash the nested skill appears as `<dir>:<name>` so both stay availableFixed prompt caching not reading on… Week 26 · June 22–26, 2026 Claude Code CLI · in the page whats-new/2026-w26 …redentials` setting blocks sandboxed commands from reading credential files and secret environment variablesOrg-configured model restrictions now apply to the model picker, `--model`, `/model`, and `A…
Feedback