Gemini CLI — Rules
- File format
- Markdown
- Discovery path
-
GEMINI.md - Global install path
-
~/.gemini - Syllago install method
- Symlink, Direct copy
- Symlink support
- Yes
Features
How each feature converts to syllago's canonical format. See format conversion for what these statuses mean.
Fields
Native frontmatter or config fields this provider exposes. The first column is the provider's own field name; the canonical key column links to syllago's cross-provider equivalent.
| Provider field | Conversion | Canonical key | Summary |
|---|---|---|---|
context.fileName | Not portable Conversion type: Not portable Unique to this provider — can’t be carried across providers. Learn more → | — | Default GEMINI.md filename can be overridden with one or more alternative names via the context.fileName setting. |
Other features
Behaviors, conventions, and capabilities that aren't tied to a single named field — things like path-based activation, discovery rules, and lifecycle behavior.
| Feature | Conversion | Summary |
|---|---|---|
auto_memory | Translated Conversion type: Translated Actively mapped to the target provider’s equivalent field during conversion. Learn more → | memory_command: Gemini CLI /memory command saves notes that persist across sessions as rule-like content |
file_imports | Translated Conversion type: Translated Actively mapped to the target provider’s equivalent field during conversion. Learn more → | file_imports extension: Gemini CLI supports including external file content into rule files via import directives |
hierarchical_loading | Translated Conversion type: Translated Actively mapped to the target provider’s equivalent field during conversion. Learn more → | hierarchical_context_loading: Gemini CLI loads GEMINI.md files from multiple directory levels with defined precedence |
| File import directives | Preserved Conversion type: Preserved Syntax survives conversion but the target provider may not interpret it. Learn more → | GEMINI.md files can inline other files using @file.md syntax for both relative and absolute paths. |
| /memory management command | Not portable Conversion type: Not portable Unique to this provider — can’t be carried across providers. Learn more → | Slash command for showing, reloading, and appending to the active context files at runtime. |
| Hierarchical GEMINI.md loading | Not portable Conversion type: Not portable Unique to this provider — can’t be carried across providers. Learn more → | Loads GEMINI.md files from global, workspace, and just-in-time tiers and concatenates them as system context for every prompt. |
Sources
| Source |
|---|
| https://raw.githubusercontent.com/google-gemini/gemini-cli/main/docs/cli/gemini-md.md |