Google · GEMINI.md and settings.json
Best Gemini CLIrules & configs — RuleSell
Gemini CLI is Google's open-source agent CLI that brings Gemini models to the terminal with file edits, shell tools, and project context. Settings live in ~/.gemini/settings.json; per-project guidance in GEMINI.md.
Top 5 Gemini CLI rules right now
Ranked by quality score — freshness, schema completeness, and review signals. Refreshed daily.
Why use Gemini CLI rules from RuleSell
- GEMINI.md project rules and settings.json snippets, quality-scored.
- Coverage for popular language profiles and Google-specific tooling (Cloud Run, GCP).
- Real GitHub authors and SPDX license.
- Copy-paste install — works the same as CLAUDE.md / AGENTS.md.
How to use Gemini CLI rules
1. Pick a Gemini CLI rule
Browse the listings below and open one that matches your stack.
2. Copy the file contents
Click "Copy" on the listing — or download the raw file from the source URL.
3. Paste into GEMINI.md at repo root, ~/.gemini/settings.json globally
Drop the rule into GEMINI.md at repo root, ~/.gemini/settings.json globally. The exact command: cp rule.GEMINI.md ./GEMINI.md
4. Restart Gemini CLI
Restart your Gemini CLI session so the new rule is loaded. Verify it appears in the active context.
cp rule.GEMINI.md ./GEMINI.mdGemini CLI rules — frequently asked
What is GEMINI.md?
GEMINI.md is the project-level context file Gemini CLI reads on session start. It's the Google CLI equivalent of CLAUDE.md or AGENTS.md.
Where are Gemini CLI global settings stored?
In ~/.gemini/settings.json. You can configure models, tools, MCP servers, and approval modes there. Project overrides go in .gemini/settings.json inside the repo.
Does Gemini CLI support MCP?
Yes — Gemini CLI added MCP support so you can reuse servers built for Claude Code or Cursor.
Is Gemini CLI free to use?
The CLI is open source. Model usage is billed by Google AI / Vertex AI at the rate you've configured.
Can I share Gemini CLI rules with my team?
Commit GEMINI.md to git. For shared MCP server config, commit .gemini/settings.json (without secrets — secrets go in env vars).