Cline home page
GitHub
Discord
Install Cline
Install Cline
Search...
Search...
Navigation
Features
Plan & Act
Getting Started
What is Cline?
Model Selection Guide
Installing Cline
Task Management in Cline
Context Management
For New Coders
Improving Your Prompting Skills
Prompt Engineering Guide
Cline Memory Bank
Features
Auto approve
Checkpoints
Cline rules
Drag & Drop
Plan & Act
Workflows
Focus Chain
Auto Compact
Editing Messages
@ Mentions
Slash Commands
Commands & Shortcuts
Exploring Cline's Tools
Cline Tools Reference Guide
New Task Tool
Remote Browser Support
Enterprise Solutions
Cloud Provider Integration
Custom Instructions
MCP Servers
Security Concerns
MCP Servers
MCP Overview
Adding MCP Servers from GitHub
Configuring MCP Servers
Connecting to a Remote Server
MCP Made Easy
MCP Server Development Protocol
MCP Transport Mechanisms
Provider Configuration
Anthropic
Claude Code
AWS Bedrock
GCP Vertex AI
LiteLLM & Cline (using Codestral)
VS Code Language Model API
xAI (Grok)
Mistral
DeepSeek
Groq
Cerebras
Doubao
Fireworks AI
Z AI (Zhipu AI)
Ollama
OpenAI
OpenAI Compatible
OpenRouter
SAP AI Core
Vercel AI Gateway
Requesty
Running Models Locally
Read Me First
LM Studio
Ollama
Troubleshooting
Terminal Quick Fixes
Terminal Troubleshooting
More Info
Telemetry
On this page
Plan Mode: Think First
Act Mode: Build It
Workflow Guide
1. Start with Plan Mode
2. Switch to Act Mode
3. Iterate as Needed
Best Practices
Planning Phase
Implementation Phase
Power User Tips
Enhancing Planning
Common Patterns
When to Use Each Mode
Contributing
Features
Plan & Act
Copy page
Copy page
Plan & Act modes represent Cline’s approach to structured AI development, emphasizing thoughtful planning before implementation. This dual-mode system helps developers create more maintainable, accurate code while reducing iteration time.
Plan Mode: Think First
Plan mode is where you and Cline figure out what you’re trying to build and how you’ll build it. In this mode, Cline:
Can read your entire codebase to understand the context
Won’t make any changes to your files
Focuses on understanding requirements and creating a strategy
Helps identify potential issues before you write a single line of code
Act Mode: Build It
Once you’ve got a plan, you switch to Act mode. Now Cline:
Has all the building capabilities at its disposal
Can make changes to your codebase
Still remembers everything from your planning session
Executes the strategy you worked out together
Workflow Guide
When I’m working on a new feature or fixing a complex bug, here’s what works for me:
I start in Plan mode and tell Cline what I want to build
Cline helps me explore the codebase, looking at relevant files
Together we figure out the best approach, considering edge cases and potential issues
When I’m confident in our plan, I switch to Act mode
Cline implements the solution based on our planning
1. Start with Plan Mode
Begin every significant development task in Plan mode:
In this mode:
Share your requirements
Let Cline analyze relevant files
Engage in dialogue to clarify objectives
Develop implementation strategy
2. Switch to Act Mode
Once you have a clear plan, switch to Act mode:
Act mode allows Cline to:
Execute against the agreed plan
Make changes to your codebase
Maintain context from planning phase
3. Iterate as Needed
Complex projects often require multiple plan-act cycles:
Return to Plan mode when encountering unexpected complexity
Use Act mode for implementing solutions
Maintain development momentum while ensuring quality
Best Practices
Planning Phase
Be comprehensive with requirements
Share relevant context upfront
Point Cline to relevant files if he hasn’t read them
Validate approach before implementation
Implementation Phase
Follow the established plan
Monitor progress against objectives
Track changes and their impact
Document significant decisions
Power User Tips
Enhancing Planning
Use Plan mode to explore edge cases before implementation
Switch back to Plan when encountering unexpected complexity
Leverage
file reading
to validate assumptions early
Have Cline write markdown files of the plan for future reference
Common Patterns
When to Use Each Mode
I’ve found Plan mode works best when:
Starting something new where the approach isn’t obvious
Debugging a tricky issue where I’m not sure what’s wrong
Making architectural decisions that will affect multiple parts of the codebase
Trying to understand a complex workflow or feature
And Act mode is perfect for:
Implementing a solution we’ve already planned out
Making routine changes where the approach is clear
Following established patterns in the codebase
Running tests and making minor adjustments
Contributing
Share your experiences and improvements:
Join our
Discord community
Participate in discussions
Submit feature requests
Report issues
Remember: The time invested in planning pays dividends in implementation quality and maintenance efficiency.
Drag & Drop
Workflows
Assistant
Responses are generated using AI and may contain mistakes.