Skip to main content

Plan Mode & Ask Mode — Composer & Agent Mode

[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3
SEQ. 4

Plan Mode & Ask Mode

🤖 Composer & Agent Mode 18 min 350 BASE XP⌨ HANDS-ON LAB

Think Before You Build

The unified agent input has a mode picker - press Shift+Tab to rotate between the four core modes (Agent, Plan, Debug, and Ask), or use the dropdown / Ctrl+. menu (plus pinned Custom Modes). Choosing the right mode separates what the AI may do from which model runs.

Plan Mode

In Plan Mode, the agent doesn't write code. Instead it:

  1. Researches your codebase - reads the relevant files and understands the architecture
  2. Asks clarifying questions when the requirements are ambiguous
  3. Generates a structured plan you can review and edit before anything runs

Plans are saved to your home directory by default, with a "Save to workspace" option to keep them in the repo. Once you approve the plan, the agent executes it step by step.

Debug Mode

Debug Mode specializes in elusive, hard-to-reproduce bugs: instead of guessing a patch immediately, the agent systematically instruments runtime logs, inspects stack traces, and gathers execution evidence to prove its hypothesis before editing files.

Ask Mode

Ask Mode is read-only: the agent can search and read your codebase but cannot modify files or run state-changing commands. It's the safe mode for onboarding onto an unfamiliar codebase, architecture discussions, and code archaeology.

Choosing a Mode

SituationModeWhy
Small, well-defined changeAgentJust do it - checkpoints have your back
Large feature or refactorPlanAlign on approach before spending compute
Tricky runtime or race-condition bugDebugSystematic log instrumentation & hypothesis verification
"How does X work?"AskZero risk of accidental modifications
Pro Tip: For anything touching more than a handful of files, Plan first. Editing a plan takes seconds; unwinding a wrong 40-file refactor takes much longer - and a reviewed plan doubles as documentation for your PR.
⌨ HANDS-ON LABGenerate Architectural Implementation Plan
⭐ +150 XP

Before letting Agent Mode edit files, Plan Mode analyzes requirements and outputs a structured execution plan. Scaffold a plan document.

1Create a .cursor/plans directory and initialize an implementation plan.
lab-sandbox — simulated environment
INFINITY LAB SANDBOX v2.6 — simulated shell
Type the command for the current objective. Helpers: "hint", "solution", "clear".
$
OBJECTIVE 1 / 1 — type "hint" if stuck
SYNAPSE VERIFICATION
QUERY 1 // 3
How do you switch between Agent, Plan, and Ask modes?
Restart Cursor
Press Shift+Tab to rotate modes, or use the mode picker dropdown
Edit settings.json
It's automatic only