Short answer: most of your Claude Code setup already works in Cursor. Cursor reads a CLAUDE.md in the project root the same way it reads AGENTS.md, applies it to every conversation, and loads skills from .claude/skills/ and ~/.claude/skills/. To carry the conversation as a file, export it from Claude Code and attach it in Cursor. The steps below cover that file workflow.
The first thing I'd do: open the repo in Cursor, start a new chat and ask it to quote the first rule in your CLAUDE.md. If it can, your instructions made it. Then carry the session over with the steps below.
Before switching
Have both tools installed and signed in. Finish the outgoing agent's current turn and stop it editing. In its working directory, record:
pwd
git branch --show-current
git status --short
git log -1 --oneline
Use that same checkout in the receiving tool. For another checkout or machine, transfer the intended code changes first—for example, commit reviewed changes on the task branch, push, then fetch and check out that commit on the other side. Transfer raw conversation exports separately. Confirm that the receiving agent can open the exact export path and sees the expected code state before continuing.
Right now: carry the session over
Per the Claude Code commands docs, /export [filename] exports the current conversation as plain text. With a filename it writes straight to that file. In the Claude Code session:
/export claude-session.txt
Then in Cursor, attach the file with an @ mention (Cursor's context docs list files and folders as things you can reference) and ask:
@claude-session.txt is an exported Claude Code conversation about this task.
Compare it with the current files and git status. List what's done, what's
half-done and what we decided, and flag anything in the chat the code doesn't
match. Then name the single next step. Don't change any files yet.
The reconcile step is the point. The chat says what was intended, the files say what happened. Keep the export out of git, since a raw conversation can contain things you don't want committed.
If you switch often, a committed HANDOFF.md is the habit that works with any pair of agents. The template and the AGENTS.md rule that goes with it are in Claude Code to Codex handoff, and they work the same with Cursor on the receiving end.
What Cursor reads from your Claude Code setup
What I found in Cursor's docs, checked against each Claude Code item:
| In your Claude Code setup | In Cursor | Source |
|---|---|---|
CLAUDE.md in the project root |
Read the same way as AGENTS.md, and always applied, regardless of any alwaysApply setting |
Cursor help: rules |
CLAUDE.md with the Cursor CLI |
The CLI reads AGENTS.md and CLAUDE.md at the project root and applies them as rules alongside .cursor/rules |
Cursor CLI docs |
AGENTS.md |
Read in the project root and in subdirectories. Nested files are combined, and the more specific one wins | Cursor rules docs |
.claude/skills/ and ~/.claude/skills/ |
Loaded "for compatibility", next to .cursor/skills/ and .agents/skills/ |
Cursor skills docs |
Hooks in .claude/settings.local.json, .claude/settings.json and ~/.claude/settings.json |
Loaded and run when Include Third-Party Plugins, Skills, and Other Configs is on (Settings > Agents > Third-Party Imports), which is the default. Claude hook names are mapped to Cursor's. Notification and PermissionRequest aren't supported |
Cursor third-party hooks |
Subagents in .claude/agents/ and ~/.claude/agents/ |
Loaded for Claude compatibility. If a subagent with the same name is in .cursor/agents/, the .cursor/ one wins |
Cursor subagents docs |
MCP servers in .mcp.json |
Not mentioned in the Cursor pages I checked. Cursor's own files are .cursor/mcp.json and ~/.cursor/mcp.json |
Cursor MCP docs |
@path imports inside CLAUDE.md |
Not mentioned in the Cursor pages I checked | |
CLAUDE.local.md, .claude/CLAUDE.md, .claude/rules/ |
Not mentioned in the Cursor pages I checked | |
| The conversation | Manual route: export the conversation from Claude Code with /export, then attach the exported file in Cursor. |
Claude Code commands |
The import row is the one that matters on a mixed team. If your CLAUDE.md is just @AGENTS.md, the setup from AGENTS.md vs CLAUDE.md, Cursor still gets the shared rules, because it reads AGENTS.md directly. I wouldn't put anything in a separate imported file that Cursor needs to see, unless you've checked it does.
The local and nested Claude files are the other gap. A personal CLAUDE.local.md, or rules in .claude/rules/, are things Claude Code loads and Cursor's docs don't mention. If a rule matters in both tools, it belongs in AGENTS.md.
The hooks row cuts the other way: it's on by default, so your Claude Code hooks, including personal ones in .claude/settings.local.json, start running in Cursor without you doing anything. Check the supported events table before you count on one. For MCP, merge the required mcpServers entries into .cursor/mcp.json, preserving existing entries. Translate environment references—for example, ${TOKEN} in Claude configuration becomes ${env:TOKEN} in Cursor. Claude's ${TOKEN:-default} syntax is not among Cursor's documented interpolation forms; configure the intended environment value explicitly. Check commands and paths, complete any required sign-in, then confirm the server and expected tools appear in Cursor's Customize page.
Use scoped rules when the root file is too broad
Both tools load the root CLAUDE.md as session context. Keep project-wide guidance short, and use .cursor/rules/*.mdc for Cursor-specific rules that should apply only to matching files.
Cursor's answer is project rules: .mdc files in .cursor/rules/ with frontmatter that says when they apply. A plain .md file in that folder is ignored, per the rules docs, so the extension matters. Something like:
---
description: Billing module conventions
globs: src/billing/**
alwaysApply: false
---
- Money is integer cents. Never floats.
- Every change to src/billing/ needs a test in tests/billing/.
Claude Code doesn't read .cursor/rules/ during a normal session. Per the Claude Code memory docs, /init reads .cursor/rules/ and .cursorrules when it generates a CLAUDE.md, and that's a one-time pass. So the split I'd use when people work in both tools:
- Rules everyone needs:
AGENTS.md, with@AGENTS.mdat the top ofCLAUDE.md. - Scoped rules only Cursor needs:
.cursor/rules/*.mdc. - Scoped rules only Claude Code needs:
.claude/rules/.
Skills: reuse the folder, then verify the workflow
Cursor discovers skills in .claude/skills/ and ~/.claude/skills/, so you can reuse those directories. Open Customize > Skills, confirm the expected skill appears, and invoke /skill-name with a harmless sample task. Check its referenced scripts and resources, environment variables, and any Claude-specific frontmatter or shell substitutions. If it is missing, restart Cursor and check again; if execution differs, adapt the workflow using Cursor's documented skill features.
One catch from the same page: Cursor doesn't copy ~/.agents/skills/ or unsynced local skills to Cloud Agents or self-hosted workers. If a skill has to work there, keep it in the repo.
Plans, artifacts and the reverse direction
Plans and reports carry over if Cursor can open them. A file in the repo is the dependable case. If Claude Code wrote the plan as HTML, convert it or keep it in semantic tags; the script and worked example are in HTML for humans, Markdown for agents. If the artifact lives in claude.ai, sharing a Claude Code artifact with a Codex or Cursor teammate covers the routes, and the external sharing post covers the case where your org has turned sharing off. For conversion limits, see what survives HTML-to-Markdown conversion.
Going back from Cursor to Claude Code, there's a native path. The commands docs list /import cursor, which brings Cursor configuration on your machine into Claude Code, including instruction files, MCP servers, commands, subagents and skills. Importing from Cursor needs v2.1.265 or later, and --dry-run previews it without writing anything. It isn't everywhere: the commands docs say /import isn't available on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry or Claude Platform on AWS, through a Claude apps gateway, or when feature-flag fetching is turned off. The memory docs say the instruction part is a one-time copy appended to the matching CLAUDE.md. A copy drifts, so for shared rules I'd still use the @AGENTS.md import.
Related migration guides
Where Factrove fits
None of the steps above need Factrove. A checked-in plan is easy to carry with the task, and an attachment or another accessible shared location can work too. For repeated handoffs, the remaining problem is keeping one discoverable reference to the current artifact for both teammates and their agents.
That gap is what Factrove is for. The idea is that a plan gets one ID, a page people can read and Markdown that Cursor or Claude Code can pull. It's planned and not released, and CLI syntax may change. Until then, I'd commit the plan next to the code.
Factrove is not available yet; CLI and file formats aren't final. Read the planned artifact workflow, join the waitlist, or follow @thetomweiss on X for build notes.