# /import Command

> It brings your setup over from a tool you used before.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** /import, claude import, Import from Codex, Import from Cursor

## Think of it like

It is like moving house. You pack your things from the old place and unpack them here.

## Definition

/import brings your setup into Claude Code from Codex, Gemini CLI or Cursor. It brings your rule files, MCP servers, commands, subagents and skills. Add --dry-run to see what it would bring, with nothing written. It is not there when Claude Code runs on a cloud such as Amazon Bedrock.

## Example

Emma used Cursor for a year and has a dozen rules there. She runs /import cursor, picks what to keep, and Claude Code follows the same rules.

## Example code

```console
/import cursor --dry-run
```

See what would come over from Cursor, without writing it.

## Why it matters

Trying a new tool does not mean writing all your setup again from scratch.

## Common mistake

Skipping the dry run. Look at what it will write first, so old rules you no longer want do not come along.

## Three principles

- **From three tools.** Codex, Gemini CLI, Cursor.
- **Brings setup.** Rules, servers, skills.
- **Dry run first.** --dry-run.

## Related terms

- [/init Command](https://learn.benibix.com/term/ai/init-command)
- [OpenAI Codex](https://learn.benibix.com/term/ai/openai-codex)
- [Cursor](https://learn.benibix.com/term/ai/cursor)
- [Model Context Protocol (MCP)](https://learn.benibix.com/term/ai/model-context-protocol)

## Taught in

- [Setup and Config Commands](https://learn.benibix.com/learn/ai-claude-code-commands/setup-and-config-commands): Claude Code Commands, 9/17

![Setup from Codex, Gemini CLI or Cursor flows into Claude Code: instruction files, MCP servers, commands, subagents and skills.](https://learn.benibix.com/diagrams/cmd-import.svg)

---

Source: https://learn.benibix.com/term/ai/import-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
