Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,063 pages for prompt.

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

Customize keyboard shortcuts Claude Code CLI · in the page keybindings …nts | | `Plugin` | Plugin dialog (browse, discover, manage) | | `AbovePrompt` | The [band above the prompt](#above-prompt-actions), or a button in it, has keyboard focus | | `AbovePromptInput` | An in… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …rminal, start Claude Code by running `claude`, then enter this at its prompt to install the TypeScript plugin: ```shell theme={null} /plugin install typescript-lsp@claude-plugins-official ``` If the… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …). **3. Send a test message** Close the `/status` menu and send any prompt in Claude Code. A normal response from Claude, with no error, confirms the gateway connection works. If both lines in the… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …stall detection, retries, and usage limit display work * The [system prompt attribution block](#system-prompt-attribution-block) and how it interacts with prompt caching * [Feature pass-through](#fea… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …) * **Exempt the path from request-body WAF inspection**: Claude Code prompts carry source code and XML-style tags that match cross-site-scripting body rules; a WAF in front of the gateway returns `40… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …ach user's first launch of a version that doesn't check them, with no prompt or notice. ### Validate the configuration To confirm the file is in effect, run two checks on a managed machine: 1. `cla… Deploy managed settings Claude Code CLI · in the page managed-settings …al. In a Cowork session that asks before edits, Cowork can't show the prompt, and Claude reports each write as blocked because the path resolves to a protected location or a path outside the connected… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …connecting it. Servers that fetch external content can expose you to [prompt injection risk](https://code.claude.com/docs/en/security.md#protect-against-prompt-injection). To build your own server, s… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …s ``` > [!NOTE] > > You don't normally need to name a server in your prompt, since Claude chooses relevant tools on its own. Naming it here guarantees the demonstration goes through the new server ra… How Claude remembers your project Claude Code CLI · in the page memory …or conflicting instructions. To have Claude find them for you, [run a prompt audit](#audit-your-instruction-files). #### Audit your instruction files To have Claude check your instruction files for… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …hird-party-deployments) for the full list of environment variables. [Prompt caching](https://code.claude.com/docs/en/prompt-caching.md) is enabled automatically. To request a 1-hour cache TTL instead… Claude Code on mobile Claude Code CLI · in the page mobile …r when it needs a decision from you. You can also ask for one in your prompt, such as `notify me when the tests finish`. See [mobile push notifications](https://code.claude.com/docs/en/remote-control.… Model configuration Claude Code CLI · in the page model-config …Skip the verification reminders**: it verifies its own work with less prompting, so reminders to test or check are usually unnecessary. * **Size up larger tasks**: give it work you would normally brea… Monitoring Claude Code CLI · in the page monitoring-usage …de emits when a session starts. To verify 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>`… Enterprise network configuration Claude Code CLI · in the page network-config …, and for a subagent's response in any session, Claude Code may first prompt Claude to continue the cut-off response; [that notice's entry](https://code.claude.com/docs/en/errors.md#the-response-above… Output styles Claude Code CLI · in the page output-styles …with you for a whole session, so you don't repeat the request in each prompt. For example, a built-in style can make responses shorter, add an explanation of each change, or have Claude start work wit… Overview Claude Code CLI · in the page overview …https://claude.ai/install.sh | bash > > ``` > > > > On Windows, your prompt shows `PS C:\` when you're in PowerShell and `C:\` without the `PS` when you're in CMD. > > > > **Windows PowerShell:** > >… Choose a permission mode Claude Code CLI · in the page permission-modes …, run shell commands, or reach the network. In [auto mode](#eliminate-prompts-with-auto-mode), a second model, the classifier, reviews actions instead of you; [how the classifier evaluates actions](#h… Configure permissions Claude Code CLI · in the page permissions …search | WebSearch | Yes | Permanently per repository | A permission prompt shows what Claude is about to do, followed by your options. This example is the prompt for a Bash command, from a session i… Platforms and integrations Claude Code CLI · in the page platforms …laude.com/docs/en/scheduled-tasks.md#compare-scheduling-options): run prompts on a recurring schedule Test plugins with evals Claude Code CLI · in the page plugin-evals …suite of test cases and scores the results. Each case is a realistic prompt plus one or more graders. A grader is a pass/fail check on what Claude produced, such as a regex over the reply, whether a… 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 …plugin install <plugin> [options] ``` Most plugins install without a prompt. For a plugin whose marketplace entry [runs a command to install it](https://code.claude.com/docs/en/plugins/host-marketpla… Code intelligence plugins Claude Code CLI · in the page plugins/code-intelligence …rminal, start Claude Code by running `claude`, then enter this at its prompt, replacing `typescript-lsp` with the plugin the step 1 table lists for your language: ``` /plugin install typescript-lsp@c… Add components to a plugin Claude Code CLI · in the page plugins/components …ns the plugin's metadata and the `userConfig` values that Claude Code prompts the user for. Claude Code loads a plugin without one. Inside the file, only `name` is required. In this one, `description`… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …loading or unloading a plugin mid-conversation would [invalidate the prompt cache](https://code.claude.com/docs/en/prompt-caching.md#enabling-or-disabling-a-plugin), the change is held instead, and t… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …sibling plugin. On Windows, use `mklink /D` from an elevated Command Prompt or enable Developer Mode: ```bash theme={null} ln -s ../../shared-plugin/skills/foo ./skills/foo ``` ## Distribute throug… Install and manage plugins Claude Code CLI · in the page plugins/install …de Code runs that reload for you. If the reload would [invalidate the prompt cache](https://code.claude.com/docs/en/prompt-caching.md#enabling-or-disabling-a-plugin), it warns and leaves the plugin pe… Plugin loading reference Claude Code CLI · in the page plugins/loading …update` ends with `Restart to apply changes.` and background updates prompt you with `Run /reload-plugins to apply` ### Plugins and marketplaces that aren't on disk at session start Plugins load at… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …a and the [`userConfig`](#user-configuration) values that Claude Code prompts the user for. It also declares any component that you define inline or keep outside its [default location](#standard-layou… Measure plugin cost and usage Claude Code CLI · in the page plugins/measure …details) with the plugin's name. You run it in your shell, not at the prompt of a running Claude Code session. The plugin has to be loaded: installed, in a skills directory, or passed with `--plugin-d… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …od can't change what your managed hooks receive or decide, the system prompt, your managed `CLAUDE.md` and other managed instructions, what any mod reads as settings, or the tools and descriptions of… Use the mods API Claude Code CLI · in the page plugins/mods/api …rence#session) hook. Claude Code waits for that hook before the first prompt, so what you register is available from the first turn. ### Add a command A command is for the user. Register it, then ha… Create a mod Claude Code CLI · in the page plugins/mods/create …an load it yourself by running `/plugin-authoring` at the Claude Code prompt. The mod runs once you approve it, except in [sessions where a mod Claude writes can't load](#sessions-that-skip-the-appro… React to events with a mod Claude Code CLI · in the page plugins/mods/events …laude Code events from a mod: observe, rewrite, or answer tool calls, prompts, and turns, filter which events a hook handles, and plan for other mods. A hook is an event handler: a function that Clau… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …ranscript in a wide fullscreen terminal, or a framed region above the prompt otherwise. **1. Create the mod** Create a directory named `gallery` with `.claude-plugin` and `hooks` directories inside… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface # Draw in the interface with a mod > Draw panes, a band above the prompt, buttons, and text fields from a Claude Code mod, handle presses and input, and keep state between redraws and sessions. A mo… Mods overview Claude Code CLI · in the page plugins/mods/overview …ode calls one when an event happens, such as a tool call, a submitted prompt, or a part of the interface being drawn, and the handler can watch the event, change it, or take it over. Use a mod to add… Mods reference Claude Code CLI · in the page plugins/mods/reference …l.check`, `e.isReadOnly` requires Claude Code v2.1.304 or later. ### Prompts and what Claude reads Prompt events cover the text the user types and the text Claude Code sends to Claude on its own, su… Test a mod Claude Code CLI · in the page plugins/mods/test …ool: 'Bash', command: 'ls' })` fires `tool.call`. `$.command.run`, `$.prompt.submit`, `$.session.start`, and `$.turn.complete` work the same way, and `$.classic.Stop` and the other `$.classic` methods… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …rectory you opened for the first time You haven't answered the trust prompt for the directory. Start an interactive session in that directory with `claude`, and accept the trust prompt it opens with… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …runs with git on the user's machine, using stored credentials and no prompts. For users without git-host accounts, use a [seed](#seed-containers-and-ci) instead. A managed entry also overrides a sam… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …from your CLI](https://code.claude.com/docs/en/plugins/cli-hints.md): prompt Claude Code users of your CLI to install the plugin * [Measure plugin cost and usage](https://code.claude.com/docs/en/plugi… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …from your CLI](https://code.claude.com/docs/en/plugins/cli-hints.md): prompt users from your own CLI instead of from Claude Code's session signals * [Manage plugins for your organization](https://code… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …such file or directory: /plugin` You typed `/plugin ...` at a shell prompt, and the shell reported that no file named `/plugin` exists. Bash reports `bash: /plugin: No such file or directory`. `/pl… Quickstart Claude Code CLI · in the page quickstart …t. ## Before you begin Make sure you have: * A terminal or command prompt open * A code project to work with * A [Claude subscription](https://claude.com/pricing?utm_source=claude_code\&utm_medium=… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …laude.com/docs/en/vs-code.md), type `/remote-control` or `/rc` in the prompt box. > > ```text theme={null} > /remote-control > ``` > > While Remote Control is on, Claude Code shows a **Remote Control*… Automate work with scheduled tasks Claude Code CLI · in the page routines …led task, formerly a routine, is a saved Claude Code configuration: a prompt, one or more repositories, and a set of [connectors](https://code.claude.com/docs/en/mcp.md), packaged once and run automat… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …ork. This matters most when you let Claude work with fewer permission prompts, run it unattended, or point it at code you do not fully trust. Claude Code can run in several kinds of isolated environm… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing ….claude.com/docs/en/sandbox-environments.md) > * To reduce permission prompts for tools other than Bash, see [permission modes](https://code.claude.com/docs/en/permission-modes.md) ## What the sandbo…
Feedback