1,079 pages for author.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Hooks reference
Claude Code CLI · in the page
hooks
…", "timeout": 30, "headers": { "Authorization": "Bearer $MY_TOKEN" }, "allowedEnvVars": ["MY_TOKEN"] } ] } ]…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…configuration file, so you can log changes for compliance or block unauthorized modifications. This example appends each event to an audit log. Add this to `~/.claude/settings.json`: ```json theme=…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…own If Claude follows a rule you didn't write, such as adding a `Co-Authored-By` trailer to a commit, the rule may have come from a [system reminder](https://code.claude.com/docs/en/glossary.md#syst…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…ers to filter. The `/` menu lists built-in commands, bundled and user-authored [skills](https://code.claude.com/docs/en/skills.md), and commands contributed by [plugins](https://code.claude.com/docs/e…
JetBrains IDEs
Claude Code CLI · in the page
jetbrains
…e/<port>.lock`, and the CLI must present it as the `X-Claude-Code-Ide-Authorization` header to connect. If `CLAUDE_CONFIG_DIR` is set, the lock file is written to `$CLAUDE_CONFIG_DIR/ide/` instead. *…
Legal and compliance
Claude Code CLI · in the page
legal-and-compliance
…ment, secrets manager, or machine image for use by the customer's own authorized users — provided the resulting usage is billed to the key owner under their agreement with Anthropic (or the applicable…
Other LLM gateways
Claude Code CLI · in the page
llm-gateway
…apply. Gateways that pass this traffic on to Anthropic must forward `Authorization` and the OAuth capability in `anthropic-beta`; see the [request headers reference](https://code.claude.com/docs/en/l…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…| `ANTHROPIC_AUTH_TOKEN` | Your gateway team said "bearer token" or "Authorization header" | | `ANTHROPIC_API_KEY` | Your gateway team said "API key" or "x-api-key" | | [`apiKeyHelper`](#rotate-crede…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…al) | `anthropic-beta` and `anthropic-version` request headers, plus `Authorization` when a [claude.ai login](#request-headers) authenticates the request to Anthropic | | Amazon Bedrock InvokeModel |…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…curl -X POST "https://llm-gateway.example.com/v1/messages" \ > -H "Authorization: Bearer <gateway-key>" \ > -H "anthropic-version: 2023-06-01" \ > -H "content-type: application/json" \ > -d '…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…ion files load and doesn't bypass either list. To make the allowlist authoritative, set `allowedMcpServers` and `allowManagedMcpServersOnly: true` together in a [managed settings source](https://code…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…mmit-trailer opt-out in `attribution`, or in the deprecated `includeCoAuthoredBy`, from any tier * [`forceRemoteSettingsRefresh`](https://code.claude.com/docs/en/server-managed-settings) * `env`, merg…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…--transport http secure-api https://api.example.com/mcp \ --header "Authorization: Bearer your-token" ``` When configuring MCP servers via JSON in `.mcp.json`, `~/.claude.json`, or `claude mcp add-…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…tic token instead of OAuth take the token at add time with `--header "Authorization: Bearer <token>"`. See the [GitHub example](https://code.claude.com/docs/en/mcp.md#example-connect-to-github-for-cod…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…the value of `ANTHROPIC_FOUNDRY_AUTH_TOKEN` on every request as the `Authorization: Bearer` header. Use this option when another process, such as a host application or a sign-in script, has already o…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…. Set authentication (if required) export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer your-token" # 5. For debugging: reduce export intervals, and reset them for production use export OTEL_METRI…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…de for enterprise environments with proxy servers, custom Certificate Authorities (CA), and mutual Transport Layer Security (mTLS) authentication. Claude Code supports various enterprise network and…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…itten to other people or shared systems, when your own message didn't authorize those details for that recipient. PR and issue bodies, commit messages, and comments count as this kind of outbound cont…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…ontributes compared with no plugin This page is for plugin and skill authors who have a working plugin and want to test its behavior, and for teams that gate plugin changes in CI. For iterating on on…
Anthropic's marketplaces
Claude Code CLI · in the page
plugins/anthropic-marketplaces
…t | Plugins Anthropic maintains, plus plugins from partners and other authors | Third-party plugins that their authors submitted to Anthropic | | How you get it | Claude Code adds it the first time yo…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…| | :- | :- | | `--description <text>` | Manifest description | | `--author <name>` | Author name. Defaults to `git config user.name` | | `--author-email <email>` | Author email. Defaults to `git con…
Create a Claude Code plugin
Claude Code CLI · in the page
plugins/create
…n": "A greeting plugin to learn the basics", "version": "1.0.0", "author": { "name": "Your Name" } } ``` The four fields do this: * **`name`**: required. It identifies the plugin and becom…
Create a marketplace
Claude Code CLI · in the page
plugins/create-marketplace
…. Before you push, give the marketplace a top-level `name` that other authors are unlikely to pick, because a user [can't have two marketplaces with the same name](https://code.claude.com/docs/en/plug…
Plugin dependencies
Claude Code CLI · in the page
plugins/dependencies
…2.0` or `~2.1.0` that you've tested against. This page is for plugin authors who declare dependencies in `plugin.json` and for marketplace maintainers who tag releases. > [!NOTE] > > These cases are…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…bearer token prints an object like this one: ```json theme={null} {"Authorization": "Bearer eyJhbGciOiJSUzI1NiJ9"} ``` ### When Claude Code skips a headersHelper command or drops its output A `hea…
Install and manage plugins
Claude Code CLI · in the page
plugins/install
…goes in `.claude/settings.local.json`. Some plugins are set by their author to start turned off, through the [`defaultEnabled`](https://code.claude.com/docs/en/plugins/manifest-reference#defaultenabl…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…es, such as git dependencies. ## Versions and updates If a plugin's author pushed new commits and `claude plugin update` prints `<name> is already at the latest version (<version>).`, the version Cl…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…ion": "Deployment commands, a review agent, and a status monitor", "author": { "name": "Example Team", "email": "[email protected]", "url": "https://example.com" }, "homepage": "https:…
Marketplace reference
Claude Code CLI · in the page
plugins/marketplace-reference
…cs/en/plugins/manifest-reference), such as `description`, `version`, `author`, `commands`, and `hooks`. For when those fields apply, see [How an entry combines with plugin.json](#entry-and-plugin-json…
Measure plugin cost and usage
Claude Code CLI · in the page
plugins/measure
…n tell whether a plugin is still being used. This page is for plugin authors and maintainers. If you administer Claude Code for an organization, [Measure across a fleet](#measure-across-a-fleet) cove…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…drops the rest, so a request that depends on another header, such as `Authorization`, can fail after that redirect. The [limits](https://code.claude.com/docs/en/plugins/mods/reference.md#limits) give…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…t-in [skill](https://code.claude.com/docs/en/skills.md) named `plugin-authoring`, which tells it where to write the mod, which events and methods your version has, and how the mod gets loaded. Claude…
Interface gallery for mods
Claude Code CLI · in the page
plugins/mods/gallery
…": "0.1.0", "description": "Opens a pane that draws one sample", "author": { "name": "Your Name" } } ``` Name your entry point in `gallery/hooks/hooks.json`: ```json gallery/hooks/hooks.json the…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…1.0", "description": "Opens a pane with two tabs and a counter", "author": { "name": "Your Name" } } ``` Name your entry point in `hello-tabs/hooks/hooks.json`: ```json hello-tabs/hooks/hooks.js…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
…s, start processes, and make network requests. Install mods only from authors and marketplaces you trust. See [Decide whether to trust a mod](#decide-whether-to-trust-a-mod). A mod installs as a plug…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…`repo`, `surfaces`, `usage`, `version`, `compact`, `send`, `append`, `authorize`. `usage()` returns `{ startedAt, context, rateLimits, cost }`: `context` has `tokens`, `window`, and `percent`, and `ra…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…a few rules of its own, and breaking one produces the errors new test authors hit first: * **Register every stub before the test's first call on `$`.** Calling `on` after that throws an error such as…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…the mod again. If you installed the mod and didn't write it, ask its author to fix the error. ### `options do not fit plugin.json userConfig` The line starts with the mod's name, then `hooks module…
Publish and distribute a plugin
Claude Code CLI · in the page
plugins/publish
…directory or a `.zip` of it to load themselves. This page is for the author of a working plugin who is ready to share it. > [!NOTE] > > These cases are covered on other pages: > > * **Your plugin is…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…plugin "<name>@<marketplace>":` and exits with code 1. The plugin's author has to fix the file, and the plugin can't be installed until then: * **If that's you**: run `claude plugin validate <plugi…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…name retries every server that has failed or needs authentication. To authorize a claude.ai connector without the picker, see [Authorize a connector again from your shell](#authorize-a-connector-again…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…e trigger attests only that the prompt was stored ahead of time by an authorized session on your account. The fired prompt is therefore not live user input and can't act as approval or consent for act…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…mask` entries](#mask-credential-files) as restrictions that no longer authorize the proxy to substitute the real value, but drops its [environment variable `mask` entries](#mask-environment-variables)…
Catch security issues as Claude writes code
Claude Code CLI · in the page
security-guidance
…a follow-up. This catches issues a string match cannot, such as: * Authorization bypass * Insecure direct object references * Injection * Server-side request forgery * Weak cryptography You see bo…
Self-hosted environments
Claude Code CLI · in the page
self-hosted-environments
…es. * **Proxy authentication**: if your proxy also requires a `Proxy-Authorization` header, the runner can add it to each connection it opens to the proxy; see [Authenticate to an egress proxy](https…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…me value. Use it for adoption analytics and labelling only, not as an authorization signal. Unset when the session has no recorded or recognized surface. Requires Claude Code v2.1.229 or later. | | `C…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…te to an egress proxy Some corporate egress proxies require a `Proxy-Authorization` header on every connection. The token in that header often rotates too fast to write into the proxy URL you set in…
Verify session identity in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-identity
…or example, a script Claude runs can call your service with `curl -H "Authorization: Bearer $CLAUDE_CODE_SESSION_ACCESS_TOKEN"`. Anthropic signs the token and publishes the verification keys at a publ…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…nd `~/.claude` assume. Run `claude self-hosted-runner --help` for the authoritative list on your installed version. Metric series and a few API fields still use `pool` for what these pages call an en…
Test self-hosted environments end to end
Claude Code CLI · in the page
self-hosted-environments-testing
…et-up-an-environment-and-runner) isn't accepted either, since it only authorizes a runner to register with the environment, not to create sessions. To provision a stored login onto an ephemeral runne…