{"name":"CLAUDE_CODE_DISABLE_PLUGIN_FORWARDING","slug":"claude-code-disable-plugin-forwarding","family":"env","title":"Environment variables","noun":"environment variable","description":"Two new environment variables let you refuse plugin or hook forwarding to a device.","description_source":"entry","described_by":{"version":"2.1.239","anchor":"plugin-and-hook-forwarding-now-decided-at-startup-cloud-work"},"presence":{"first_seen":"2.1.239","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":60,"mined_builds":150,"first_cited":{"version":"2.1.247","released_at":"2026-08-26 18:02:01","spans":1}},"aliases":[],"entries":[{"version":"2.1.287","anchor":"hookplugin-frame-sender-status-telemetry-observe-only","heading":"Incoming hook and plugin messages in remote sessions are now counted, not blocked","line":"Claude Code now records whether incoming hook and plugin messages pass a sender check, but still lets them all through","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text"},{"version":"2.1.283","anchor":"remote-control-inbound-guard-hook-and-plugin-forwarding-swi","heading":"Remote Control no longer lets hooks and plugins through its inbound guard","line":"Remote Control's inbound guard now always excludes hooks and plugins, and remote tools depend on two environment variables","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text"},{"version":"2.1.248","anchor":"forwarding-plugins-and-hooks-to-remote-sessions-is-gated-and","heading":"Forwarding plugins and hooks to remote sessions is gated, and now says why it is off","line":"Forwarding your plugins and hooks into remote sessions stays off unless the server enables it.","released_at":"2026-08-27 20:35:36","reason":"found in this entry's text"},{"version":"2.1.248","anchor":"more-environment-variables-carried-into-remote-sessions","heading":"More environment variables carried into remote sessions","line":"More environment variables get carried into remote sessions; none are set by default.","released_at":"2026-08-27 20:35:36","reason":"found in this entry's text"},{"version":"2.1.247","anchor":"plugin-forwarding-now-tells-the-cloud-worker-which-directori","heading":"Plugin forwarding now tells the cloud worker which directories it can reach","line":"Cloud sessions are now told which directories forwarded plugins can reach.","released_at":"2026-08-26 18:02:01","reason":"named in this entry, found in this entry's text"},{"version":"2.1.247","anchor":"session-channel-messages-from-senders-this-session-cannot-ve","heading":"Session-channel messages from senders this session cannot verify are refused, dropped or trimmed","line":"Session-channel messages from unverified senders are dropped, and untrusted settings changes get their plugin key stripped.","released_at":"2026-08-26 18:02:01","reason":"found in this entry's text"},{"version":"2.1.246","anchor":"cloud-sessions-show-a-sync-panel-for-project-files-settings-","heading":"Cloud sessions show a sync panel for project files, settings and plugins","line":"Cloud sessions show a panel with project files, settings and plugins sync status in plain English.","released_at":"2026-08-25 19:17:34","reason":"found in this entry's text"},{"version":"2.1.242","anchor":"cloud-plugins-and-a-matching-opt-in-for-sending-this-machine","heading":"\/cloud-plugins and a matching opt-in for sending this machine's settings to cloud sessions","line":"You now decide separately whether cloud sessions may use your plugins and your local settings.","released_at":"2026-08-24 19:16:14","reason":"found in this entry's text"},{"version":"2.1.239","anchor":"plugin-and-hook-forwarding-now-decided-at-startup-cloud-work","heading":"Plugin and hook forwarding now decided at startup, cloud workers only","line":"Two new environment variables let you refuse plugin or hook forwarding to a device.","released_at":"2026-08-21 17:18:54","reason":"named in this entry, found in this entry's text"}],"entries_total":9,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_DISABLE_1M_CONTEXT","slug":"claude-code-disable-1m-context","description":"Set to `1` to disable [1M context window](\/docs\/en\/model-config#extended-context) support. When set, 1M model variants are unavailable in the model picker, and Claude Code holds sessions on models with a native 1M window, such as [Sonnet 5.5](\/docs\/en\/model-config#sonnet-5-5-and-sonnet-5-context-window) and the Fable models, to a 200K window; see [Extended context](\/docs\/en\/model-config#extended-context) for how the hold is enforced. Useful for enterprise environments with compliance requirements. For its role in correcting the window for an unrecognized `[1m]` model ID, see [Correct the window for a gateway or custom model ID](\/docs\/en\/model-config#correct-the-window-for-a-gateway-or-custom-model-id)"},{"name":"CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING","slug":"claude-code-disable-adaptive-thinking","description":"Set to `1` to disable [adaptive reasoning](\/docs\/en\/model-config#adjust-effort-level) on Opus 4.6 and Sonnet 4.6 and fall back to the fixed thinking budget controlled by `MAX_THINKING_TOKENS`. Has no effect on [Fable models](\/docs\/en\/model-config#extended-thinking), Sonnet 5 and later, or Opus 4.7 and later, which always use adaptive reasoning"},{"name":"CLAUDE_CODE_DISABLE_ADMIN_ENV_UNION","slug":"claude-code-disable-admin-env-union","description":"Set to `1` to stop Claude Code from merging [managed settings](\/docs\/en\/managed-settings#precedence-within-the-managed-tier) `env` blocks per key across admin sources, so only the highest-priority source's whole `env` block applies, as before v2.1.223. Set it in the environment that launches Claude Code, since Claude Code ignores a copy delivered through a settings `env` block. Requires Claude Code v2.1.223 or later"},{"name":"CLAUDE_CODE_DISABLE_ADVISOR_TOOL","slug":"claude-code-disable-advisor-tool","description":"Set to `1` to disable the [advisor tool](\/docs\/en\/advisor). The `\/advisor` command becomes unavailable, any configured `advisorModel` is ignored, and the `--advisor` flag is accepted but has no effect, so existing scripts that pass it continue to work without errors"},{"name":"CLAUDE_CODE_DISABLE_AGENT_VIEW","slug":"claude-code-disable-agent-view","description":"Set to `1` to turn off [background agents and agent view](\/docs\/en\/agent-view): `claude agents`, `--bg`, `\/background`, and the on-demand supervisor. Equivalent to the [`disableAgentView`](\/docs\/en\/settings-reference#disableagentview) setting"},{"name":"CLAUDE_CODE_DISABLE_AGENTS_FLEET","slug":"claude-code-disable-agents-fleet","description":"A true value (`1`, `true`, `yes`, `on`) turns off the background-agents fleet, the same as the `disableBackgroundAgents` setting: the fleet gate that otherwise follows `tengu_slate_meadow` returns false, so `claude daemon` subcommands that need the gate stop with `'daemon' is not enabled.`, the built-in Claude agent is left out of the built-in agent list, and `claude daemon run` exits with `claude daemon: background agents disabled (ZDR\/3P\/opt-out)`."},{"name":"CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN","slug":"claude-code-disable-alternate-screen","description":"Set to `1` to disable [fullscreen rendering](\/docs\/en\/fullscreen) and use the classic main-screen renderer. The conversation stays in your terminal's native scrollback so `Cmd+f` and tmux copy mode work as usual. Takes precedence over `CLAUDE_CODE_NO_FLICKER` and the [`tui`](\/docs\/en\/settings-reference#tui) setting. You can also switch with `\/tui default`. Does not apply to background sessions opened from [agent view](\/docs\/en\/agent-view), which always use fullscreen rendering"},{"name":"CLAUDE_CODE_DISABLE_ARTIFACT","slug":"claude-code-disable-artifact","description":"Set to `1` to turn off the [Artifact](\/docs\/en\/artifacts) tool, which publishes session output as a private web page on claude.ai. Once you set it, no settings file turns the tool back on. To turn the tool off from a settings file instead, set [`enableArtifact`](\/docs\/en\/settings-reference#enableartifact) to `false`; the deprecated [`disableArtifact`](\/docs\/en\/settings-reference#disableartifact) key also turns it off"},{"name":"CLAUDE_CODE_DISABLE_ATTACHMENTS","slug":"claude-code-disable-attachments","description":"Set to `1` to disable attachment processing. File mentions with `@` syntax are sent as plain text instead of being expanded into file content"},{"name":"CLAUDE_CODE_DISABLE_ATTRIBUTION_BASELINE_REUSE","slug":"claude-code-disable-attribution-baseline-reuse","description":null}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-disable-plugin-forwarding","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}