GEMINI.md vs Cline rules
Every comparison page on the web is a capability table someone wrote from the vendor docs in an afternoon. None of them can tell you how many real repositories ship each file, how long the median one runs, or how often two of them turn up in the same project. Those answers need a corpus, and RuleStack counts one every night.
| Format | GEMINI.md 2026-08-01 | Cline rules 2026-08-01 |
|---|---|---|
| Asserted — what the docs say it can express | ||
| File | GEMINI.md | .clinerules |
| Status | vendor | vendor |
| Cross-tool | No | No |
| Tools that read it |
|
|
| Frontmatter | No | No |
| Glob targeting | No | No |
| Imports other files | Yes | No |
| Nested / per-directory | Yes | No |
| Multiple files | Yes | Yes |
| User-level scope | Yes | Yes |
| When it applies | Hierarchical memory: a global ~/.gemini/GEMINI.md, then the project file, then nested files, concatenated from broadest to narrowest. | Always in scope. Either a single .clinerules file or a .clinerules/ directory whose markdown files are all loaded. |
| Size limits | None | None |
| Measured — counted from real repositories on 2026-08-03 | ||
| Repositories carrying it | 33 | 79 |
| Share of indexed repos | 4.8% | 11.4% |
| Files indexed | 46 | 305 |
| Median length (words) | 257 | 262 |
| 90th percentile length | 1,704 | 1,412 |
| Files naming commands | 52.2% | 34.1% |
| Files containing code | 45.6% | 33.1% |
| Median quality score | 60 | 54 |
| Median repository stars | 11,297 | 1 |
How often they turn up together
A capability table cannot answer this at all. Of the repositories carrying the first format, this is the share that also carry the second — counted, both directions, on 2026-08-03.
GEMINI.md + Cline rules
2026-08-037
repositories carry both. That is 21.2% of everything with GEMINI.md, and 8.9% of everything with Cline rules.
What each one is for
GEMINI.md
2026-08-01Gemini CLI's memory file, structurally close to CLAUDE.md — @imports and a user-scope layer — which is why repos that carry both usually carry near-identical text in each.
Strengths
- @path imports and a global user file, same composition model as CLAUDE.md
- Explicit hierarchy from global to local
Weaknesses
- Google-only
- No glob targeting
Cline rules
2026-08-01A single file or a folder of files, all always-on. The folder form is the simplest way any format here lets you split rules into topics without also learning an activation model.
Strengths
- Directory form splits rules by topic with zero configuration
- Toggleable rule sets for switching context between tasks
Weaknesses
- Cline-only
- Everything is always-on — no targeting, so the folder form costs context
