Harness Notes

Migration

Updated 2026-11-22,

On this page

Moving between harnesses: what each one can import from another, which of another harness's files it reads as-is, and what it can export.

QuestionCursor Agentchecked at 2026.10.12-d47ca18
Import setup from another harness

Partly

There is no import command or migration wizard. Instead the CLI reads Claude Code and Codex files in place every time it starts: Claude Code hooks from .claude/settings.json, .claude/settings.local.json and ~/.claude/settings.json; Claude Code plugins; skills; subagents; commands; and CLAUDE.md. This is governed by the Include Third-Party Plugins, Skills, and Other Configs setting, which is on by default.

Claude Code settings such as permissions, model or env are not read. Configure those in ~/.cursor/cli-config.json or .cursor/cli.json.

The built-in /migrate-to-skills skill only converts Cursor's own rules and commands to skills.

Other harnesses' files it reads directly

It reads AGENTS.md, CLAUDE.md and CLAUDE.local.md; skills in .claude/skills, .codex/skills, .agents/skills and the matching home-directory folders; and subagents in .claude/agents, .codex/agents, ~/.claude/agents and ~/.codex/agents. It also reads Claude Code hooks from .claude/settings*.json and ~/.claude/settings.json, and enabled Claude Code plugins. In CLI 2026.10.12 it also loads commands from .claude/commands and ~/.claude/commands, and installed Claude Code plugins listed in ~/.claude/plugins/installed_plugins.json, honoring enabledPlugins. Those plugins bring their skills, agents, commands, hooks and MCP servers.

Not read: ~/.claude/CLAUDE.md, .claude/rules/, GEMINI.md, project .mcp.json, ~/.claude.json MCP servers, and Codex config.toml. Add MCP servers to .cursor/mcp.json or ~/.cursor/mcp.json.

Claude Code Notification and PermissionRequest hooks are not supported.

When names clash, .cursor/ skills and subagents win over .claude/ and .codex/.

Import sessions or history

Not supported

No. The CLI can't import Claude Code, Codex or other harnesses' sessions; --resume only opens Cursor's own chats under ~/.cursor/chats.

In CLI 2026.10.12 a hidden, undocumented -p-only flag, --conversation-history-file, takes history in Cursor's internal format, not other tools' transcripts.

Export for use elsewhere

Partly

There is no export command for setup or sessions. Each chat is mirrored as JSONL at ~/.cursor/projects/<slug>/agent-transcripts/<chatId>/<chatId>.jsonl, which you can copy yourself. Setup kept in shared formats (AGENTS.md, .agents/skills) is read by other harnesses directly. Prefixing a message with & hands the chat to a Cloud Agent, but that stays inside Cursor.

Share links are created from the Cursor editor (Teams and Enterprise plans), not the CLI.

Commands

No commands recorded.

Notes and sources

Cursor Agent, 7 sources
Import setup from another harness, 2
Other harnesses' files it reads directly, 5
Import sessions or history, 1
Export for use elsewhere, 2