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

593 pages for theme.

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

How Claude Code works Claude Code CLI · in the page how-claude-code-works …need perfect prompts. Start with what you want, then refine: ```text theme={null} Fix the login bug ``` \[Claude investigates, tries something] ```text theme={null} That's not quite right. The issu… Interactive mode Claude Code CLI · in the page interactive-mode …n file](/docs/en/keybindings.md), which has no actions for them. ### Theme and display | Shortcut | Description | Context | | :- | :- | :- | | `Ctrl+T` | Toggle syntax highlighting for code blocks |… JetBrains IDEs Claude Code CLI · in the page jetbrains …Claude Code to your JetBrains IDE and activate all features: ```bash theme={null} claude ``` ```text theme={null} /ide ``` When the connection succeeds, Claude Code confirms with a message like `Co… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …n external editor in the chat context, and unbinds `Ctrl+S`: ```json theme={null} { "$schema": "https://www.schemastore.org/claude-code-keybindings.json", "$docs": "https://code.claude.com/docs/e… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …n subsystem directory such as `src/backend/` or `lib/core/`. ```text theme={null} monorepo/ CLAUDE.md # root instructions packages/ api/ CLAUDE.md #… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …s with the ones your gateway team gave you: **Bash or Zsh** ```bash theme={null} export ANTHROPIC_BASE_URL=https://llm-gateway.example.com export ANTHROPIC_AUTH_TOKEN=sk-gateway-key ``` **PowerShel… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …description` from each entry in the response's `data` array: ```json theme={null} { "data": [ { "id": "claude-sonnet-4-6", "display_name": "Claude Sonnet 4.6", "description":… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …t-4-6`; substitute a name you've configured **Bash or Zsh** ```bash theme={null} curl -X POST "https://llm-gateway.example.com/v1/messages" \ -H "Authorization: Bearer <gateway-key>" \ -H "anthr… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …as a project [`.mcp.json`](/docs/en/mcp#project-scope) file: ```json theme={null} { "mcpServers": { "github": { "type": "http", "url": "https://api.githubcopilot.com/mcp/" },… Deploy managed settings Claude Code CLI · in the page managed-settings …local files and from `--allowedTools`: ```json managed-settings.json theme={null} { "permissions": { "deny": [ "Read(./.env)", "Read(./secrets/**)" ], "disableBypassPermissi… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …he most widely supported transport for cloud-based services. ```bash theme={null} # Basic syntax claude mcp add --transport http <name> <url> # Real example: Connect to Notion claude mcp add --trans… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …ou're configuring the server before starting a conversation. ```bash theme={null} claude mcp add --transport http claude-code-docs https://code.claude.com/docs/mcp ``` The parts of the command: * `… How Claude remembers your project Claude Code CLI · in the page memory …This import loads a file from a folder named `Design Docs`: ```text theme={null} - API conventions @Design\ Docs/api-conventions.md ``` Import parsing skips Markdown code spans and fenced code bloc… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …ble, replacing `your-azure-api-key` with the key you copied: ```bash theme={null} export ANTHROPIC_FOUNDRY_API_KEY=your-azure-api-key ``` #### Use Microsoft Entra ID Leave `ANTHROPIC_FOUNDRY_API_KE… Model configuration Claude Code CLI · in the page model-config …ured-output) instead. For example, start a session on Opus: ```bash theme={null} claude --model opus ``` Then switch models from within the session: ```text theme={null} /model sonnet ``` Example… Monitoring Claude Code CLI · in the page monitoring-usage …start Configure OpenTelemetry using environment variables: ```bash theme={null} # 1. Enable telemetry export CLAUDE_CODE_ENABLE_TELEMETRY=1 # 2. Choose exporters (both are optional - configure onl… Enterprise network configuration Claude Code CLI · in the page network-config …S authentication](#mtls-authentication) for the scope rules. ```bash theme={null} # HTTPS proxy (recommended) export HTTPS_PROXY=https://proxy.example.com:8080 # HTTP proxy (if HTTPS not available)… Output styles Claude Code CLI · in the page output-styles …Claude wrote, such as this one after adding an API endpoint: ```text theme={null} ★ Insight ───────────────────────────────────── - Every route in this repo goes through the withAuth wrapper, so the… Overview Claude Code CLI · in the page overview …d. **Native Install (Recommended)** **macOS, Linux, WSL:** ```bash theme={null} curl -fsSL https://claude.ai/install.sh | bash ``` On Windows, your prompt shows `PS C:\` when you're in PowerShell… Choose a permission mode Claude Code CLI · in the page permission-modes …s show the auto mode form for the CLI and each SDK: **CLI** ```bash theme={null} claude -p "Run the test suite and fix any failures" --permission-mode auto ``` **TypeScript** ```typescript theme={… Configure permissions Claude Code CLI · in the page permissions …ed; see [what a Bash rule doesn't match](#bash-rule-limits). ```json theme={null} { "permissions": { "allow": [ "Bash(npm run *)", "Bash(git commit *)" ], "deny": [ "B… Test plugins with evals Claude Code CLI · in the page plugin-evals …gger it **1. Create the cases** From the plugin root, run: ```bash theme={null} claude plugin eval init ``` If Claude Code doesn't already trust this directory it first asks `Trust this plugin dir… Recommend your plugin from your CLI Claude Code CLI · in the page plugins/cli-hints …med `example-cli` in the official marketplace: ```javascript Node.js theme={null} if (process.env.CLAUDECODE) { process.stderr.write( '<claude-code-hint v="1" type="plugin" value="example-cli@c… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …command, see [Create a plugin](/docs/en/plugins/create.md). ```bash theme={null} claude plugin init <name> [options] ``` `<name>` becomes the directory name under `~/.claude/skills/` and the plugin… Add components to a plugin Claude Code CLI · in the page plugins/components …ripts/` folder it calls * A log monitor * An output style and a color theme * A route-audit workflow * A `hello-plugin` executable * Default settings * A local MCP server and a Go language server Eac… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …h a `.claude-plugin/` folder inside it to hold the manifest: ```bash theme={null} mkdir -p my-first-plugin/.claude-plugin ``` **2. Write the manifest** The [manifest](/docs/en/plugins/manifest-refe… Create a marketplace Claude Code CLI · in the page plugins/create-marketplace …-plugin/` folder, then copy your plugin in under `plugins/`: ```bash theme={null} mkdir -p my-marketplace/.claude-plugin my-marketplace/plugins cp -r my-first-plugin my-marketplace/plugins/ ``` Chec… Plugin dependencies Claude Code CLI · in the page plugins/dependencies …y and one constrained dependency: ```json .claude-plugin/plugin.json theme={null} { "name": "deploy-kit", "version": "3.1.0", "dependencies": [ "audit-logger", { "name": "secrets-vault"… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …D` from an elevated Command Prompt or enable Developer Mode: ```bash theme={null} ln -s ../../shared-plugin/skills/foo ./skills/foo ``` ## Distribute through organization settings On a Team or Ente… Install and manage plugins Claude Code CLI · in the page plugins/install …gin's details so you can review it and choose a scope first. ```text theme={null} /plugin install commit-commands@claude-plugins-official ``` To browse instead, run `/plugin` with no plugin name: th… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …on in a plugin directory that contains each referenced path. ```json theme={null} { "name": "deploy-tools", "displayName": "Deploy Tools", "version": "1.2.0", "description": "Deployment comma… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …fields, `commands`, `agents`, `skills`, `hooks`, `outputStyles`, and `themes`, are combined with it or rejected as a conflict. Entry `mcpServers`, `lspServers`, `userConfig`, and `channels` don't appl… Measure plugin cost and usage Claude Code CLI · in the page plugins/measure …two skills, a command, an agent, a hook, and an MCP server: ```bash theme={null} claude plugin details formatter ``` ```text theme={null} formatter 1.0.0 Description: Formats and lints code on sa… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …ed by `cc-plugin-sec-default@builtin`: ```json managed-settings.json theme={null} { "pluginConfigs": { "cc-plugin-sec-default@builtin": { "options": { "allowManagedModsOnly": true… Use the mods API Claude Code CLI · in the page plugins/mods/api …tandup` command that takes an optional number of days: ```javascript theme={null} on('session.start', async ($, e, next) => { // Add /standup to the command list, with the description the user sees… Create a mod Claude Code CLI · in the page plugins/mods/create …eads 'Thinking · tools used: 1'." /> You write three files: ```text theme={null} first-mod/ ├── .claude-plugin/ │ └── plugin.json └── hooks/ ├── hooks.json └── register.js ``` * **`plugin… React to events with a mod Claude Code CLI · in the page plugins/mods/events …(e)`. This hook logs each tool Claude is about to use: ```javascript theme={null} on('tool.call', async ($, e, next) => { // Runs before the tool does $.ui.log('Claude is about to use ' + e.tool)… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …aude-plugin/plugin.json`: ```json gallery/.claude-plugin/plugin.json theme={null} { "name": "gallery", "version": "0.1.0", "description": "Opens a pane that draws one sample", "author": { "na… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …e-plugin/plugin.json`: ```json hello-tabs/.claude-plugin/plugin.json theme={null} { "name": "hello-tabs", "version": "0.1.0", "description": "Opens a pane with two tabs and a counter", "autho… Mods overview Claude Code CLI · in the page plugins/mods/overview …ell, run `claude plugin validate` on the plugin's directory: ```bash theme={null} claude plugin validate ./some-mod ``` The `hooks:` and `calls:` lines in the output list the events the mod handles… Test a mod Claude Code CLI · in the page plugins/mods/test …/first-mod.test.ts`: ```typescript first-mod/tests/first-mod.test.ts theme={null} import { expect, test } from 'claude-code/testing' test('/tally reports the tool calls the mod has seen', async ($,… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …bug`, or with `--debug-file <path>` to choose where it goes: ```bash theme={null} claude --debug-file ./mod-debug.log --plugin-dir ./first-mod ``` In another terminal, follow the file and filter for… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …anization marketplace and force-enables two plugins from it: ```json theme={null} { "extraKnownMarketplaces": { "your-marketplace": { "source": { "source": "github", "repo": "your-org/you… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …the-manifest-name-the-same): ```json .claude-plugin/marketplace.json theme={null} { "name": "your-marketplace", "owner": { "name": "Your Name" }, "plugins": [ { "name": "deploy-helper", "so… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …relevant when Claude reads a `.tf` file or runs `terraform`: ```json theme={null} { "name": "your-marketplace", "owner": { "name": "Your Org" }, "plugins": [ { "name": "terraform-help… Plugin security and trust Claude Code CLI · in the page plugins/security …g reads the same whatever marketplace the plugin comes from: ```text theme={null} Make sure you trust a plugin before installing, updating, or using it. Anthropic does not control what MCP servers, f… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …ll prompt. Start a session and type the same command there: ```shell theme={null} claude ``` Then, at the Claude Code prompt: ```text theme={null} /plugin install <plugin>@<marketplace> ``` A succ… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …he cache for a plugin's skills, commands, agents, hooks, monitors, or themes. It appends their content after the existing conversation, so the next request pays for that content and still reads everyt… Prompt library Claude Code CLI · in the page prompt-library …e prompt below works without naming a single file path. ```text wrap theme={null} add rate limiting to the public API and make sure existing tests still pass ``` **Give it a way to check its own wor… Quickstart Claude Code CLI · in the page quickstart …d. **Native Install (Recommended)** **macOS, Linux, WSL:** ```bash theme={null} curl -fsSL https://claude.ai/install.sh | bash ``` On Windows, your prompt shows `PS C:\` when you're in PowerShell…
Feedback