{"name":"CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION","slug":"claude-code-enable-prompt-suggestion","family":"env","title":"Environment variables","noun":"environment variable","description":"Set to `false` to turn off prompt suggestions, the grayed-out predictions that appear in your prompt input. Takes precedence over the [`promptSuggestionEnabled`](\/docs\/en\/settings-reference#promptsuggestionenabled) setting, which is what the **Prompt suggestions** toggle in `\/config` writes. Claude Code also [pauses suggestions while your account is close to or at its usage limit](\/docs\/en\/interactive-mode#when-claude-code-skips-suggestions). Set to `true` to keep them on until you reach the limit. Requires Claude Code v2.1.238 or later. See [Prompt suggestions](\/docs\/en\/interactive-mode#prompt-suggestions)","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.232","released_at":"2026-08-13 21:30:53","spans":1}},"aliases":[],"entries":[{"version":"2.1.302","anchor":"prompt-suggestions-are-suppressed-when-usage-credits-are-in","heading":"Prompt suggestions stop while you are using usage credits","line":"Claude Code now holds back its automatic prompt suggestions while you are spending usage credits beyond your plan's limit","released_at":"2026-10-16 16:48:28","reason":"found in this entry's text, named in this entry"},{"version":"2.1.284","anchor":"prompt-suggestion-back-off-now-logs-start-and-end-events","heading":"Fewer-suggestions mode now records when it starts and ends","line":"Claude Code now logs when it starts showing fewer prompt suggestions and when that ends, with no change to what you see","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"},{"version":"2.1.283","anchor":"prompt-suggestions-back-off-after-20-unused-in-a-row-showi","heading":"Prompt suggestions show up less often if you keep ignoring them","line":"After 20 prompt suggestions go unused in a row, Claude Code shows fewer of them until you use one again","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text"},{"version":"2.1.232","anchor":"environment-variables-read-through-one-typed-table-instead-o","heading":"Environment variables read through one typed table instead of scattered process.env lookups","line":"Environment variables are now read through one typed table, with the same names and behaviour.","released_at":"2026-08-13 21:30:53","reason":"found in this entry's text"}],"entries_total":4,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true},{"source":"claude-code","path":"interactive-mode","title":"Interactive mode","documented":false},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false}],"docs_total":4,"gates":[],"related":[{"name":"CLAUDE_CODE_ENABLE_APPEND_SUBAGENT_PROMPT","slug":"claude-code-enable-append-subagent-prompt","description":"Gates the extra subagent system prompt: when this is truthy and a prompt was supplied by the hidden `--append-subagent-system-prompt` option, its file variant, or the SDK's `appendSubagentSystemPrompt` initialize field, the text is appended to a Task-tool subagent's system prompt (skipped for agents with an isolated context and in one other case). Claude Code sets it to `1` itself when either command-line option supplies a prompt."},{"name":"CLAUDE_CODE_ENABLE_AUTO_MODE","slug":"claude-code-enable-auto-mode","description":"Accepted for compatibility with older releases and has no effect. Auto mode is available by default on every provider, including Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and signed-in [Claude apps gateway](\/docs\/en\/claude-apps-gateway) sessions. In v2.1.158 through v2.1.206, setting this to `1` was required to make [auto mode](\/docs\/en\/permission-modes#eliminate-prompts-with-auto-mode) available on those providers"},{"name":"CLAUDE_CODE_ENABLE_AWAY_SUMMARY","slug":"claude-code-enable-away-summary","description":"Override [session recap](\/docs\/en\/interactive-mode#session-recap) availability. Set to `0` to force recaps off regardless of the `\/config` toggle. Set to `1` to force recaps on when [`awaySummaryEnabled`](\/docs\/en\/settings-reference#awaysummaryenabled) is `false`. Takes precedence over the setting and `\/config` toggle"},{"name":"CLAUDE_CODE_ENABLE_BACKGROUND_PLUGIN_REFRESH","slug":"claude-code-enable-background-plugin-refresh","description":"Set to `1` to refresh plugin state at turn boundaries in [non-interactive mode](\/docs\/en\/headless) after a background install completes. Off by default because the refresh changes the system prompt mid-session, which invalidates [prompt caching](\/docs\/en\/prompt-caching) for that turn"},{"name":"CLAUDE_CODE_ENABLE_CFC","slug":"claude-code-enable-cfc","description":"Restricted sessions skip Claude in Chrome browser wiring, same as safe mode."},{"name":"CLAUDE_CODE_ENABLE_DESIGN_MCP","slug":"claude-code-enable-design-mcp","description":"Forces the built-in Claude Design MCP server on (`1`, `true`, `yes`, `on`) or off (`0`, `false`, `no`, `off`); unset or any other value falls back to the `tengu_omelette_whisk` flag, default off. When on and the API provider is first-party, Claude Code adds an HTTP MCP server named `claude_design` at `https:\/\/api.anthropic.com\/v1\/design\/mcp` to its built-in servers, and it also enables the `\/design` command, which another condition can enable as well."},{"name":"CLAUDE_CODE_ENABLE_DESIGN_SYNC","slug":"claude-code-enable-design-sync","description":null},{"name":"CLAUDE_CODE_ENABLE_EXPERIMENTAL_ADVISOR_TOOL","slug":"claude-code-enable-experimental-advisor-tool","description":"The experimental advisor override no longer skips per-model eligibility checks, only the rank requirement."},{"name":"CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL","slug":"claude-code-enable-feedback-survey-for-otel","description":"Set to `1` to route the \"How is Claude doing?\" session quality survey to your own [OpenTelemetry collector](\/docs\/en\/monitoring-usage) when Anthropic-bound nonessential traffic is blocked. Survey ratings are emitted only as OTEL events to your configured collector. No survey data is sent to Anthropic in this mode. Applies when `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`, `DISABLE_TELEMETRY`, or `DO_NOT_TRACK` is set, and has no effect otherwise. `CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY` and the organization product feedback policy take precedence"},{"name":"CLAUDE_CODE_ENABLE_FINE_GRAINED_TOOL_STREAMING","slug":"claude-code-enable-fine-grained-tool-streaming","description":"Controls whether tool call inputs stream from the API as Claude generates them. With this off, a large tool input such as a long file write arrives only after Claude finishes generating it, which can look like it's hanging. Enabled by default on the Anthropic API. On Amazon Bedrock and Google Cloud's Agent Platform, enabled per model where the deployed container supports it. Set to `0` to opt out. Set to `1` to force on when routing through a proxy via `ANTHROPIC_BASE_URL`, `ANTHROPIC_VERTEX_BASE_URL`, or `ANTHROPIC_BEDROCK_BASE_URL`. Off by default on Microsoft Foundry and [gateway](\/docs\/en\/llm-gateway) connections"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-enable-prompt-suggestion","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}