google-gemini/gemini-cli

GitHub
https://github.com/google-gemini/gemini-cli

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

Stars:
108.7k
Language:
TypeScript
Default branch:
main
Last scored:
Overall

At a glance

Rank
#105 of 401
Top 26% · #29 of 82 TypeScript repos
Checks passed
10 of 17
Full list below
Best set up for
Gemini CLI
Score 82.4
Needs most work for
Cursor
Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    AGENTS.md / CLAUDE.md
    Add an AGENTS.md covering project goals, layout, setup commands, and conventions. Aim for 800+ chars of real guidance (not boilerplate).
    +13.2 pts
  2. 2
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +3.9 pts
  3. 3
    Manageable size
    If possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.
    +3.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Gemini CLI
#12 of 401
82.4
  • ✓GEMINI.md
  • ✓README
  • ~Test suite
Claude Code
#126 of 401
79.6
  • ✗AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Reproducible dev env
Devin
#95 of 401
77.7
  • ✓Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Codex
#130 of 401
77.3
  • ✗AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Kimi Code CLI
#141 of 401
75.1
  • ✗AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
OpenHands
#71 of 401
74.8
  • ✓CI configuration
  • ✓Dependency manifest
  • ✓Reproducible dev env
Aider
#73 of 401
74.6
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ~Test suite
Pi
#142 of 401
74.4
  • ✗AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Linter / formatter config
Cursor
#125 of 401
70.0
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration

Does google-gemini/gemini-cli have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
None at the root (no AGENTS.md, CLAUDE.md, AGENT.md, .claude/CLAUDE.md or .claude/AGENTS.md)
Agent-specific files
GEMINI.md (new tab) (4,609 characters)No .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →
Get a starter AGENTS.md

From the files the checks found. Fill in the commands, then commit it at the root.

# AGENTS.md

Guidance for AI coding agents working in google-gemini/gemini-cli. An open-source AI agent that brings the power of Gemini directly into your terminal. Written mainly in TypeScript.

## Where things are

- Dependencies are declared in `package.json`.
- Test files are spread through the tree, e.g. `evals/test-helper.test.ts`.
- Lint and format rules are configured in `eslint.config.js`.
- Type checking is configured in `tsconfig.json`.
- CI is defined in `.github/workflows`; read it for the exact install, lint and test steps.
- Commit hooks are set up in `.husky`; don't skip them.
- Common tasks are targets in `Makefile`.
- Follow the conventions in `CONTRIBUTING.md`.

## Commands

<!-- Fill in the exact commands CI runs. -->
- Install: TODO
- Test: TODO
- Lint: TODO

All 17 checks · 10 passed

No .agents/skills/<name>/SKILL.md
No agent instructions file found
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
47 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
2 env artifacts (Makefile, Dockerfile)
GEMINI.md· 100% pass
Substantive GEMINI.md (4,609 characters)
License file· 100% pass
License present
No .openhands/setup.sh
Hook framework configured
README· 100% pass
README detailed (13,455 characters)
Manageable size· 50% pass
2873 files — large
Test suite· 70% pass
Test files detected (evals/test-helper.test.ts)
Type configuration· 100% pass
Type config present

How google-gemini/gemini-cli compares

vs leaderboard average
9.4 pts above
Average 66.8
vs TypeScript average
5.0 pts above
Average 71.2
Stars among TypeScript repos
#12 of 82

Missing here, and how many repos have it

  • Skills (.agents/skills) · passed by 17% of leaderboard repos, 30% of TypeScript repos
  • Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 13% of TypeScript repos

Passes checks most repos miss

  • Reproducible dev env · only 22% of repos pass it
  • GEMINI.md · only 1% of repos pass it
  • Pre-commit / git hooks · only 29% of repos pass it

One fix for the most agents: AGENTS.md / CLAUDE.md would raise the score for all 9 agents, by up to 13.3 points.

Similar repos

Same language and host as this repo, closest in overall score.

All TypeScript repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/google-gemini/gemini-cli
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/google-gemini/gemini-cli.svg)](https://agentfriendlycode.com/repo/github/google-gemini/gemini-cli)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.