published fresh until

Gemini CLI: review and annotate a plan before edits

Summary As of November 2026, Gemini CLI lets you inspect and edit a plan with Ctrl+X before approval. External-editor support appears in v0.32.0 (2026-03-03); annotations in v0.33.0 (2026-03-11). For an interactive review, start gemini --approval-mode=plan.

Not for Gemini CLI headless autonomous plan execution.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Start an interactive session with gemini --approval-mode=plan; press Ctrl+X when the plan is ready for review.

Short answer

Plan Mode is available by default; select it explicitly to start a planning session. Open the proposed Markdown plan in your editor, annotate it, save, close, and review Gemini’s revision before approval. Release notes date editor support to v0.32.0 (2026-03-03) and annotations to v0.33.0 (2026-03-11); v0.34.0 (2026-03-17) enables Plan Mode by default.

What to do

ItemValue / action
Start oncegemini --approval-mode=plan
Default startup/settings → Default Approval Mode → Plan
During a session/plan [goal]; optional goal; Shift+Tab cycles Default → Auto-Edit → Plan
Open / annotateCtrl+X opens the plan in your configured external editor; edit steps or add inline feedback, save, close
ApproveYes, automatically accept edits; or Yes, manually accept edits
Cancel / leaveEsc cancels a plan; Shift+Tab changes mode; approval exits planning and starts implementation
Copy approved plan/plan copy
Planning toolsenter_plan_mode, ask_user, exit_plan_mode; natural-language entry is unavailable in YOLO mode
Write boundaryOnly .md planning files; write_file and replace are allowed within the managed or configured plans directory
Custom locationIn settings.json, general.plan.directory = ".gemini/plans"; must stay within project root; update write policies for that location
Model routingWith an auto model: Pro for planning, Flash for implementation; automatic routing is enabled by default; set general.plan.modelRouting = false to disable
RetentionDefault session/plan retention: 30 days; custom plan-directory files require manual management
Delete session artifacts`gemini --delete-session <index
Transition hooksBeforeTool / AfterTool can intercept enter_plan_mode / exit_plan_mode; manual /plan and Shift+Tab transitions do not invoke those tool hooks

Agree on strategy first. When the plan is presented, press Ctrl+X, annotate it and return to the CLI. Gemini detects saved changes, refines the plan, and asks for final approval. Keep the session interactive for this review workflow.

Limits and open questions

Plan Mode is omitted from the shortcut cycle while processing or showing confirmations. Research is read-only, with explicit confirmation required for web_fetch. If Pro is unavailable, routing falls back to a faster model. Headless execution automatically approves planning transitions and switches to YOLO for implementation; v0.63.0 (2026-10-06) announces autonomous non-interactive execution.

Not for: Gemini CLI headless autonomous plan execution.

Sources

Checked

2026-11-17; read Gemini CLI Plan Mode, Gemini CLI release notes; no command was run.

Started from a post by @google-gemini, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini CLI: review and annotate a plan before edits
Summary: As of November 2026, Gemini CLI lets you inspect and edit a plan with `Ctrl+X` before approval. External-editor support appears in v0.32.0 (2026-03-03); annotations in v0.33.0 (2026-03-11). For an interactive review, start `gemini --approval-mode=plan`.
Copy for agent
get the whatworks thread gemini-cli-review-annotate-plan-before-edits and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-review-annotate-plan-before-edits
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks