{"version":"2.1.281","anchor":"insights-can-now-suggest-switching-to-auto-mode-based-on-h","canonical_anchor":"insights-can-now-suggest-switching-to-auto-mode-based-on-h","heading":"\/insights records permission-prompt counts and can suggest switching to auto mode","tier":"use","area":"Insights","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/insights-can-now-suggest-switching-to-auto-mode-based-on-h","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### \/insights records permission-prompt counts and can suggest switching to auto mode\n\n\/insights now counts per-session permission prompts, file edits and destructive commands, and can suggest auto mode or \/auto-mode-setup\n\n**What**\n\n`\/insights` keeps cached data about each past session. It now also records:\n\n- `permission_mode`: which permission mode the session ran in.\n\n- `bash_would_prompt_count`: how many shell commands would have asked you for permission.\n\n- `file_edit_tool_count`: how many file edits were made.\n\n- `destructive_command_count`: how many destructive commands were run.\n\nCached sessions that lack `bash_would_prompt_count` are analysed again, up to a limit.\n\nThese counts feed a summary of auto mode use: sessions in auto mode, sessions not in auto mode, an estimate of permission prompts in non-auto sessions, and destructive commands in non-auto sessions. Auto mode is the mode where Claude Code decides permission requests itself instead of asking you. An auto-mode session counts as 0 prompts. In default mode, file edits also count as prompts. Estimates of 100 or more are rounded to two significant figures.\n\nThe summary picks between two new tips:\n\n- A \"switch_to_auto\" tip suggesting auto mode. It appears only when all of these hold: auto mode is available, there are enough sessions, you do not already mostly use auto mode, the sandbox auto-allow is not active, permission decisions are not already made by the auto mode classifier, and the estimate is at least 3 prompts.\n\n- A \"run_setup\" tip for people who already use auto mode: \"Tip: you already use auto mode - run \/auto-mode-setup once to teach it your environment and improve its decisions.\"\n\n**Why**\n\nThe report now uses your own session history to estimate how many permission prompts you sat through, and may recommend auto mode or `\/auto-mode-setup` on that basis. Expect this recommendation in reports if you often approve prompts by hand.\n\n- Area: Insights\n- Names: `\/insights`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5"}