Skip to content
Unpaid tier and Google One users: Gemini CLI was replaced by Antigravity CLI on June 18th, 2026. To learn more, see our blog post.

Memory Import Processor

The Memory Import Processor is a feature that lets you modularize your GEMINI.md files by importing content from other files using the @file.md syntax.

This feature enables you to break down large GEMINI.md files into smaller, more manageable components that can be reused across different contexts. The import processor supports both relative and absolute paths, with built-in safety features to prevent circular imports and ensure file access security.

Use the @ symbol followed by the path to the file you want to import:

# Main GEMINI.md file