Learning resourcesReviewed · OpenAI

Import from another agent: ChatGPT desktop and Codex CLI

This guide helps Claude Code, Claude Cowork and Cursor users import their setup into ChatGPT desktop or Codex CLI, but supported sources differ and some items need further setup. It explains importing instructions, settings, projects and recent work, along with configuration mappings and checks to make afterward.

Researched 15 Nov 2026

In short.

This guide explains importing existing agent setup for people moving from Claude Code, Claude Cowork or Cursor into ChatGPT desktop or Codex CLI, but compatibility varies by destination and some connections need manual follow-up. Desktop supports all three sources and offers automatic updates; CLI supports Claude Code and Cursor and imports up to 50 chats from the last 30 days. The page provides setup steps, configuration mappings and review guidance for permissions, connections, hooks and prompts. No software was run, so actual import behavior and conversion fidelity are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://learn.chatgpt.com/docs/import.md]: desktop and CLI instructions, automatic updates, supported-item mappings, completion steps and review caveats. Linked pages, including the documentation index and detailed configuration references, are excluded. Illustration captions are present, but visual interfaces were not inspected. No software was executed; actual imports, authorization, synchronization, conversion fidelity and preservation of source setup were not assessed in use.

The overview

Identity

The resource is the documentation page “Import from another agent” at [https://learn.chatgpt.com/docs/import.md]. It explains the built-in import flows in the ChatGPT desktop app and Codex CLI, covering supported setup, projects and recent work.

Assessment

The guide is useful for understanding what can move between the named assistants and what needs attention afterward. Its most practical details are the separate desktop and CLI instructions, explicit configuration mappings and warnings about behavior that may differ after import. It does not establish compatibility for a particular project or integration.

Users

The desktop instructions serve users bringing work from Claude Code, Claude Cowork or Cursor. The CLI instructions serve Claude Code and Cursor users who want to continue in Codex. Beginners get navigation steps; developers get details about configuration files, external tool connections, hooks, command prompts and subagents.

Capabilities

The page lists support for instructions, settings, skills, plugins, existing project folders, Claude Code project memories, recent chats, MCP server configuration, hooks, slash commands and subagents. The import flow lets users select supported items rather than importing everything.

Documented mappings include instruction files to AGENTS.md, settings.json to config.toml, slash commands to skills, and MCP settings, hooks and subagents to their Codex equivalents. Projects use the same existing folders. Desktop also offers automatic updates and an import history view.

Using it

Requirements

Users need access to the destination application and a supported source setup. The flow reads user setup from files on the machine and project setup from selected repositories or folders. Imported plugins or connections may require authorization or further configuration. Minimum application versions, operating system support and subscription eligibility are not specified.

Mechanism

The importer detects supported setup and recent work, imports selected items, checks whether connections need setup and displays follow-up status. The page states that importing leaves the existing source-agent setup unchanged.

When Codex CLI is connected to a local daemon or remote server, it searches that server for user settings and recent chats. It also checks the current project directory when available. The page does not explain the underlying conversion rules or how conflicting destination settings are resolved.

Setup

In ChatGPT desktop, open Settings > Import. If that section is unavailable, use General > Import other agent setup. Select Import, choose the source agents, choose items and continue. Afterward, open an imported project or chat. A status card identifies connections needing attention; select Finish to complete their setup.

In an idle Codex CLI session, enter /import, choose Claude Code or Cursor, select supported setup, project files and recent chats, then review the imported configuration. Desktop automatic updates can be enabled separately in Settings > Import.

Example

For a hypothetical move from Claude Code to Codex CLI, a developer enters /import in an idle session, selects Claude Code and chooses a project’s supported setup and recent chats. The guide describes instructions mapping to AGENTS.md and settings.json mapping to config.toml. The developer then reviews imported permissions, connections and hooks before continuing work. This is an illustrative walkthrough; no import was executed.

Assessment & evidence

Limitations

Claude Cowork is listed as a desktop import source, but not a CLI source. The supported-items table limits recent chats to the last 30 days, and CLI adds a maximum of 50 chats. A desktop chat-count maximum is not stated.

Imported permissions, MCP authentication and transports, hooks, plugins and command-style prompts may need review or manual follow-up. Prompts using arguments, shell interpolation or file-path placeholders receive particular attention. Conflict resolution, duplicate handling, credential storage and data retention are not explained.

Reasoning

For someone who wants to retain existing agent setup, the documented selection flow and file mappings provide a concrete migration starting point. However, a mapped configuration does not establish equivalent behavior: the page itself flags permissions, hooks, authentication and prompt syntax for review. Suitability therefore depends on which source and destination are involved and how much custom behavior the setup contains.

Alternatives

The two documented routes are ChatGPT desktop and Codex CLI. Desktop is the listed route for Claude Cowork and has documented automatic updates. CLI supports Claude Code and Cursor through /import and describes server-side discovery when connected to a daemon or remote server. The page does not compare other migration tools or provide a manual migration procedure.

Evidence

The evidence is the complete documentation page at [https://learn.chatgpt.com/docs/import.md]. It supports the described interface steps, source support, item mappings, chat limits and review guidance. It contains no completed-import results, compatibility measurements or independent evaluation demonstrating successful migration.

Access & freshness

Costs

The page gives no prices or import fees and does not identify required subscription plans. Costs for the destination applications or connected services are unknown from this evidence.

Rights

The page does not state a documentation licence or redistribution terms. It also does not explain ownership or reuse permissions for imported instructions, skills, plugins or chats. Those rights cannot be established from this page.

Freshness

The supplied documentation snapshot was captured on 15 November 2026 at 15:14:58 UTC. The page states no publication date, update date or application version. It provides two possible desktop settings locations, so navigation can vary. Compatibility beyond the captured snapshot is unknown.

Actions

Choose a destination that supports the source agent, then select the setup and recent work you want to import. After importing, review instructions and settings, tool permissions, MCP authentication, hooks and prompts that depend on arguments or paths. Complete any flagged connection setup before relying on it. For desktop synchronization, review the imported setup before enabling automatic updates.

Evidence for this report

selected-page.txtselected · checked 2026-11-15