Skip to content
Agent Friendly Code

Which public repos are easiest for Gemini CLI to work in?

Repos from GitHub, GitLab and Bitbucket, ranked by their Gemini CLI score. Best with 100+ stars: discourse/discourse (95.7).

238 of 434 repos on the board have an AGENTS.md (as of 27 Nov 2026).

Top repos for Gemini CLI

All platforms
GitHub
GitLab
Bitbucket
Rank (best score first)
Score · worst first
Stars · most first
Stars · fewest first

Leaderboard — page 1 of 10 for Gemini CLI
RankRepoScore
1discourse/discourseGitHub

A platform for community discussion. Free, open, simple.

48.1k ★
95.7
open
2apache/supersetGitHub

Apache Superset is a Data Visualization and Data Exploration Platform

75.7k ★
91.3
open
3rustdesk/rustdeskGitHub

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

131.8k ★
90.2
open
4GreptimeTeam/greptimedbGitHub

The open-source observability database. One columnar engine for metrics, logs, and traces, on object storage.

6.8k ★
86.4
open
5google-gemini/gemini-cliGitHub

An open-source AI agent that brings the power of Gemini directly into your terminal.

109.2k ★
85.3
open
6openclaw/openclawGitHub

The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

395.3k ★
84.8
open
7vercel/next.jsGitHub

The React Framework

143.8k ★
84.8
open
8astral-sh/ruffGitHub

An extremely fast Python linter and code formatter, written in Rust.

51.6k ★
84.8
open
9apache/airflowGitHub

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

47.7k ★
84.8
open
10getsentry/sentryGitHub

Developer-first error tracking and performance monitoring

45.9k ★
84.8
open
11PostHog/posthogGitHub

PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all…

41.2k ★
84.8
open
12pingcap/tidbGitHub

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

40.8k ★
84.8
open

Tracking 434 repos · last updated

Gemini CLI — Loads GEMINI.md from the global file and from the workspace and its parent directories and sends it with every prompt, per Gemini CLI's docs; one in a subdirectory loads when a tool first touches that directory. AGENTS.md is read only when listed in the context.fileName setting. Skills load from .agents/skills/.

What Gemini CLI reads in a repo

Its highest-weighted checks, and the share of leaderboard repos that pass each:

GEMINI.md is in 7 of 434 leaderboard repos.

AGENTS.md examples by language:TypeScriptPythonRustGoJavaKotlinC++JavaScriptPHPRubySwiftC#Dart

Compare with other agents →

Docs the weights cite:geminicli.com/gemini-md (new tab)geminicli.com/skills (new tab)all weights

Set up a repo for Gemini CLI

  1. Add "context": { "fileName": ["AGENTS.md", "GEMINI.md"] } to settings, or keep a GEMINI.md that imports @AGENTS.md.
  2. Check the footer's context-file count, or run /memory show.

What it reads: ~/.gemini/GEMINI.md, then GEMINI.md in the workspace directories and their parents. When a tool touches a file, that directory and its ancestors up to a trusted root (docs (new tab)). For unpaid and Google One users, Antigravity CLI replaced it on June 18, 2026 (docs (new tab)); that reads GEMINI.md and AGENTS.md in the active directory (migration (new tab)).

Setting needed: Yes. AGENTS.md loads only when named in the context.fileName setting; the docs' example is ["AGENTS.md", "CONTEXT.md", "GEMINI.md"] (docs (new tab)).

Check it loaded: The footer shows how many context files loaded; /memory show prints their combined text (docs (new tab)).

Checks:GEMINI.mdAGENTS.md / CLAUDE.mdSkills (.agents/skills)Not loading? Every agent compared →