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

1,054 pages for script.

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

Data usage Claude Code CLI · in the page data-usage …d, we may use your feedback to improve our products and services. Transcripts shared via `/feedback`, or via `/bug` and `/share`, which report through the same path, are retained for 5 years. With [C… Debug your configuration Claude Code CLI · in the page debug-your-config …. Run it first to confirm whether your `CLAUDE.md`, rules, or skill descriptions are present at all. The skills section in `/context` also includes [bundled skills](/docs/en/skills.md#bundled-skills),… Launch sessions from links Claude Code CLI · in the page deep-links …the session starts and what the prompt box contains: | Parameter | Description | | - | - | | `q` | Text to pre-fill in the prompt box. [URL-encode](https://developer.mozilla.org/en-US/docs/Web/JavaSc… Desktop application Claude Code CLI · in the page desktop …iew modes View modes control how much detail appears in the chat transcript. To switch view modes, open the session menu from the caret beside the session title and select **Transcript view**, or pre… Test iOS apps in the simulator Claude Code CLI · in the page desktop-ios-simulator …e. * Building the app, because `xcodebuild` runs your project's build scripts on your Mac. Checking on a build already in progress doesn't prompt. ### Turn off simulator access You can turn Claude's… Claude Desktop on Linux (beta) Claude Code CLI · in the page desktop-linux …pp signs in the same way as on macOS and Windows: with a claude.ai subscription, or through your organization's SSO. For API-key authentication, use the [CLI](/docs/en/quickstart.md). To use Desktop w… Get started with the desktop app Claude Code CLI · in the page desktop-quickstart …ssion there. Claude Code requires a [Pro, Max, Team, or Enterprise subscription](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=desktop_quickstart_pricing). > **[Down… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …**Edit** form](#manage-scheduled-tasks). There you can change the **Description** that Desktop filled in from your instructions, select **Worktree**, or switch the schedule to **Manual** or **Custom**… Development containers Claude Code CLI · in the page devcontainer …he version tag at the end, such as `:1.0`, pins the feature's install script, not the Claude Code release. The feature installs the latest Claude Code, and Claude Code auto-updates itself inside the c… Environment variables Claude Code CLI · in the page env-vars …s key is used instead of your Claude Pro, Max, Team, or Enterprise subscription even if you are logged in. In non-interactive mode (`-p`), the key is always used when present. In interactive mode, you… Error reference Claude Code CLI · in the page errors …nnot-determine-the-safety-of-an-action) | | `Auto mode classifier transcript exceeded context window` | [Server errors](#auto-mode-cannot-determine-the-safety-of-an-action) | | `Agent aborted: auto mo… Speed up responses with fast mode Claude Code CLI · in the page fast-mode …0/\$50 on Opus 5 and Opus 4.8. * Available to Claude Code users on subscription plans (Pro/Max/Team/Enterprise) and on Claude Console. Team and Enterprise organizations need an Owner to enable it firs… Feature availability Claude Code CLI · in the page feature-availability …Compare which Claude Code features are available across Anthropic subscription plans, the Anthropic Console, Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, and Microsoft Found… Extend Claude Code Claude Code CLI · in the page features-overview …Dynamic workflows](/docs/en/workflows.md)** run many subagents from a script Claude writes, returning one result * **[Cross-session messaging](/docs/en/cross-session-messaging.md)** lets Claude pass a… Fullscreen rendering Claude Code CLI · in the page fullscreen …laude Code relaunches from the rewound point, not from the longer transcript saved on disk. For example, if you rewound past your last three messages, the relaunched session opens without them * If… Run Claude Code through a gateway Claude Code CLI · in the page gateways …dy run](#choose-a-gateway) * [How gateways interact with claude.ai subscriptions](#subscriptions-and-gateways) * [What's configured separately from the gateway](#configure-separately-from-the-gateway)… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …rwise, choose between creating a long-lived token with your Claude subscription and pasting in an API key Claude Code saves the credential as a repository secret, named `ANTHROPIC_API_KEY` for an API… Use Claude Code GitHub Actions with cloud providers Claude Code CLI · in the page github-actions-cloud-providers …nd `bedrock:GetInferenceProfile`, along with two `aws-marketplace` subscription actions * Limit the role's trust policy to your repository with a subject condition such as `repo:your-org/your-repo:*`.… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …tLab pipeline, Claude Code can: * Create and update MRs from issue descriptions or comments * Analyze performance regressions and propose optimizations * Implement features directly in a branch, then… Glossary Claude Code CLI · in the page glossary …ills in a directory you pass with `--add-dir`. Recommended for CI and scripted calls where you need the same result on every machine. Learn more: [Start faster with bare mode](/docs/en/headless.md#st… Keep Claude working toward a goal Claude Code CLI · in the page goal …-guide.md#prompt-based-hooks) | The previous turn finishes | Your own script or prompt decides | `/goal` and a Stop hook both fire after every turn. `/goal` is a session-scoped shortcut: you type a c… Claude Code on Google Cloud's Agent Platform Claude Code CLI · in the page google-vertex-ai …h environment variables instead of the wizard, for example in CI or a scripted enterprise rollout, follow the steps below. ### 1. Enable Agent Platform API Enable Google Cloud's Agent Platform API i… Run Claude Code programmatically Claude Code CLI · in the page headless …SDK to run Claude Code programmatically from the CLI, Python, or TypeScript. The [Agent SDK](/docs/en/agent-sdk/overview.md) gives you the same tools, agent loop, and context management that power C… Set up Claude Code (local mode) for a HIPAA-ready organization Claude Code CLI · in the page hipaa-setup …### Code tab data The Code tab stores data in these places: * **Transcripts**: in `~/.claude/projects/`, alongside terminal transcripts. [Cleaned up automatically](/docs/en/claude-directory.md#clean… Hooks reference Claude Code CLI · in the page hooks …P hooks, and MCP tool hooks. A plugin can also register hooks as JavaScript functions that Claude Code calls in its own process, which can draw in the interface as well as act on events. A plugin tha… Automate actions with hooks Claude Code CLI · in the page hooks-guide …ook. If the file doesn't exist, create it. The example below uses `osascript` for macOS; see [Get notified when Claude needs input](#get-notified-when-claude-needs-input) for Linux and Windows command… How Claude Code works Claude Code CLI · in the page how-claude-code-works …you could run: build tools, git, package managers, system utilities, scripts. If you can do it from the command line, Claude can too. * **Your git state.** Current branch, uncommitted changes, and re… Interactive mode Claude Code CLI · in the page interactive-mode …[fullscreen rendering](/docs/en/fullscreen.md), press `?` in the transcript viewer to see available shortcuts there. > > **macOS users**: Option/Alt key shortcuts (`Alt+B`, `Alt+F`, `Alt+D`, `Alt+Y`,… JetBrains IDEs Claude Code CLI · in the page jetbrains …tting](#general-settings). Claude Code works with any paid Claude subscription (Pro, Max, Team, or Enterprise) or a Claude Console account, and no API key is required. You'll be prompted to [log in](… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …lly detected and applied without restarting Claude Code. | Field | Description | | :- | :- | | `$schema` | Optional JSON Schema URL for editor autocompletion | | `$docs` | Optional documentation URL… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …ply in every package: ```markdown CLAUDE.md theme={null} Run package scripts from the package directory, not the monorepo root. Prefix commit subjects with the package name, for example `api: add rat… Legal and compliance Claude Code CLI · in the page legal-and-compliance …nd user must authenticate with their own Anthropic API key, Claude subscription plan credentials, or 3P inference provider credential (Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry)… Other LLM gateways Claude Code CLI · in the page llm-gateway …which variable to pin. Requires Claude Code v2.1.285 or later. ## Subscriptions and gateways While a [gateway credential variable](/docs/en/llm-gateway-connect.md#set-the-credential-variable) or `ap… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …`env` option that sets the spawned process's environment, and the TypeScript and Python SDKs treat it differently: * TypeScript: the spawned process inherits the parent environment by default, but se… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …outing, attribution, and tracing, and need not forward. | Header | Description | | :- | :- | | `Authorization`, `x-api-key` | The developer's gateway credential, in one or both headers depending on w… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …de prompts carry source code and XML-style tags that match cross-site-scripting body rules; a WAF in front of the gateway returns `403` on real sessions while short test requests pass Optionally, ser… Deploy managed settings Claude Code CLI · in the page managed-settings …s, the desktop app's Code tab, and [Agent SDK](/docs/en/agent-sdk/typescript.md) sessions read all of these sources. Agent SDK sessions load managed settings even when `settingSources` excludes the us… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …s [`mcp_server_errors` field](/docs/en/headless#stream-responses), so scripts can detect that the server never loaded. This requires Claude Code v2.1.219 or later. ### Option 2: Add a remote SSE serv… How Claude remembers your project Claude Code CLI · in the page memory ….claude/rules/` directory. Each file should cover one topic, with a descriptive filename like `testing.md` or `api-design.md`. All `.md` files are discovered recursively, so you can organize rules int… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …g Claude Code with Microsoft Foundry, ensure you have: * An Azure subscription with access to Microsoft Foundry * RBAC permissions to create Microsoft Foundry resources and deployments * Azure CLI in… Claude Code on mobile Claude Code CLI · in the page mobile …organization may not include these features; see [availability by subscription plan](/docs/en/feature-availability.md#availability-by-subscription-plan). ## Work from your phone From the app you ca… Model configuration Claude Code CLI · in the page model-config …Fable row. To manage usage credits, see [Add usage credits to your subscription](/docs/en/costs.md#add-usage-credits-to-your-subscription). In interactive sessions, Claude Code shows a consent prompt… Monitoring Claude Code CLI · in the page monitoring-usage …estination) for what Claude Code removes. | Environment Variable | Description | Example Values | | - | - | - | | `CLAUDE_CODE_ENABLE_TELEMETRY` | Enables telemetry collection (required) | `1` | | `O… Enterprise network configuration Claude Code CLI · in the page network-config ….example.com:8080 ``` > [!WARNING] > > Avoid hardcoding passwords in scripts. Use environment variables or secure credential storage instead. > [!TIP] > > For proxies requiring advanced authenticati… Output styles Claude Code CLI · in the page output-styles …coding behavior: ```markdown theme={null} --- name: Diagrams first description: Lead every explanation with a diagram keep-coding-instructions: true --- When explaining code, architecture, or data f… Overview Claude Code CLI · in the page overview …rom the tabs below to get started. Most surfaces require a [Claude subscription](https://claude.com/pricing?utm_source=claude_code\&utm_medium=docs\&utm_content=overview_pricing) or [Anthropic Console… Choose a permission mode Claude Code CLI · in the page permission-modes …installed can still approve some of those calls | Locked-down CI and scripts | | [`bypassPermissions`](#skip-all-checks-with-bypasspermissions-mode) | Everything | Isolated containers and VMs only |… Configure permissions Claude Code CLI · in the page permissions …ompt titled Bash command. Under a tip about auto mode, it shows the description 'Run the test suite', the command npm test, and the line 'This command requires approval', then asks 'Do you want to pro… Platforms and integrations Claude Code CLI · in the page platforms …:- | :- | :- | | [CLI](/docs/en/quickstart.md) | Terminal workflows, scripting, remote servers | Full feature set, [Agent SDK](/docs/en/headless.md), [computer use](/docs/en/computer-use.md) on macOS… Test plugins with evals Claude Code CLI · in the page plugin-evals …turn or time limit. Each grader then checks the final reply, the transcript, or a file Claude created, and passes or fails. ### How a case is scored One run of a non-deterministic agent tells you l…
Feedback