686 pages for input.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…f a [hook](https://code.claude.com/docs/en/hooks.md#pretooluse-updatedinput-in-auto-mode) or [mod](https://code.claude.com/docs/en/plugins/mods/overview.md) changes an action's input after the server'…
Configure permissions
Claude Code CLI · in the page
permissions
…example.com)` | Matches fetch requests to example.com | ### Match by input parameter Deny and ask rules can match a top-level input parameter on any built-in tool with `Tool(param:value)`. To match…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…okes it by: ```markdown theme={null} --- type: tool_used tool: Skill input_match: '"skill"\s*:\s*"(?:[\w-]+:)?your-skill-name"' --- ``` This passes when Claude invoked that skill at least once durin…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…e object carries the options' `schema` and `choices`, their starting `inputs`, and the `configured` and `unconfigured` option names. With `--values-stdin`, it carries the `saved` option names and, whe…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…ode changes for security issues. Use after edits to authentication or input handling. model: sonnet --- You are a security reviewer. Read the changed files and report injection, authentication, and s…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…, "hooks": [{ "type": "command", "command": "f=$(jq -r '.tool_input.file_path') && npm run lint:fix -- \"$f\"" }] } ] } } ``` **4. Test the migrated plugin** Load the plugin for…
Create a marketplace
Claude Code CLI · in the page
plugins/create-marketplace
…syntax: <reason>` * Missing required fields, such as `owner: Invalid input` * A marketplace or plugin name that breaks the naming rules in the [marketplace reference](https://code.claude.com/docs/en/…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…`, allows an array of strings | | `sensitive` | No | If `true`, masks input and stores the value in secure storage instead of `settings.json` | | `min` / `max` | No | Bounds for `number` | Each optio…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…lace source type with its fields, the `claude plugin marketplace add` input that produces it, and what it does in each of the three settings keys. | Type | Fields | `marketplace add` input | `extraKn…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…it with a name, a description Claude reads, and a JSON Schema for its input. Claude sees it under a longer name made of `mcp__`, your plugin's name, two underscores, and the name you registered. You h…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…ch as `$.ui` and `$.command` * **The event**, named `e`: the [event's input](https://code.claude.com/docs/en/plugins/mods/events.md#how-a-hook-handles-an-event) as plain data, such as a tool call's na…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…in: '*' }` for every mod. Without `plugin`, a hook on `ui.press`, `ui.input`, `ui.select`, or `ui.focus` doesn't run for other mods' controls, and a `ui.render` hook skips their panes and their rows a…
Interface gallery for mods
Claude Code CLI · in the page
plugins/mods/gallery
…equestId !== 'gallery') return next(e) const { Box, Text, Button, Input, Select, Link, Markdown, Code, Raster, Svg } = $.ui.resolve(e) // Replace the element after return with a sample ret…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…, buttons, and text fields from a Claude Code mod, handle presses and input, and keep state between redraws and sessions. A mod can draw its own interface in Claude Code and change parts of the inter…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…numbers, and a `format: 'diff'` block shows the diff's raw text * **`Input` and `Select`**: `autoFocus`, and `rows` on an `Input` * **`Svg`**: `isInteractive` The terminal also ignores `size`, `mono…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…isAnswered: true, text: 'PASS\nNice sentence.', usage: { input_tokens: 10, output_tokens: 5, cache_read_input_tokens: 0, cache_creation_input_tokens: 0 }, }, })) // Run /grade, w…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…d a tool call it touched is refused. ### `a hook changed this call's input after the model wrote it` In auto mode, a denied tool call gives this reason. A hook changed the tool call's input after th…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…ors:`**: the file parses but fails the schema, such as `name: Invalid input` for a missing required field `claude plugin install` reports either as `Failed to install plugin "<name>@<marketplace>":`…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…d keeps it there until Claude Code exits. The block bills as uncached input; your conversation stays cached. * **Removes the markers while returning success**: your entire conversation history bills a…
Prompt library
Claude Code CLI · in the page
prompt-library
…dlc: 'design', cat: 'Plan', roles: ['pm'], prompt: 'read {input} and write up the action items, then create a ticket in {tracker} for each one, with acceptance criteria', slots: {…
Quickstart
Claude Code CLI · in the page
quickstart
…ibe what you want in natural 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 c…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…y` saves the choice, except in your home directory. When its standard input or output isn't a terminal, the command can't ask and exits with a [`Workspace not trusted`](https://code.claude.com/docs/en…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…session on your account. The fired prompt is therefore not live user input and can't act as approval or consent for actions during the run. Content the session fetches during the run keeps its normal…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…an [ask rule](https://code.claude.com/docs/en/permissions.md#match-by-input-parameter) for `Bash(dangerouslyDisableSandbox:true)` to be prompted on Bash retries. You get the prompt in auto mode and `b…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…UserFile` tool](https://code.claude.com/docs/en/tools-reference). Put input files in the repository or on the runner instead. * **Model selection**: Anthropic's control plane sends each session's mode…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…he command can't read from the keyboard when you pipe or redirect its input on Windows, or on macOS and Linux when it also can't open `/dev/tty`. If you pipe or redirect its output too, the run is non…
Manage sessions
Claude Code CLI · in the page
sessions
…sion when the command line has any of these: * Piped or redirected input or output * Flags that configure the session, such as `--permission-mode`, `--model`, or `--settings` * Flags that read…
Claude Code settings
Claude Code CLI · in the page
settings
…"powershell"` on Windows when Bash isn't available. Default shell for input-box `!` commands. Accepts `"bash"` or `"powershell"`. Setting `"powershell"` routes interactive `!` commands through PowerSh…
All settings
Claude Code CLI · in the page
settings-reference
…//code.claude.com/docs/en/interactive-mode.md#vim-editor-mode) in the input prompt | Interface and terminal | Any file | | [`effortLevel`](#effortlevel) | Set a default [effort level](https://code.cla…
Extend Claude with skills
Claude Code CLI · in the page
skills
…ropose savings from options such as prompt caching, trimming unneeded input and output tokens, batch processing, effort, and model choice, one change at a time | v2.1.247 or later | | `latency-optimiz…
Customize your status line
Claude Code CLI · in the page
statusline
…ds instead of a script file. This example uses `jq` to parse the JSON input and display the model name and context percentage: ```json theme={null} { "statusLine": { "type": "command", "com…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…--agents` or the SDK `agents` option, since those are explicit caller input. #### Trust required for inline MCP servers Claude Code loads an [inline MCP server](#scope-mcp-servers-to-a-subagent) fro…
Configure your terminal for Claude Code
Claude Code CLI · in the page
terminal-config
…code.claude.com/docs/en/hooks-guide.md#get-notified-when-claude-needs-input) to play a sound or run a custom command when Claude needs your attention. Hooks run alongside the built-in notification rat…
Tools reference
Claude Code CLI · in the page
tools-reference
…dConversation` | Ends the session, in rare cases of sustained abusive input or when you ask Claude to end the session and then confirm. See [EndConversation tool behavior](#endconversation-tool-behavi…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…does nothing, your terminal's paste binding likely isn't reaching the input field. Try your terminal's alternate paste shortcut, often right-click or Shift+Insert in Windows Terminal, or use `claude a…
Voice dictation
Claude Code CLI · in the page
voice-dictation
…the Claude Code CLI. Your speech is transcribed live into the prompt input, so you can mix voice and typing in the same message. Enable dictation with `/voice`, then either hold a key while you speak…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…d, click a block or press `Ctrl+O` to expand them all. * **Multi-line input**: press `Shift+Enter` to add a new line without sending. This also works in the "Other" free-text input of question dialogs…
Get started with Claude Code in the cloud
Claude Code CLI · in the page
web-quickstart
…tab in the Claude mobile app, click the repository selector below the input box and choose a repository for Claude to work in. You can add multiple repositories to work across them in one session. At…
Orchestrate subagents at scale with dynamic workflows
Claude Code CLI · in the page
workflows
…ll set of controls. You can also watch from the task panel below the input box: a one-line progress summary appears there while the run is going. Press the down arrow to focus it, then Enter to expan…
Run parallel sessions with worktrees
Claude Code CLI · in the page
worktrees
…heckout. > * **`cwd` follows Claude**: the `cwd` field in the hook's [input JSON](https://code.claude.com/docs/en/hooks.md#common-input-fields) is the worktree root, and it moves again when Claude run…
Zero data retention
Claude Code CLI · in the page
zero-data-retention
…s flagged for a policy violation, Anthropic may retain the associated inputs and outputs for up to 2 years, consistent with Anthropic's standard ZDR policy. ## Request ZDR To request ZDR for Claude…
Admin controls for the Claude Science desktop app
Claude Documentation · in the page
claude-science/admin-controls
…figuration and keys and installs nothing on the host. Job scripts and inputs travel directly from the member's computer to the host, and outputs come back the same way, without passing through Anthrop…
Claude Science desktop app changelog
Claude Documentation · in the page
claude-science/changelog
…shows its close button * Newly saved artifacts now list more of their input files in Provenance when the code that created them read many files * Linux: Claude Science now detects an NVIDIA GPU only i…
Compute providers in the Claude Science desktop app
Claude Documentation · in the page
claude-science/compute-providers
…cience/admin-controls.md#network-allowlist)). ## Running cloud jobs Input files are limited to 1 GiB per submit. For larger inputs, Claude can stage data to a Modal Volume and mount it into the job.…
How the Claude Science desktop app works with your data
Claude Documentation · in the page
claude-science/how-claude-science-works-with-your-data
…itted by applicable law, your organization "retains all rights to its Inputs" and "owns its Outputs," including the analyses, code, and results your researchers produce with Claude Science. Anthropic…
Remote compute clusters in the Claude Science desktop app
Claude Documentation · in the page
claude-science/remote-compute-clusters
…*This project**, or **Global** scope. On approval, the job script and inputs are copied to a job directory under the scratch directory. > [!WARNING] > > Remote jobs run outside the sandbox, as your u…
Troubleshoot the Claude Science desktop app
Claude Documentation · in the page
claude-science/troubleshooting
…r another name. * **To build, or to run a tool that writes beside its input**: ask Claude to copy the needed files to the session's [temporary](#a-file-that-claude-made-is-gone) workspace folder and w…
Connect a service that isn't in the list
Claude Documentation · in the page
claude-tag/admins/connections/custom
…n fail with the error "Failed to create egress credential. Check your inputs and try again." The message doesn't name the cause. Start by checking these values, then save again: * **Allowed websites*…
Turn threads into docs and tickets
Claude Documentation · in the page
claude-tag/users/use-cases/create-artifacts
…ack up from the link it posted. ### Keep a capture channel Planning inputs arrive over a month, not in one sitting. Forward messages and ideas to one channel as you find them, then ask for a synthes…
Support file uploads and downloads
Claude Documentation · in the page
connectors/building/files
…Save to folder", "readOnlyHint": false, "destructiveHint": true }, "inputSchema": { "type": "object", "properties": { "folderId": { "type": "string" }, "file": { "type":…