GEMINI.md: the file Gemini CLI and Antigravity read
GEMINI.md is Gemini CLI's AGENTS.md: project goals, layout, setup commands and conventions, in markdown.
By Himanshu Singh · Updated · How we score →
How many repos have a GEMINI.md?
Of the 434 repos on the leaderboard, 6 pass in full (1%), 1 pass in part (0.2%) and 427 fail (98%).
Why does Gemini CLI need a GEMINI.md?
Gemini CLI's docs describe GEMINI.md as layered, from a global file down to one per component, and sent with every prompt. Of the agents we score, only Gemini CLI reads it (OpenHands only when running a Gemini model), so this check only affects the Gemini CLI score. Google Antigravity, which we don't score, reads and combines GEMINI.md and AGENTS.md from the workspace and its parent folders.
What makes a good GEMINI.md?
- Full pass: GEMINI.md at the repo root with 800 or more characters, counting an AGENTS.md, CLAUDE.md or AGENT.md it imports with a line like
@AGENTS.md. - 80%: 200 to 799 characters.
- 50%: under 200 characters.
- 20%: the file exists but is empty.
- Fail: no GEMINI.md at the repo root.
How checks become a score: methodology.
How do I add a GEMINI.md to my repo?
Add a root GEMINI.md with what you would put in AGENTS.md, or a single @AGENTS.md line to reuse that file. We check only the root file, though Gemini CLI also reads them in subdirectories.
Which AI agents read GEMINI.md?
- Gemini CLI11% of its score
Pass rate by language
- Ruby1 of 11 (9%)
- Python2 of 56 (4%)
- Java1 of 32 (3%)
- Rust1 of 47 (2%)
- TypeScript1 of 88 (1%)
- Go0 of 41 (0%)
- C++0 of 21 (0%)
- JavaScript0 of 16 (0%)
- Kotlin0 of 15 (0%)
- PHP0 of 14 (0%)
- Swift0 of 14 (0%)
- C#0 of 12 (0%)
- Dart0 of 12 (0%)
- C0 of 10 (0%)
- Elixir0 of 7 (0%)
- Haskell0 of 7 (0%)
- Scala0 of 6 (0%)
- Zig0 of 6 (0%)
- Clojure0 of 5 (0%)
GEMINI.md vs AGENTS.md: which to use, and how to keep one source.
Top-scoring repos that pass
- Ruby · 48.1k ★
- apache/superset88.7Python · 75.7k ★
- Rust · 131.8k ★
- Python · 169.4k ★
- TypeScript · 109.2k ★
- apache/seatunnel76.4Java · 9.8k ★
Popular repos that fail it
- TypeScript · 395.3k ★
- react/react75.4JavaScript · 253k ★
- TypeScript · 229.6k ★
- n8n-io/n8n86.9TypeScript · 212.4k ★
- TypeScript · 211.5k ★
- microsoft/vscode82.6TypeScript · 195.9k ★
- ollama/ollama82.6Go · 188.3k ★
- Python · 188.2k ★
Every check, grouped into what to do first: how to make your repo ready for AI coding agents.