[KongchangAI]
ConceptGemini配置文件

GEMINI.md

A context configuration file used by Gemini CLI, supporting three levels: global, project, and subfolder. It is used to persistently inject project information, coding standards, and personal preferences into the AI. Content from multiple levels is automatically merged and applied.

Core Facts

Timeline (last 90 days)

Nov 2

The advice for first-time users is: first get familiar with slash commands such as `/plan`, `/model`, and `/auth` on a small project; for complex tasks, insist on advancing in phases and continue only after validating each phase; establish GEMINI.md early to accumulate project conventions.

Unverified50%
Oct 24

Claude Code uses CLAUDE.md and Cursor uses rules files, both of which belong to the same category of agent instruction files as GEMINI.md.

Unverified50%
Oct 23

Gemini CLI reads GEMINI.md by default, but AGENTS.md can be added to the list via the context file name setting.

Unverified60%
Oct 23

Claude Code uses its own name CLAUDE.md for the same concept as AGENTS.md, while Gemini CLI uses GEMINI.md.

Unverified50%
Oct 16

Copilot CLI loads `AGENTS.md`, `.github/copilot-instructions.md`, `~/.copilot/copilot-instructions.md`, `CLAUDE.md`, and `GEMINI.md` all merged together at startup.

Unverified50%
Oct 15

The author argues that the files responsible for instructions (AGENTS.md, CLAUDE.md, GEMINI.md, .cursorrules) keep changing, but the underlying facts do not change, so facts should be defined once and all instruction files should point back to the same source.

Unverified50%
Oct 14

If a repository uses multiple AI coding tools at the same time, you can maintain one main instruction file and then point to it with symbolic links or brief forwarding files, avoiding inconsistencies in rules across multiple files.

Unverified50%
Oct 14

AGENTS.md is promoted by teams such as OpenAI and positioned as a cross-tool universal agent instruction file; GEMINI.md is the project context file read by Gemini CLI; their format requirements are basically the same as those of CLAUDE.md: written in Markdown, placed in the repository root, and loaded automatically at startup.

Unverified50%
Oct 14

GitHub Copilot CLI reads and merges AGENTS.md, CLAUDE.md and GEMINI.md in the repository, and the documentation does not define the precedence among them.

Unverified50%
Oct 5

Gemini CLI automatically loads three levels of GEMINI.md files—global, project, and folder level—without requiring any additional configuration.

Unverified60%

4 more timeline events

All Facts (18)

Verified

Gemini CLI uses TOML as the configuration format for custom commands, with command files stored in the project's .gemini/commands/ directory.

80%
Verified

Gemini CLI defines project-level rules and preferences through a GEMINI.md configuration file

70%
Unverified

When GEMINI.md files exist at multiple levels simultaneously, their contents are merged and injected into the context.

90%
Unverified

GEMINI.md is a Markdown-format instruction file whose contents are automatically injected as context to the model at the start of every Gemini CLI session.

90%
Unverified

Gemini CLI reads GEMINI.md by default, but AGENTS.md can be added to the list via the context file name setting.

60%
Unverified

Gemini CLI automatically loads three levels of GEMINI.md files—global, project, and folder level—without requiring any additional configuration.

60%
Unverified

The advice for first-time users is: first get familiar with slash commands such as `/plan`, `/model`, and `/auth` on a small project; for complex tasks, insist on advancing in phases and continue only after validating each phase; establish GEMINI.md early to accumulate project conventions.

50%
Unverified

Claude Code uses CLAUDE.md and Cursor uses rules files, both of which belong to the same category of agent instruction files as GEMINI.md.

50%
Unverified

Claude Code uses its own name CLAUDE.md for the same concept as AGENTS.md, while Gemini CLI uses GEMINI.md.

50%
Unverified

Copilot CLI loads `AGENTS.md`, `.github/copilot-instructions.md`, `~/.copilot/copilot-instructions.md`, `CLAUDE.md`, and `GEMINI.md` all merged together at startup.

50%
Unverified

The author argues that the files responsible for instructions (AGENTS.md, CLAUDE.md, GEMINI.md, .cursorrules) keep changing, but the underlying facts do not change, so facts should be defined once and all instruction files should point back to the same source.

50%
Unverified

AGENTS.md is promoted by teams such as OpenAI and positioned as a cross-tool universal agent instruction file; GEMINI.md is the project context file read by Gemini CLI; their format requirements are basically the same as those of CLAUDE.md: written in Markdown, placed in the repository root, and loaded automatically at startup.

50%
Unverified

If a repository uses multiple AI coding tools at the same time, you can maintain one main instruction file and then point to it with symbolic links or brief forwarding files, avoiding inconsistencies in rules across multiple files.

50%
Unverified

GitHub Copilot CLI reads and merges AGENTS.md, CLAUDE.md and GEMINI.md in the repository, and the documentation does not define the precedence among them.

50%
Unverified

The contents of the three-tier GEMINI.md are injected into the context in the order global → project → subfolder, with content accumulating additively rather than overwriting each other.

50%
Unverified

GEMINI.md should document project-specific information (such as non-obvious build commands, naming conventions, and common pitfalls) rather than general knowledge the model already possesses.

50%
Unverified

The global GEMINI.md file is typically located at ~/.gemini/GEMINI.md in the user's home directory, the project file is located at the root of the Git repository, and the subfolder file is located under any subdirectory.

50%
Unverified

The /init command reads the project structure and generates a draft GEMINI.md within seconds.

50%

Source Articles