Skip to content

Migrating from Windsurf

You have been using Windsurf for months. Cascade handles your multi-file edits, Flows keep your conversation context organized, and the inline suggestions feel natural. But you keep reading about features that Windsurf does not have: MCP servers that connect your AI to Jira and databases, skills that teach the agent your team conventions, and autonomous cloud agents that run in parallel. You want to try Cursor, Claude Code, or Codex — but you do not want to lose the workflows you have already built.

This guide maps every Windsurf feature to its equivalent in the three major AI coding tools, shows you how to migrate your configuration, and warns you about the gaps where no direct equivalent exists.

  • A complete feature mapping from Windsurf to Cursor, Claude Code, and Codex
  • Step-by-step instructions for migrating Windsurf rules and configuration
  • Workflow translation for Cascade and Flows to each target tool
  • Honest assessment of what you gain and what you lose with each migration path
  • Configuration files you can copy directly into your new setup

Before migrating, understand where each Windsurf feature lives in the target tool.

Windsurf FeatureCursor EquivalentClaude Code EquivalentCodex Equivalent
Cascade (multi-file agent)Agent Mode (Cmd+I)Default behavior (all sessions)Task execution (cloud agent)
Flows (contextual threads)Composer conversationsConversation sessionsTask threads
Inline suggestionsTab autocompleteN/A (CLI-based)N/A (cloud-based)
Windsurf Rules.cursor/rules/CLAUDE.mdAGENTS.md
MemoriesNotepad + rulesMemory system (CLAUDE.md)AGENTS.md
@-mentions (files)@file, @folder, @codebaseAutomatic file discoveryAutomatic via sandbox
Preview paneBuilt-in browser previewExternal browserN/A
SupercompleteTab predictionsN/AN/A
Model selectionModel picker (GPT-4o, Claude, etc.)Claude models onlyOpenAI models (codex-mini)

Windsurf rules live in .windsurf/rules/ as markdown files. Each target tool uses a different format and location.

Cursor rules live in .cursor/rules/ as markdown files. The format is nearly identical to Windsurf rules.

Terminal window
# Copy your Windsurf rules directly
mkdir -p .cursor/rules
cp .windsurf/rules/*.md .cursor/rules/

Cursor reads all .md files in .cursor/rules/ and includes them in the agent’s context. The content format is compatible — you may only need to update tool-specific references.

What to change after copying:

  • Replace references to “Cascade” with “Agent Mode” or “Composer”
  • Replace references to “Flows” with “conversations” or “sessions”
  • Remove any Windsurf-specific instructions (like “use Supercomplete for…”)
  • Add Cursor-specific instructions if needed (e.g., “use @codebase for broad searches”)

Example migration:

# Before (Windsurf rule)
When using Cascade for multi-file changes, always create a Flow
for the feature so context is preserved across sessions.
# After (Cursor rule)
When using Agent Mode for multi-file changes, keep related changes
in the same Composer conversation so context is preserved.

Cascade to Agent Mode / Claude Code Sessions / Codex Tasks

Section titled “Cascade to Agent Mode / Claude Code Sessions / Codex Tasks”

Windsurf’s Cascade is its multi-file agentic editing feature. Here is how the same workflows translate.

Cascade equivalent: Agent Mode in Composer

In Windsurf, you open Cascade and describe a multi-file task. In Cursor:

  1. Open Composer with Cmd+I (macOS) or Ctrl+I (Windows/Linux)
  2. Ensure Agent Mode is selected (not Ask or Edit mode)
  3. Describe your task the same way you would in Cascade
"Refactor the authentication module to use JWT tokens instead of sessions.
Update all middleware, API routes, and test files. Run the test suite
after making changes."

Agent Mode works like Cascade: it reads files, plans changes, edits multiple files, and can run terminal commands.

Key differences from Cascade:

  • Cursor shows a diff preview before applying changes (you accept or reject each file)
  • You can reference specific files with @filename for more targeted context
  • Cursor’s @codebase searches your entire indexed codebase, similar to Cascade’s full-project awareness

Windsurf Flows let you organize conversations by feature or topic. The equivalent in each tool:

Flows equivalent: Multiple Composer sessions

Cursor does not have a named “Flows” feature, but you can:

  • Open separate Composer conversations for different features
  • Use Notepad to store context that persists across conversations
  • Reference previous conversation context with the history panel

For long-running features, create a Notepad entry with the feature context and reference it in each conversation.

Each target tool offers capabilities that Windsurf does not have.

Windsurf has limited MCP support. Cursor, Claude Code, and Codex all connect to the full MCP ecosystem:

  • Database MCP — query your database directly from the AI conversation
  • GitHub MCP — create PRs, review code, manage issues
  • Atlassian MCP — read Jira tickets and Confluence docs
  • Playwright MCP — run browser automation and E2E tests
  • Context7 MCP — fetch live documentation for any library
// Example: MCP configuration (works in Cursor and Claude Code)
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_TOKEN": "ghp_..." }
},
"database": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres"],
"env": { "DATABASE_URL": "postgresql://..." }
}
}
}

Skills let you install curated instruction sets that teach the AI best practices for specific frameworks:

Terminal window
npx skills add vercel-labs/agent-skills
npx skills add anthropics/claude-code
npx skills add stripe/agent-toolkit

Codex can run multiple tasks in parallel in isolated cloud sandboxes. You can fire off five refactoring tasks and review the results together — something Windsurf’s single-threaded Cascade cannot do.

Be honest about the trade-offs.

Inline suggestions (if migrating to Claude Code or Codex). Windsurf’s Supercomplete and inline suggestions do not exist in CLI or cloud-based tools. If you value inline autocomplete, Cursor is the closest match.

Integrated preview pane. Windsurf has a built-in browser preview. Cursor has some preview capability, but Claude Code and Codex require external browser testing.

Model flexibility. Windsurf lets you switch between GPT-4o, Claude, and other models mid-conversation. Claude Code is Claude-only. Codex uses OpenAI models only. Cursor offers the most model flexibility among the three.

Familiar interface. If you have spent months building muscle memory in Windsurf, any switch requires adjustment time. Budget 1-2 weeks for the transition.

  1. Export your Windsurf rules. Copy all files from .windsurf/rules/ to a temporary location.

  2. Choose your target tool. Cursor for closest feature parity with Windsurf. Claude Code for maximum agentic capability. Codex for parallel cloud execution.

  3. Translate your rules. Follow the configuration migration section above for your chosen tool.

  4. Set up MCP servers. Configure the MCP servers you need (GitHub, database, documentation).

  5. Install relevant skills. Search the skills marketplace for your tech stack.

  6. Test with a representative task. Pick a task you did recently in Windsurf and redo it in the new tool. Compare the experience.

  7. Run both tools for one week. Use Windsurf for comfort tasks and the new tool for exploration. Gradually shift more work to the new tool.

  8. Commit your configuration. Once satisfied, commit .cursor/rules/, CLAUDE.md, or AGENTS.md to your repository so your team can follow.

Rules migrate but the AI ignores some conventions. Windsurf may have applied rules differently than the target tool. If a convention is not being followed, make the instruction more explicit with a concrete code example.

MCP configuration does not transfer. MCP server configuration is tool-specific. You cannot copy Windsurf’s MCP config directly. Set up each MCP server from scratch following the target tool’s documentation.

Windsurf-specific prompts produce worse results. If you developed prompt patterns tuned for Windsurf’s model handling, they may not work as well in other tools. Simplify your prompts and let the target tool’s agent handle the planning.

Missing model access. If you relied on a specific model in Windsurf (e.g., GPT-4o), verify that your target tool provides access to it. Claude Code only supports Claude models. Codex only supports OpenAI models.

Team members still on Windsurf. During a gradual migration, some team members may still use Windsurf while others use the new tool. Commit rules for all tools simultaneously (.windsurf/rules/, .cursor/rules/, CLAUDE.md) until the migration is complete.