# CLAUDE.md Import

> A line in CLAUDE.md that pulls in one more file.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** @path import, @ import, Memory import

## Think of it like

It is like a recipe that says see page 12 for the sauce.

## Definition

An import pulls another file into CLAUDE.md. You write @ and then the path, such as @docs/testing.md. Claude Code loads that file into the session beside the CLAUDE.md that names it. A path is read from the folder of the file that holds it. An imported file can import more files, up to four steps deep. A path inside backticks is left as plain text and is not loaded.

## Example

Emma already has a long testing guide in docs. Instead of copying it, she adds one @ line to CLAUDE.md that points to it.

## Example code

```markdown
See @docs/testing.md for how we test.
```

One line that loads the testing notes too.

## Why it matters

You keep one copy of a document and still give it to Claude.

## Common mistake

Importing big files you rarely need. They load every time, so a path rule may fit better.

## Three principles

- **@ and a path.** Pulls a file in.
- **Up to four steps.** Imports can chain.
- **Backticks stop it.** Plain text, not loaded.

## Related terms

- [CLAUDE.md](https://learn.benibix.com/term/ai/claude-md)
- [Claude Code Rules](https://learn.benibix.com/term/ai/claude-code-rules)
- [Markdown](https://learn.benibix.com/term/development/markdown)

## Taught in

- [CLAUDE.md and Auto Memory](https://learn.benibix.com/learn/ai-claude-code/claude-md-and-auto-memory): Claude Code, 7/16

![One CLAUDE.md line with an @ path pulls a second file into the session.](https://learn.benibix.com/diagrams/cc-claude-md-import.svg)

---

Source: https://learn.benibix.com/term/ai/claude-md-import
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-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
