{"name":"\/auto-mode-setup","slug":"auto-mode-setup","family":"slash","title":"Slash commands","noun":"slash command","description":"[Draft `autoMode.environment` entries](\/docs\/en\/auto-mode-config#generate-environment-entries) from your project and recent sessions, then review the draft and save it to your user settings. Requires a Pro, Max, or Team plan and Claude Code v2.1.228 or later. On native Windows, requires v2.1.233 or later","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.309","builds":0,"mined_builds":150,"first_cited":{"version":"2.1.281","released_at":"2026-09-23 17:01:17","spans":2}},"aliases":[],"entries":[{"version":"2.1.284","anchor":"auto-mode-setup-checks-login-before-scanning-with-new-erro","heading":"\/auto-mode-setup checks you are signed in before it scans your environment","line":"`\/auto-mode-setup` now checks your login first and tells you to run `\/login` if it has expired or you are not signed in","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"insights-can-now-suggest-switching-to-auto-mode-based-on-h","heading":"\/insights can now suggest switching to auto mode, based on how many permission prompts past sessions hit","line":"\/insights can now suggest switching to auto mode, or running \/auto-mode-setup, based on how many permission prompts your sessions would hit","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.236","anchor":"auto-mode-setup-prompt-and-copy-rewritten","heading":"Auto mode setup prompt and copy rewritten","line":"The auto mode setup dialog is retitled and its long explanation trimmed to one line.","released_at":"2026-08-19 18:45:14","reason":"named in this entry, found in this entry's text"},{"version":"2.1.232","anchor":"non-interactive-auto-mode-setup-no-longer-needs-the-onboardi","heading":"Non-interactive \/auto-mode-setup no longer needs the onboarding flag","line":"Non-interactive \/auto-mode-setup now just needs a resolved model and no remote flag.","released_at":"2026-08-13 21:30:53","reason":"named in this entry, found in this entry's text"},{"version":"2.1.229","anchor":"auto-mode-setup-rewritten-around-a-single-confirmation-step","heading":"Auto-mode setup rewritten around a single confirmation step","line":"`\/auto-mode-setup` opens straight on one confirmation step with reworded copy and key hints.","released_at":"2026-08-12 19:28:48","reason":"named in this entry, found in this entry's text"},{"version":"2.1.217","anchor":"auto-mode-setup-gets-apply-target-request-id-and-expect-sha2","heading":"\/auto-mode-setup Gets --apply-target , --request-id , and --expect-sha256","line":null,"released_at":"2026-07-21 19:55:38","reason":"found in this entry's text"},{"version":"2.1.216","anchor":"auto-mode-setup-now-requires-file-hash-before-applying","heading":"\/auto-mode-setup Now Requires File Hash Before Applying","line":null,"released_at":"2026-07-20 20:19:37","reason":"found in this entry's text"},{"version":"2.1.212","anchor":"auto-mode-setup-auto-mode-setup","heading":"Auto-mode Setup (\/auto-mode-setup)","line":null,"released_at":"2026-07-16 19:20:24","reason":"found in this entry's text"},{"version":"2.1.212","anchor":"claude-code-insights-report","heading":"Claude Code Insights Report","line":null,"released_at":"2026-07-16 19:20:24","reason":"found in this entry's text"},{"version":"2.1.210","anchor":"auto-mode-setup-wizard-and-proposal-workflow","heading":"\/auto-mode-setup Wizard and Proposal Workflow","line":null,"released_at":"2026-07-14 19:39:21","reason":"found in this entry's text"}],"entries_total":14,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"claude-code","path":"auto-mode-config","title":"Configure auto mode","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false}],"docs_total":3,"gates":[],"related":[{"name":"\/autocompact","slug":"autocompact","description":"Set the auto-compact window: how full the context window gets before Claude Code compacts automatically. Pass a size such as `500k`, or `auto` to return to the window tuned for your model. Claude Code saves the value to user settings and applies it to the current session. See [Set the auto-compact window](\/docs\/en\/model-config#set-the-auto-compact-window) for accepted values and what overrides it. Without an argument, opens a dialog that shows the current window. Requires Claude Code v2.1.221 or later"},{"name":"\/autofix-pr","slug":"autofix-pr","description":"Spawn a [cloud session](\/docs\/en\/claude-code-on-the-web#auto-fix-pull-requests) that watches the current branch's PR and pushes fixes when CI fails or reviewers leave comments. Detects the open PR from your checked-out branch with `gh pr view`; to watch a different PR, check out its branch first. By default the cloud session is told to fix every CI failure and review comment; pass a prompt to give it different instructions, for example `\/autofix-pr only fix lint and type errors`. Requires the `gh` CLI and access to [cloud sessions](\/docs\/en\/claude-code-on-the-web)"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/auto-mode-setup","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}