Plan and “Run the plan”
For big tasks it helps to see a plan first: the agent studies the project, proposes steps and changes nothing until you press “Run the plan”.
-
1
Turn on plan mode
Claude Code has the “Agent | Plan” switch above the input, on the PC and the phone. Cursor Agent has “Plan only” in the chat options, OpenCode and Kilo Code have the plan agent.
-
2
Describe the task
The agent reads the code and sends a “Plan” card: the steps, the files involved, what won't be needed. A long plan is folded — “Show all” unfolds it, “Open” shows it in a separate window.
A “Plan” card in the chat on the PC -
3
Adjust the plan
Disagree? Write what to change while staying in plan mode. The agent sends a new version, and files still don't change.
-
4
Press “Run the plan”
The button on the latest plan card switches the chat to “Agent” mode and sends the task — the agent does what the plan says. You can press it from the phone too.
The agent changes files within the chat's access level. At “Read-only” it changes nothing — raise access to “Project”.
The plan on the phone