
CODE Mode

When to use it
- Implementing new features, fixing bugs, refactoring
- Initial project setup (installing packages, creating configuration files)
- Writing test code
- Bulk-editing repetitive code patterns
Examples
AGENT Mode

When to use it
- Large tasks spanning multiple files and multiple layers
- Tasks where the AI needs to decide where to start
- When you want to delegate implementation through testing and verification in one go
Examples

ASK Mode

What you can do
- Explain and analyze code
- Discuss design direction
- Analyze the cause of errors
- Request code review feedback
When to use it
- When getting to know an unfamiliar codebase for the first time
- When you want to understand how a specific function or class behaves
- When you want review feedback only, without changing any code
Examples
PLAN Mode

The numbers in the filename are the save time (
YYYY-MM-DD-HHMMSS). A new file is created each time you draft a plan; if you open and refine an existing plan, that file is updated instead.When to use it
- When you want to understand the scope of impact before implementing a large feature
- When changes across multiple files are expected
- When you want to share the plan with teammates and have it reviewed before executing
Examples
Reviewing the plan, then executing
The essence of PLAN mode is the flow of reviewing the plan and then executing it.1
Draft a plan in PLAN mode
When you request the feature you want, the AI explores the codebase and produces a plan.
2
Review and adjust the plan
Check the files to be changed and the implementation steps. If needed, refine the plan with follow-up questions.
3
Switch to CODE mode and execute
Switch the mode to CODE and request execution. The plan remains in the previous conversation, so it carries over seamlessly.
Which mode should you choose?
You know what to change
CODE — Fastest when your instructions are specific
You only have a goal
AGENT — When you want to delegate the task breakdown too
You don't know the code yet
ASK — For safely exploring and understanding
You're worried about the scope of impact
PLAN — When you want a review before executing

