← all repositories
addyosmani/gemini-cli-tips

A field manual for Google's agentic terminal assistant

A curated collection of roughly thirty advanced techniques for squeezing actual utility out of Google's open-source Gemini CLI.

gemini-cli-tips
Not currently ranked — collecting fresh signals.
star history

What it does

This repository is a curated guide—not the CLI itself—documenting around thirty advanced tactics for Google’s Gemini CLI, an open-source agentic terminal assistant. It gathers advice from the tool’s creators and the broader community into a single reference aimed at power users. The focus is on moving past basic chat and toward persistent project memory, custom tooling, and reliable automation.

The interesting bit

The guide treats the CLI less like a search engine and more like a junior dev who needs onboarding: it explains how to use GEMINI.md files as hierarchical project memory, how to let the agent build its own helpers on the fly, and how to checkpoint and restore state when an agentic plan goes sideways. That framing—documenting how to manage an agent rather than just query a model—is what elevates it above a standard cheat sheet.

Key highlights

  • Hierarchical context loading via GEMINI.md files (global, project, and subdirectory levels) with /memory show and /memory refresh commands.
  • Custom slash commands, MCP server integration, and on-the-fly tool creation to extend the CLI’s capabilities without leaving the terminal.
  • Checkpointing and /restore for undoing agent actions, plus a “YOLO mode” for auto-approving tool executions when you’re feeling brave.
  • Headless/scripting mode, session save/resume, and a GitHub Action for automating repository tasks in CI.
  • Token spend tracking, telemetry insights, and a Corgi Mode Easter Egg (the essential feature).

Verdict

Grab this if you’re already using Gemini CLI and suspect you’re only scratching the surface of its agentic features. If you don’t yet have a gemini> prompt in your terminal, this is overkill—come back once you’ve crossed that threshold.

Frequently asked

What is addyosmani/gemini-cli-tips?
A curated collection of roughly thirty advanced techniques for squeezing actual utility out of Google's open-source Gemini CLI.
Is gemini-cli-tips open source?
Yes — addyosmani/gemini-cli-tips is an open-source project tracked on heatdrop.
How popular is gemini-cli-tips?
addyosmani/gemini-cli-tips has 2.4k stars on GitHub.
Where can I find gemini-cli-tips?
addyosmani/gemini-cli-tips is on GitHub at https://github.com/addyosmani/gemini-cli-tips.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.