What Is GEMINI.md?
The rules file for the Gemini CLI
You saw a GEMINI.md in a repo, or the Gemini CLI mentioned one. It is Google’s context and rules file for the Gemini CLI: a Markdown file that tells Gemini how to work on your project, the stack, the conventions, and the commands to run.
It is the same idea as CLAUDE.md for Claude Code or .cursorrules for Cursor, just Gemini’s own name for it. Here is what goes inside, where it lives, and how it loads.
What goes inside a GEMINI.md
A GEMINI.md holds the same kind of thing every AI rules file holds: your stack and architecture, code conventions and style, the commands to build and test, and boundaries for what the agent should and should not touch. It is plain Markdown, so it is just headings and lists describing your project. If you are writing one, how to write Markdown covers the syntax.
Where GEMINI.md goes, and how it loads
The Gemini CLI reads GEMINI.md hierarchically. It looks for a global one in your home directory (~/.gemini/), one at your project root, and it can also pick up GEMINI.md files further up the directory tree, then combines them into a single context. That layering lets you set broad rules globally and narrow ones per project. For a repo, the file simply sits at the root.
GEMINI.md and the other rules files
Almost every AI coding tool has its own version of this file. GEMINI.md is Gemini’s:
| Tool | Its rules file | From |
|---|---|---|
| Gemini CLI | GEMINI.md | Google’s terminal coding agent |
| Claude Code | CLAUDE.md | Anthropic |
| Cursor | .cursorrules or .cursor/rules/*.mdc | Cursor editor |
| Cross-tool | AGENTS.md | The shared open standard |
The Gemini CLI also understands AGENTS.md, the cross-tool open format, so if you want one file most agents read, that is the safer bet. For the full map by tool, see which AI rules file your tool reads; for what to put inside, see what AGENTS.md and CLAUDE.md are; and for the Cursor version, what a .cursorrules file is.
Reading and editing a GEMINI.md with NoteLoom
A GEMINI.md is plain Markdown, so reading it is just reading Markdown. NoteLoom opens your project folder in the browser and renders it in a clean reading view, and lets you edit it in the source view when you are the one writing the rules for Gemini to load.
To be clear about the boundaries: NoteLoom has no AI and does not connect to the Gemini CLI or any coding tool. It opens, renders, and saves the Markdown file locally; whether Gemini follows the rules stays between you and the CLI.
How you use it: open app.noteloom.cc in Chrome / Edge / Arc, mount your project folder, and open the GEMINI.md to read or edit it. Saved straight to your disk, no cloud, no account.
FAQ
What is a GEMINI.md file?
Where does GEMINI.md go?
What should a GEMINI.md contain?
Is GEMINI.md the same as AGENTS.md?
Can NoteLoom help me read or write a GEMINI.md?
Can I do this with NoteLoom on my phone or in Safari?
Read your GEMINI.md in a clean view
Open NoteLoom in Chrome / Edge / Arc, mount your project folder, and read or edit its GEMINI.md as clean formatted text. Saved straight back to your disk, no software to install and no account to sign up for.