gemini-cli
Installation
SKILL.md
What is Gemini CLI
Gemini CLI is Google's agentic coding tool for the terminal. It leverages Gemini models with up to 1M tokens of context, built-in Google Search grounding, and can read/edit files, run shell commands, and fetch web content.
When to delegate to Gemini CLI
Use Gemini CLI when you need to:
- Analyze very large codebases or files that exceed your context window
- Research external APIs, libraries, or frameworks using Google Search grounding
- Generate documentation from large amounts of source code
- Perform context engineering tasks that benefit from massive context windows
- Cross-reference multiple large files simultaneously
- Understand complex dependency trees across an entire monorepo
How to invoke Gemini CLI
Non-interactive (recommended for delegation)
Use the -p flag for non-interactive execution. The agent will run the prompt, produce output, and exit: