
| Mode | File Changes | Command Execution | One-line Summary |
|---|---|---|---|
| CODE | O | O | Performs the requested task directly |
| AGENT | O | O | Give it a goal and it breaks the work down on its own |
| ASK | X | X | Ask questions and get answers |
| PLAN | X | X | Draft a plan before execution |
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

| CODE | AGENT | |
|---|---|---|
| Task order | Follows a set procedure (investigate → execute → review) | The AI decides on its own |
| Helper agents | None | Spawns them itself for parallel work when needed |
| Build verification | Recommended (the model decides to run it) | Required (must verify after editing files) |
| Speed | Stable | Fast, more dependent on model quality |
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.Draft a plan in PLAN mode
When you request the feature you want, the AI explores the codebase and produces a plan.
Review and adjust the plan
Check the files to be changed and the implementation steps. If needed, refine the plan with follow-up questions.
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
Based on the model you’re using
| Model in use | Recommended mode | Why |
|---|---|---|
| Frontier model (latest high-performance commercial model) | AGENT | It decides task breakdown and verification timing well on its own |
| Lightweight or local model | CODE | It follows a set procedure, so results are stable |

