The site that you are currently viewing is a static version of the Software Factory
documentation delivered with the
version v7.2.
For up-to-date documentation, see the
latest version.
Code Companion - Plan
Explore and analyze your code.
2 minute read
Plan Mode in Continue – Safe, Read-Only Code Exploration
Learn how to use Plan Mode in Continue to explore and understand codebases safely with read-only tools, search, and analysis before making changes
What is Plan mode?
Plan 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.

What Are the Key Features of Plan Mode?
- Read-only tools: Access files, search, and analyze without risk
- Safe exploration: Perfect for understanding unfamiliar codebases
- Planning focus: Develop implementation strategies before execution
- MCP support: Works with all MCP tools alongside built-in read-only tools
How Plan Mode Works
Plan mode filters the available tools to only include read-only operations. This means you can:
- Read any file in your project
- Search through code with grep and glob patterns
- View repository structure and diffs
- Fetch web content for additional context
- Use all MCP tools
But you cannot:
- Create, edit, or delete files
- Run terminal commands
- Make any system changes
What Is the Common Workflow for Plan Mode?
- Start in Plan mode to explore and understand
- Develop your approach with the model’s help
- Switch to Agent mode when ready to implement
What Tools Are Available in Plan Mode (Read-Only)
In Plan mode, only these read-only tools are available:
- Read file (
read_file) - Read currently open file (
read_currently_open_file) - List directory (
ls) - Glob search (
glob_search) - Grep search (
grep_search) - Fetch URL content (
fetch_url_content) - View diff (
view_diff)
Info
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.