AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Oct 30, 2026, 06:00 JST

Claude Code: switch to manual mode and read the diff before approving

Send on LINE
Claude Code: switch to manual mode and read the diff before approving

3 Key Points

  1. What happened

    The guide, based on an October 12, 2026 session, says to press Shift+Tab once so the display changes from "auto mode on" to "manual mode on", then start with a read-only request.

  2. Why it matters

    Before approving a write, readers are told to check three things — the added lines, any removed lines, and whether files they did not ask about are in scope — so unintended changes do not pile up.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The guide is built around a small practice folder holding a CSV of holidays and a short Python script that counts them by month, managed with Git, with screenshots taken from a session on October 12, 2026. Its starting point is the mode the tool launches in: in the captured environment the lower-left display read "auto mode on", meaning it proceeds without confirmation, and a single Shift+Tab changed that to "manual mode on".

The suggested sequence moves from low-risk to higher-risk work. A read-only request comes first, and Claude Code asks for confirmation before running the command that inspects file contents. A small write follows, with the advice to state what to do, where, and under what policy — for example, asking for a README.md describing the folder and how to run count_holidays.py — rather than vague instructions like "fix it" or "write tests".

The remaining discipline is about the approval screen itself: the content to be written is shown with line numbers, and the reader chooses "Yes", "Yes" (auto-approving edits for the rest of the session), or "No". The three checks before approving are the added lines, any removed lines that should not disappear, and whether unrequested files are in scope. The guide notes you can ask for an explanation of a change on the spot, and that a diff too large to read is a sign to split the request into smaller ones.

FAQ
What should my first request be?
Start with a read-only request whose scope is small, such as asking what the folder contains. Claude Code shows a confirmation before running the command that inspects the files, and you read it and choose "Yes".
What if I approved a change by mistake?
Claude Code keeps a checkpoint of file state each time you send a request. With the input field empty, type /rewind or press Esc twice, then choose a point to return to; you can restore files and conversation, conversation only, or files only.
How do I confirm what actually changed?
Run git status --short after the session. In the example, the only new file was README.md, which checked the result separately from Claude Code's own report.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleYann LeCun: LLMs alone can't grasp a cup — world models are the missing layer