Elffuss BraidHub

kikocis/continue public

627d7d0d1f85 · 1.7 KiBRawPermalink
1---
2title: "Plan Mode"
3description: "Explore and understand code safely with read-only tools"
4---
5
6## What is Plan mode?
7
8Plan mode is a restricted environment that provides read-only access to your codebase. It's designed for safe exploration, understanding code, and planning changes without making any modifications.
9
10![Plan mode in action](/images/plan-mode.gif)
11
12### Key features
13
14- **Read-only tools**: Access files, search, and analyze without risk
15- **Safe exploration**: Perfect for understanding unfamiliar codebases
16- **Planning focus**: Develop implementation strategies before execution
17- **MCP support**: Works with all MCP tools alongside built-in read-only tools
18
19### How it works
20
21Plan mode filters the available tools to only include read-only operations. This means you can:
22- Read any file in your project
23- Search through code with grep and glob patterns
24- View repository structure and diffs
25- Fetch web content for additional context
26- Use all MCP tools
27
28But you cannot:
29- Create, edit, or delete files
30- Run terminal commands
31- Make any system changes
32
33### Getting started
34
35Select "Plan" from the mode selector below the chat input, or use `Cmd/Ctrl + .` to cycle through modes.
36
37![Plan mode selector](/images/plan-mode-selector.png)
38
39For detailed information about tools and usage, see the [Agent documentation](/features/agent/how-it-works), which covers both Agent and Plan modes.
40
41### Common workflow
42
431. **Start in Plan mode** to explore and understand
442. **Develop your approach** with the model's help
453. **Switch to Agent mode** when ready to implement
46
47<Tip>
48 Plan mode shares the same interface and context features as Chat and Agent modes. You can use `@` context providers and highlight code just like in other modes.
49</Tip>